Welcome to mcpconn
mcpconn is a Python library that provides a simple and efficient way to connect your applications to AI models using the Model Context Protocol (MCP). It acts as a wrapper around the mcp
library, offering a streamlined client interface for seamless integration with various AI providers and transport protocols.
Ready to dive in? Check out the Getting Started guide.
📺 Demo Video
✨ Features
- Simplified Client Interface: A high-level
mcpconn
for easy interaction with MCP servers. - Multi-provider Support: Out-of-the-box support for Anthropic and OpenAI models.
- Flexible Transports: Connect to servers using STDIO, SSE, or Streamable HTTP.
- Built-in Guardrails: Protect your application with content filtering, PII masking, and injection detection.
- Conversation Management: Easily manage conversation history, context, and persistence.
- Asynchronous by Design: Built with
asyncio
for high-performance, non-blocking I/O. - Extensible: Easily add new LLM providers, transports, or guardrails.