The Codegen Project - MCP Server
This is a Model Context Protocol (MCP) server for The Codegen Project.
Available Tools
Configuration Tools
- create_config - Create a new codegen configuration file
- add_generator - Generate configuration for a single generator
- list_generators - List available generators and their options
- validate_config - Validate a configuration object
Integration Tools
- get_usage_example - Get code examples for generated code
- get_imports - Generate import statements
Resources
Documentation from The Codegen Project is available as MCP resources:
codegen://docs- List all documentationcodegen://docs/configurations- Configuration guidecodegen://docs/generators/*- Generator documentationcodegen://docs/protocols/*- Protocol documentationcodegen://docs/inputs/*- Input type documentation
Connecting
Cursor
Add to your .cursor/mcp.json:
{
"mcpServers": {
"codegen": {
"url": "https://YOUR_VERCEL_URL/api/mcp"
}
}
}Claude Code
Add to your ~/.claude/mcp.json:
{
"mcpServers": {
"codegen": {
"url": "https://YOUR_VERCEL_URL/api/mcp"
}
}
}