Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • sourcesage
  • Image Generator MCP Server
  • Image Generator MCP Server
  • SQL Query MCP Server
  • DeepSource MCP Server
Back to MCP Servers
code2prompt-mcp

code2prompt-mcp

Public
ODAncona/code2prompt-mcp

Generates contextual prompts from codebases using high-performance analysis to provide structured summaries optimized for AI assistants under the Model Context Protocol.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with code2prompt-mcp

MCP Server

Unlock the full potential of code2prompt-mcp through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

code2prompt-mcp

An MCP server that generates contextual prompts from codebases, making it easier for AI assistants to understand and work with your code repositories.

About

code2prompt-mcp leverages the high-performance code2prompt-rs Rust library to analyze codebases and produce structured summaries. It helps bridge the gap between your code and language models by extracting relevant context in a format that's optimized for AI consumption.

Installation

This project uses Rye for dependency management, make sure you have it installed.

To install the necessary dependencies, and build the module in the local environment, run:

# Clone the repository git clone https://github.com/odancona/code2prompt-mcp.git cd code2prompt-mcp # Install dependencies with Rye rye build

It will install all the required dependencies specified in the pyproject.toml file in the .venv directory.

Usage

Run the MCP server:

rye run python code2prompt_mcp.main

License

MIT License - See LICENSE file for details.

Development

For testing, you can use the MCP Inspector:

npx @modelcontextprotocol/inspector python -m code2prompt_mcp.main
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • sourcesage
    sourcesage

    Efficiently memorize and dynamically update codebase logic, style, and standards across multiple lan...

    Added May 30, 2025
  • Image Generator MCP Server
    Image Generator MCP Server

    Generates images from text prompts using OpenAI's DALL·E 3 model via Model Context Protocol, enablin...

    1 tools
    Added May 30, 2025
  • Image Generator MCP Server
    Image Generator MCP Server

    Generates and saves AI-created images using Replicate's Stable Diffusion model with customizable pro...

    3 tools
    Added May 30, 2025
  • SQL Query MCP Server
    SQL Query MCP Server

    Enables natural language querying of PostgreSQL databases by translating prompts into SQL via LLM in...

    Added May 30, 2025
  • DeepSource MCP Server
    DeepSource MCP Server

    Integrates AI assistants with code quality analysis by providing access to metrics, issues, security...

    9 tools
    Added May 30, 2025