Back to Home
arvindand icon

mcp-scaffold

Verified Safe

by arvindand

Overview

Generates AI-ready tools from Spring Data JPA applications for AI assistants using the Model Context Protocol.

Installation

Run Command
./mvnw -pl mcp-scaffold-examples/petclinic-mcp spring-boot:run

Security Notes

The server's core function is build-time code generation using JavaParser and JavaPoet, which is generally safe as it doesn't involve runtime dynamic code execution. The generated tools are standard Spring components acting as wrappers for existing business logic. No direct 'eval' or malicious patterns were found. The example uses default H2 in-memory database credentials (sa, empty password) which is acceptable for development/examples but should not be used in production. Network exposure is typically localhost by default, managed by Spring AI's MCP server. The main security consideration would be prompt injection at the AI model layer, which is an inherent risk of AI tool usage, not a specific vulnerability in this server's code.

Similar Servers

Stats

Interest Score55
Security Score9
Cost ClassMedium
Avg Tokens100
Stars1
Forks0
Last Update2025-11-29

Tags

Spring AIMCPCode GenerationJPAAI Tools