code2prompt-mcp
code2prompt-mcp
Сервер MCP, который генерирует контекстные подсказки из кодовых баз, что упрощает для помощников на базе искусственного интеллекта понимание и работу с вашими репозиториями кода.
О
code2prompt-mcp использует высокопроизводительную библиотеку Rust code2prompt-rs для анализа кодовых баз и создания структурированных сводок. Она помогает сократить разрыв между вашим кодом и языковыми моделями, извлекая соответствующий контекст в формате, оптимизированном для потребления ИИ.
Related MCP server: Code Understanding MCP Server
Установка
В этом проекте для управления зависимостями используется Rye , убедитесь, что он у вас установлен.
Чтобы установить необходимые зависимости и собрать модуль в локальной среде, выполните:
# Clone the repository
git clone https://github.com/odancona/code2prompt-mcp.git
cd code2prompt-mcp
# Install dependencies with Rye
rye buildОн установит все необходимые зависимости, указанные в файле pyproject.toml в каталоге .venv .
Использование
Запустите MCP-сервер:
rye run python code2prompt_mcp.mainЛицензия
Лицензия MIT. Подробную информацию см. в файле LICENSE.
Разработка
Для тестирования вы можете использовать MCP Inspector:
npx @modelcontextprotocol/inspector python -m code2prompt_mcp.mainThis server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
An MCP server that integrates with Discord to provide AI-powered features.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that transforms codebases into intelligent, queryable knowledge bases, enabling AI assistants to perform semantic search, explore architecture, and analyze code relationships.166-
- AlicenseCqualityDmaintenanceAn MCP server that analyzes local or remote GitHub repositories, providing intelligent code context and structure to AI coding assistants.1013MIT
- AlicenseAqualityDmaintenanceAn MCP server that helps AI agents comprehend a codebase by providing tools for navigating, searching, and understanding code structure and history.10MIT
- AlicenseNot gradedqualityDmaintenanceA self-hosted MCP server that indexes your codebase and provides AI assistants with deep context including file tree, full-text search, git history, dependencies, and stack detection, all without sending your code to third parties.6 npm1MIT