O
ODAncona/code2prompt-mcp
Turn a codebase into a structured summary for a model
View on GitHub ↗Link checked 2026-11-12 · HTTP 200 · opens the vendor's own site
Install & config
Client config (built from the install command this repo gives)
{
"mcpServers": {
"odancona-code2prompt-mcp": {
"command": "npx",
"args": ["@modelcontextprotocol/inspector"]
}
}
}Parsed from the README we fetched on 2026-11-06; we have not executed it.
command/args come from the install command the repository states. When it is ambiguous, the project README wins.
VS Code (.vscode/mcp.json - the key is servers)
{
"servers": {
"odancona-code2prompt-mcp": {
"command": "npx",
"args": ["@modelcontextprotocol/inspector"]
}
}
}Same server, but VS Code keeps it under <code>servers</code>.
Claude Code (command line)
claude mcp add --transport stdio odancona-code2prompt-mcp -- npx @modelcontextprotocol/inspector
Claude Code does not read a config file; add the server with this command.
Key names differ by client: Clients & CLI
- Source
- collected from the abordage/awesome-mcp list · type: MCP server
- Harvest history
- first seen 2026-11-05 · last seen 2026-11-14 · seen 10× · listed by 10 sources
- Score
- score 1,003 · 10 sources · mcp
- Install
npx @modelcontextprotocol/inspector
FAQ (answers come from our records)
How do I install it?
The repository provides this install command:
npx @modelcontextprotocol/inspector. It comes from the repository itself; we cannot guarantee it runs as-is in your client.Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
first catalogued 2026-11-05;last seen 2026-11-14。There is no official certification or quality rating here — we record sources and dates only.
# code2prompt-mcp
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
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:
bash
# 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:
bash
rye run python code2promptmcp.main
## License
MIT License - See LICENSE file for details.
## Development
For testing, you can use the MCP Inspector:
bash
npx @modelcontextprotocol/inspector python -m code2promptmcp.main
## 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:
bash
# 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:
bash
rye run python code2promptmcp.main
## License
MIT License - See LICENSE file for details.
## Development
For testing, you can use the MCP Inspector:
bash
npx @modelcontextprotocol/inspector python -m code2promptmcp.main
Listed badge (optional)
Copy this line into the README if you want the listing mark. Optional, and it does not affect being listed.
[](https://anclum.com/en/s/odancona-code2prompt-mcp/)
- Source
- awesome · https://github.com/ODAncona/code2prompt-mcp
- Browse by field
- MCP servers
- Listed by
- 10 independent sources
- added
- today
More like this
Filed under
Every tag opens the full list for that filter. Counts are the live catalogue figures.