Develop a powerful MCP-based development agent with memory management GitHub integration and AI coding assistance
MCE Dev Agent is an advanced development agent built on top of the Model Context Protocol (MCP). This powerful tool integrates features such as memory management, documentation search, Git/GitHub integration, code analysis, and more. It can operate both as a command-line interface (CLI) tool and as a Server-Sent Events (SSE) server, making it a versatile choice for developers looking to streamline their workflow.
MCE Dev Agent’s memory system uses ChromaDB to store and retrieve information via embeddings. This powerful feature allows users to efficiently manage and query stored data, providing context-aware responses based on historical interactions. The memory tool is configured within the setup_parsers.py
script, enabling seamless integration with various data sources.
By leveraging the documentation search functionality, developers can quickly find relevant information across multiple files. This feature enhances productivity by reducing the time spent searching for specific details and facilitating knowledge management within projects.
Code Analysis: MCE Dev Agent supports static code analysis using tree-sitter, which is capable of analyzing code in languages like Python, JavaScript, and TypeScript. It extracts functions, methods, classes, and imports, providing a rich code structure for further processing.
Git Integration: The agent offers extensive Git/GitHub integration capabilities, such as querying commit history, issues, pull requests, projects, and code using the FastMCP
and PyGithub
libraries. It can be accessed via multiple commands, making it easy to integrate these functionalities into existing development workflows.
The AI assistant feature provides automatic issue summarization using GPT (specifically GPT-4 or GPT-3.5). The CLI interface allows for interactive command-line operations, enabling users to easily access and utilize the various features of the agent.
MCE Dev Agent is built on top of the Model Context Protocol (MCP), which serves as a universal adapter for AI applications. This protocol facilitates the integration of different AI models with specific data sources and tools through standardized communication channels. The MCP client compatibility matrix lists supported clients, ensuring seamless interoperability.
graph TB
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCE Dev Agent Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph LR;
subgraph "MCE Dev Agent"
U[User Request]
T[Tree-Sitter Parser]
C[chromaDB]
E[Embeddings]
R[Response]
A --> T
T --> C
C --> E
E --> R
R --> U
end
subgraph "MCP Client"
I[Interaction Log]
M[Metadata]
K[Key Parameters (e.g., temperature, max_tokens)]
J[Final Result]
I --> M
K --> J
J --> U
end
T --> R
U --> A
MCE Dev Agent can be installed by following these steps:
Clone the repository:
git clone [repository-url]
cd mcp-dev-agent
Install dependencies using pip:
pip install -r requirements.txt
Configure environment variables by copying and editing .env.example
to .env
:
cp .env.example .env
# Edit .env with your API keys (GITHUB_TOKEN, OPENAI_API_KEY)
Set up code parsers using the following command:
python setup_parsers.py
Developers can use MCE Dev Agent to review code changes more efficiently. By integrating with Git, it provides detailed commit histories, issue tracking, and pull request management directly from the CLI interface.
With its sophisticated documentation search feature, developers can quickly generate up-to-date manuals or other technical documents. The integration of GPT for automatic summarization ensures that critical information is always captured accurately.
MCE Dev Agent supports integration with various MCP clients such as Claude Desktop, Continue, and Cursor. The following table highlights the compatibility matrix:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
MCE Dev Agent is designed to work seamlessly with a variety of programming languages and development environments. The performance and compatibility matrix below provides an overview of supported clients, tools, and features:
To further configure MCE Dev Agent for optimal performance and security, developers can adjust several parameters within the .env
file:
export ANTHROPIC_API_KEY="your-anthropic-api-key"
export OPENAI_API_KEY="your-openai-api-key"
Additionally, you can customize settings in the .agent.json
configuration file to modify the behavior of the AI models used.
How does MCE Dev Agent ensure data security?
Are there limits on the number of API requests per month?
Can I customize the memory storage duration beyond what is provided by default?
setup_parsers.py
script to suit your needs.How do I handle version updates for MCE Dev Agent?
Is there a community forum or chat support available?
Contributing to MCE Dev Agent involves several steps:
git clone [your-fork-url]
To stay updated with the latest developments in the MCP ecosystem, visit the official documentation and engage with the community via various platforms such as GitHub discussions and Slack channels.
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
By leveraging MCE Dev Agent as an MCP server, developers can significantly enhance their AI application integration process, making workflows more efficient and productive.
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication
Python MCP client for testing servers avoid message limits and customize with API key
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
Discover easy deployment and management of MCP servers with Glutamate platform for Windows Linux Mac
Explore community contributions to MCP including clients, servers, and projects for seamless integration
Learn how to use MCProto Ruby gem to create and chain MCP servers for custom solutions