MCP-CODEGEN
by tyranosurasmax
Overview
Generates type-safe TypeScript wrappers for MCP, REST, and GraphQL APIs to enable AI agents to interact with external services with 98% token reduction.
Installation
node dist/cli.js quickstartEnvironment Variables
- GITHUB_TOKEN
- STRIPE_API_KEY
- SHOPIFY_TOKEN
- SHOPIFY_ACCESS_TOKEN
- BRAVE_API_KEY
Security Notes
The MCPAdapter and RawMCPClient components use Node.js `child_process.spawn` to execute commands and arguments defined in configuration files (e.g., `command: 'npx'`, `args: [...]`). If an attacker can inject or modify a configuration file, they could execute arbitrary code on the host system. The project explicitly states, 'No sandboxing: Generated code runs with full privileges' and lists sandboxing as a planned feature, indicating a known critical risk. While authentication for external APIs uses environment variables, the ability to run arbitrary child processes from configuration is a significant vulnerability for an AI agent tool.
Similar Servers
FerrumMCP
A browser automation server for AI assistants, enabling interaction with web pages through the Model Context Protocol.
mcp
This MCP server assists developers by identifying inefficient or outdated npm packages in install commands and source files, providing migration documentation.
dev-kit-gh-mcp-server
A GitHub Model Context Protocol (MCP) server designed for automation, bots, and AI agents to perform focused repository operations.
felix
Real-time conversational AI voice assistant with local processing, autonomous tool execution, and PWA support.