Codeglide Mcpgen
Generation of Secure MCP (Model Context Protocol) Servers from API source code at Scale
What is Codeglide Mcpgen?
Codeglide Mcpgen is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to generation of secure mcp (model context protocol) servers from api source code at scale
Generation of Secure MCP (Model Context Protocol) Servers from API source code at Scale
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Generation of Secure MCP (Model Context Protocol) Servers fr
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx codeglide-mcpgenConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Codeglide Mcpgen
Codeglide MCPgen is a GitHub Action that automatically generates secure Model Context Protocol (MCP) servers from your existing API source code. By pointing it at an API codebase, the action produces a Swagger/OpenAPI specification and then scaffolds a fully functional MCP server, enabling AI assistants to call your API as an MCP tool without hand-coding any server glue. It is designed for teams that want to expose internal or third-party APIs to AI agents at scale with minimal manual effort.
Prerequisites
- A GitHub repository containing API source code
- GitHub Actions enabled on the repository
- Basic understanding of GitHub Actions workflow YAML syntax
- An MCP-compatible client to consume the generated server (Claude Desktop, Cursor, etc.)
Create a GitHub Actions workflow file
In your repository, create a new workflow file under .github/workflows/ that triggers on push or pull request. This workflow will invoke the CodeGlide MCPgen action to generate the MCP server.
mkdir -p .github/workflows
touch .github/workflows/generate-mcp.ymlConfigure the workflow to use CodeGlide MCPgen
Add the codeglide-mcpgen action step to your workflow. Set input_directory to the location of your API source code and configure whether to create a pull request with the generated output.
name: Generate MCP Server
on:
push:
branches: [main]
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: CodeGlide/[email protected]
with:
input_directory: './src/api'
create_pr: 'true'
create_branch_and_commit: 'true'Review the generated artifact
After the action completes, it produces an artifact named generated-mcp containing the scaffolded MCP server. Download it from the GitHub Actions run summary or review the auto-created pull request.
Deploy or integrate the generated MCP server
Take the generated MCP server code from the artifact or PR, install its dependencies, and run it locally or deploy it. Then point your MCP client at it using the generated command/args.
cd generated-mcp
npm install
npm startConnect your MCP client to the generated server
Add the generated server to your claude_desktop_config.json or other MCP client config. The exact command will depend on the generated server's entry point.
{
"mcpServers": {
"my-api-mcp": {
"command": "node",
"args": ["/path/to/generated-mcp/index.js"]
}
}
}Codeglide Mcpgen Examples
Client configuration
Example MCP client configuration for a generated server produced by CodeGlide MCPgen. The actual command and args will match what the generated server's README specifies.
{
"mcpServers": {
"my-api-mcp": {
"command": "node",
"args": ["/path/to/generated-mcp/index.js"]
}
}
}Prompts to try
After the generated server is running, example prompts depend on your API's endpoints, but typically follow these patterns.
- "Call the /users endpoint and list active users."
- "Use the generated API tool to create a new record with these fields."
- "What endpoints does the generated MCP server expose?"
- "Fetch the status of order ID 12345 from the API."Troubleshooting Codeglide Mcpgen
GitHub Action fails with 'input_directory not found'
Ensure the input_directory path is relative to the repository root and that the directory contains valid API source files. Run actions/checkout before the MCPgen step so the workspace is populated.
Generated MCP server does not expose expected tools
MCPgen derives tools from the Swagger/OpenAPI specification it generates. If endpoints are missing, check that your source code has clear route definitions and proper annotations or JSDoc comments that can be parsed into an OpenAPI spec.
No artifact produced after the action run
Check the GitHub Actions run log for errors in the MCPgen step. Ensure create_pr or create_branch_and_commit is set to true, or add an explicit actions/upload-artifact step to preserve the generated-mcp output.
Frequently Asked Questions about Codeglide Mcpgen
What is Codeglide Mcpgen?
Codeglide Mcpgen is a Model Context Protocol (MCP) server that generation of secure mcp (model context protocol) servers from api source code at scale It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Codeglide Mcpgen?
Follow the installation instructions on the Codeglide Mcpgen GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Codeglide Mcpgen?
Codeglide Mcpgen works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Codeglide Mcpgen free to use?
Yes, Codeglide Mcpgen is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Codeglide Mcpgen Alternatives — Similar Developer Tools Servers
Looking for alternatives to Codeglide Mcpgen? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Codeglide Mcpgen in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Codeglide Mcpgen?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.