home / mcp / praison ai mcp server
Provides MCP access to PraisonAI tools via HTTP, STDIO, and WebSocket transports for seamless agent-to-agent communication.
Configuration
View docs{
"mcpServers": {
"mervinpraison-praisonai": {
"url": "https://api.example.com/mcp",
"headers": {
"GROQ_API_KEY": "your-key-here",
"GOOGLE_API_KEY": "your-key-here",
"OPENAI_API_KEY": "your-key-here",
"OPENAI_BASE_URL": "http://localhost:11434/v1",
"ANTHROPIC_API_KEY": "your-key-here"
}
}
}
}You can connect to and run an MCP server to enable inter-agent communication, tool hosting, and remote command execution for PraisonAI. This server supports multiple transports (HTTP, STDIO, and WebSocket) and allows you to expose tools or interact with remote MCP endpoints in a scalable, pluggable way. Use it to coordinate agents, share capabilities, and manage sessions across distributed clients.
Set up an MCP server to expose tools or consume MCP endpoints. You can run a local STDIO server that your PraisonAI agents connect to, or point your client at a remote HTTP MCP endpoint. Use the supported transports to match your deployment needs: local development (stdio), production hosting (http), or real-time bidirectional communication (WebSocket). Ensure you have the required API keys and environment configurations if you connect to external MCP servers.
Prerequisites: you need Python installed to run PraisonAI MCP components and, optionally, Node.js if you plan to use JavaScript tooling for MCP examples.
# Python prerequisites (recommended)
python3 --version
pip3 --version
# Install PraisonAI MCP components (example for CLI/SDK usage)
pip install praisonaiagentsThe MCP server can be connected via HTTP, STDIO, or WebSocket transports. Include environment variables shown below where needed. The following configurations illustrate typical usage from the source examples.
{
"mcpServers": [
{
"type": "http",
"name": "remote_mcp",
"url": "https://api.example.com/mcp",
"args": []
},
{
"type": "stdio",
"name": "memory_mcp",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"],
"env": {"BRAVE_API_KEY": "YOUR_API_KEY"}
},
{
"type": "stdio",
"name": "brave_mcp",
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
"env": {"BRAVE_API_KEY": "YOUR_KEY"}
}
]
}When exposing tools or consuming MCP endpoints, apply origin validation, secure session handling, and, if available, token-based authentication for WebSocket and HTTP transports. Use human approvals for dangerous operations and enable guardrails where applicable.
Expose a simple memory tool via STDIO for local testing, then switch to an HTTP MCP endpoint for production use. If you combine multiple MCP servers, ensure your client respects the first HTTP option as the default transport and fall back to STDIO or WebSocket as needed.
Keep MCP server configurations in version control, and document any environment-specific keys or endpoints separately. Regularly rotate API keys and review access controls to minimize exposure in shared environments.
For quick reference, you can reuse the following MCP server definitions as a starting point in your own configuration files.
Web search tool for fast information retrieval
Web search tool with privacy-focused queries
Web search tool with advanced querying capabilities
Web search tool API integration
Web reader tool for extracting and reading content
Web scraping tool for data extraction
Web scraping tool for structured data
Knowledge source integration for Wikipedia content
Academic paper search and retrieval
News and discussion aggregator access tool
Video content search and retrieval tool
Weather data retrieval tool
Database interaction tool for PostgreSQL queries
Database interaction tool for MySQL queries
Lightweight SQL database tool
NoSQL database interaction tool
Key-value store interaction tool
Vector store interaction tool for embeddings
GitHub API integration for code and project data
Slack messaging tool integration
Discord messaging tool integration
Telegram bot tool integration
Email send/receive helper tool
Notion workspace API integration
File system tool for reading/writing files
Shell command execution tool
Python code execution tool for scripting
JSON data handling utility
CSV parsing and generation tool
Mathematical calculator tool