Codeglide Mcpgen

v1.0.0Developer Toolsstable

Generation of Secure MCP (Model Context Protocol) Servers from API source code at Scale

codeglide-mcpgenmcpai-integration
Share:
76
Stars
0
Downloads
0
Weekly
0/5

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

Generate secure MCP servers from API source code at scale.
CodeGlide

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedJan 23, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx codeglide-mcpgen

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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.)
1

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.yml
2

Configure 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'
3

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.

4

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 start
5

Connect 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.

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.

Quick Config Preview

{ "mcpServers": { "codeglide-mcpgen": { "command": "npx", "args": ["-y", "codeglide-mcpgen"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides