MCPAgentAI 🚀
Python SDK designed to simplify interactions with MCP (Model Context Protocol) servers. It provides an easy-to-use interface for connecting to MCP servers, reading resources, and calling tools
Overview
MCPAgentAI is a Python SDK designed to simplify interactions with Model Context Protocol (MCP) servers, providing an easy-to-use interface for connecting to MCP servers, reading resources, and calling tools.
To use MCPAgentAI, install it via PyPI with pip install mcpagentai, and then run it locally or in a Docker container. You can configure it to integrate with various tools like Twitter and ElizaOS.
- Standardized Tool Wrapping: Simplifies the integration of diverse tools using the MCP protocol. - Flexible Use Cases: Easily add or remove tools based on requirements. - Pre-built Tools: Includes tools for Twitter management, cryptocurrency prices, weather information, and more.
- Automating social media interactions on Twitter.
- Fetching real-time cryptocurrency prices.
- Integrating with ElizaOS for enhanced automation capabilities.
Add to your AI client
Use these steps to connect MCPAgentAI 🚀 in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcpagentai-mcpagents-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpagentai-mcpagents-ai"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcpagentai-mcpagents-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpagentai-mcpagents-ai"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcpagentai-mcpagents-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpagentai-mcpagents-ai"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcpagentai-mcpagents-ai": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpagentai-mcpagents-ai"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcpagentai-mcpagents-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpagentai-mcpagents-ai"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcpagentai-mcpagents-ai": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcpagentai-mcpagents-ai"
]
}
}
}FAQ
**What is MCP?**
MCP stands for Model Context Protocol, a standard for context sharing across AI models.
**Is MCPAgentAI free to use?**
Yes! MCPAgentAI is open-source and free to use.
**Can I run MCPAgentAI in Docker?**
Yes! MCPAgentAI can be easily run in a Docker container.