codegen-sh

Codegen MCP Server

Community codegen-sh
Updated

MCP server implementation adding tools for the Codegen SDK

Codegen MCP Server

An MCP server implementation that integrates the codegen sdk.

DocumentationLicense

This example demonstrates how to run a Model Control Protocol (MCP) server that integrates with Codegen. The server provides:

  1. A standardized interface for model inference
  2. Integration with Codegen's core functionality, parsing codebases and executing codemods
  3. Support for various LLM providers through the MCP protocol

Quick Start

Prerequisites

Direct Execution

  1. No installation is necessary, with the following command. Run this command directly or add it your .json mcp config file.
 uvx --from 'git+https://github.com/codegen-sh/codegen-sdk.git#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server' codegen-mcp-server

Example MCP Config

Here is an example mcp config that can be used with Cline or Claude desktop to integrate this MCP server

{
  "mcpServers": {
    "codegen-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "git+https://github.com/codegen-sh/codegen-sdk.git#egg=codegen-mcp-server&subdirectory=codegen-examples/examples/codegen-mcp-server",
        "codegen-mcp-server"
      ],
      "disabled": false,
      "autoApprove": []
    }
  }
}

MCP Tools:

  • parse_codebase: Parses a codebase located at the provided path.
  • check_parse_status: Provides the current parsing status for the provided codebase.
  • execute_codemod: Executes a codemod script on a parsed codebase. This is where the codegen sdk leveraged to run simple or sophisticated codemods on the codebase.

MCP Server ยท Populars

MCP Server ยท New

    uarlouski

    ๐Ÿš€ TestRail MCP Server

    AI-native MCP server connecting Claude, Cursor, Windsurf, and other AI assistants to TestRail โ€” manage test cases, runs, and results through natural-language conversation, with typed schemas built for LLMs.

    Community uarlouski
    metabase

    Metabase MCP Server

    The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

    Community metabase
    mindsdb

    USE CASES

    Platform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.

    Community mindsdb
    reflex-search

    Reflex

    Reflex - The instant, code-aware local search engine.

    Community reflex-search
    Licinexus

    @licinexusbr/mcp

    MCP server for Brazilian public procurement data (PNCP + Receita Federal). Maintained by Licinexus.

    Community Licinexus