mcpgen
Verified Safeby getprobo
Overview
A code generator that builds type-safe Model Context Protocol (MCP) servers in Go from JSON Schema definitions of tools, resources, and prompts.
Installation
go run examples/demo/main.goSecurity Notes
The `mcpgen` tool itself is a code generator, primarily performing schema parsing (YAML/JSON) and Go code templating. It leverages standard Go libraries for file I/O and code formatting, with no direct execution of arbitrary external code or `eval`-like functions found in its core logic. The generated server code relies on the `modelcontextprotocol/go-sdk` and user-implemented handler logic, which would require separate security audits for runtime safety. As a generator tool, it is designed with type safety in mind, reducing common runtime errors for developers.
Similar Servers
Unity-MCP
Integrates AI Language Models with the Unity Editor and runtime to automate game development tasks, generate code, debug, and enable AI-driven game mechanics.
dev-kit-gh-mcp-server
A GitHub Model Context Protocol (MCP) server designed for automation, bots, and AI agents to perform focused repository operations.
mcp-mineru
Implements or interacts with the Minecraft Protocol, likely for building custom Minecraft servers or client utilities.
general-mcp-server
This server acts as a Multi-Capability Protocol (MCP) server, integrating custom tools and orchestrating their use with an AI assistant.