Python MCP client with Claude 3.5 integration for interactive chat and PostgreSQL database support
MChipper is an advanced MCP (Model Context Protocol) server designed to integrate seamlessly with various AI applications, providing a standardized interface for data access and tool execution. By adhering to the MCP protocol, MChipper ensures compatibility with multiple AI platforms such as Claude Desktop, Continue, Cursor, and more. This server facilitates real-world AI workflows where contextual data from PostgreSQL databases is crucial, offering enhanced functionality in areas like interactive chat interfaces and tool-based query processing.
MChipper MCP Server offers a robust set of features that leverage the Model Context Protocol to enhance AI application capabilities:
MChipper implements the Model Context Protocol (MCP) to ensure seamless communication between various components of an AI workflow:
To start using MChipper, follow these steps:
Clone the Repository:
git clone https://github.com/examples/mchipper.git
Create and Activate Virtual Environment:
uv venv
# On Windows:
.venv\Scripts\activate
# On Unix or MacOS:
source .venv/bin/activate
Install Dependencies:
uv add mcp anthropic python-dotenv chainlit asyncpg
# or install from requirements.txt
npm install @modelcontextprotocol/server-postgres
Create Environment Variables File:
Create a .env
file in the project root and add your Anthropic API key:
ANTHROPIC_API_KEY=your_api_key_here
MChipper's core capabilities make it particularly suitable for:
Set Up Database:
Create a PostgreSQL database named chat_history
.
Initialize Tables: Run the initialization script to set up necessary tables in the database.
python app/init_db.py
Run Chainlit Application: Start the Chainlit application to create an interactive chat interface.
chainlit run app/chainlit_app.py
MChipper is compatible with popular AI clients such as Claude Desktop, Continue, Cursor, and more:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
MChipper ensures high performance and compatibility across different AI clients, ensuring a cohesive user experience:
Here is an example of the configuration file structure:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Q: How does MChipper differ from other MCP servers? A: MChipper offers improved performance and compatibility, specifically tailored for AI application integration.
Q: Can MChipper be used with non-MCP clients? A: While primarily designed for MCP clients, some features can still be utilized independently.
Q: How does data security work with MChipper? A: Data is securely transmitted and stored using industry-standard encryption methods.
Q: Can I customize the database schema used by MChipper? A: Yes, MChipper supports custom database schemas for tailored integration needs.
Q: How do I troubleshoot common MCP server issues? A: Consult the official MCP documentation or community forums for detailed troubleshooting guides.
Contributions to MChipper are welcome and encouraged. To contribute, follow these steps:
python -m unittest discover
Explore more about the Model Context Protocol ecosystem:
By leveraging MChipper, developers can significantly streamline and enhance their AI workflows, providing a versatile platform for integrating various tools and resources.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
{
"mcpServers": {
"postgresql": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
This comprehensive documentation positions MChipper as a valuable MCP server for AI applications, emphasizing its features and integration capabilities.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods