PraisonAI MCP Server

PraisonAI MCP Server

An MCP server that exposes PraisonAI AI agents and tools for use with Claude Desktop, Cursor, VS Code, Windsurf, and other MCP clients.

Category
访问服务器

README

PraisonAI MCP Server

<p align="center"> <a href="https://github.com/MervinPraison/PraisonAI"><img src="https://static.pepy.tech/badge/praisonaiagents" alt="Downloads" /></a> <a href="https://pypi.org/project/praisonaiagents/"><img src="https://img.shields.io/pypi/v/praisonaiagents" alt="PyPI" /></a> <a href="https://github.com/MervinPraison/PraisonAI"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License" /></a> <a href="https://registry.modelcontextprotocol.io/servers/io.github.MervinPraison/praisonai"><img src="https://img.shields.io/badge/MCP-Registry-blue" alt="MCP Registry" /></a> </p>

An MCP server that exposes PraisonAI AI agents and tools for use with Claude Desktop, Cursor, VS Code, Windsurf, and other MCP clients.

Features

  • 🤖 AI Agents as Tools - Run PraisonAI agents directly from MCP
  • 🔄 Workflow Orchestration - Multi-step agent workflows
  • 🛠️ 64 Built-in Tools - Complete coverage of all PraisonAI features
  • Easy Setup - Works with uvx or pip install

Installation

# Using uvx (Recommended)
uvx praisonai-mcp

# Using pip
pip install praisonai-mcp

Available Tools (64 Total)

🤖 Agent Tools (Primary)

The core tools for running AI agents:

Tool Description
run_agent Run a PraisonAI agent with a prompt
run_research Deep research on any topic
run_auto_agents Auto-generate and run agents for a task
run_handoff Run task with agent handoff/delegation
generate_agents_yaml Generate agents.yaml configuration

🔄 Workflow Tools

Orchestrate multi-step agent workflows:

Tool Description
workflow_run Run a multi-step workflow
workflow_create Create a new workflow
workflow_from_yaml Create workflow from YAML
export_to_n8n Export workflow to n8n format

🌐 Search Tools (13 tools)

Unified web search with automatic fallback across multiple providers:

Tool Description
search_web Unified search - Auto-fallback across providers
get_search_providers List available providers and their status
Tavily
tavily_search AI-powered search (requires TAVILY_API_KEY)
tavily_extract Extract content from URLs
Exa
exa_search Semantic search (requires EXA_API_KEY)
exa_search_contents Search with full content retrieval
exa_find_similar Find similar pages to a URL
You.com
ydc_search AI search with LLM-ready snippets (requires YDC_API_KEY)
ydc_news Live news search
Free Providers
duckduckgo_search DuckDuckGo search (no API key)
wikipedia_search Wikipedia search
arxiv_search arXiv academic papers
searxng_search Self-hosted SearxNG meta search

🕷️ Crawl & Scrape Tools

Web crawling and content extraction:

Tool Description
crawl4ai_scrape Scrape webpage using Crawl4AI
crawl4ai_extract Extract structured data with Crawl4AI
scrape_page Scrape webpage and extract text
extract_links Extract all links from a webpage
web_crawl Crawl website and extract content

📦 Supporting Tools

🧠 Memory & Knowledge

Tool Description
memory_add Add to memory store
memory_search Search memories
memory_list List all memories
memory_clear Clear memories
auto_extract_memories Auto-extract memories from text
knowledge_add Add to knowledge base
knowledge_search Search knowledge base

📋 Planning & Research

Tool Description
plan_create Create a plan for a goal
plan_execute Execute a plan step by step
deep_research Deep research with iterations
analyze_repository Analyze a repository
fast_context_search Search codebase for context

💻 Code & Execution

Tool Description
run_python Execute Python code
run_shell Execute shell commands
git_commit Create git commits
code_apply_diff Apply SEARCH/REPLACE diff
code_search_replace Search and replace in file

📁 File Operations

Tool Description
read_file Read file contents
write_file Write content to file
list_directory List directory contents
read_csv Read CSV file
write_csv Write CSV file
read_json_file Read JSON file
write_json_file Write JSON file
read_yaml_file Read YAML file
write_yaml_file Write YAML file

🧮 Utilities

Tool Description
calculate Evaluate math expressions
get_current_time Get current date/time
solve_equation Solve math equations
convert_units Convert between units
calculate_statistics Calculate statistics

📈 Finance

Tool Description
get_stock_price Get current stock price
get_stock_history Get historical stock data

🖼️ Image & Query

Tool Description
analyze_image Analyze image using vision
rewrite_query Rewrite query for better results
expand_prompt Expand short prompt to detailed

✅ Task Management

Tool Description
todo_add Add task to todo list
todo_list List all tasks
todo_complete Mark task as completed

💾 Session & State

Tool Description
session_save Save current session
session_load Load a saved session
session_list List all sessions

📜 Rules & Guardrails

Tool Description
rules_list List all defined rules
rules_add Add a new rule
rules_get Get a specific rule
guardrail_validate Validate content against rules

🖥️ System & Telemetry

Tool Description
list_processes List running processes
get_system_info Get system information
track_metrics Track metrics event
get_metrics Get tracked metrics
select_model Select best model for task

🔌 MCP & Hooks

Tool Description
mcp_list_servers List MCP servers
mcp_connect Connect to MCP server
hooks_list List available hooks
docs_search Search documentation

MCP Client Configurations

Claude Desktop

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)

{
  "mcpServers": {
    "praisonai": {
      "command": "uvx",
      "args": ["praisonai-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key",
        "TAVILY_API_KEY": "your-tavily-api-key"
      }
    }
  }
}

VS Code (GitHub Copilot)

Config file: .vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "openai-key",
      "description": "OpenAI API Key",
      "password": true
    }
  ],
  "servers": {
    "praisonai": {
      "command": "uvx",
      "args": ["praisonai-mcp"],
      "env": {
        "OPENAI_API_KEY": "${input:openai-key}"
      }
    }
  }
}

Cursor

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "praisonai": {
      "command": "uvx",
      "args": ["praisonai-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
      }
    }
  }
}

Windsurf

Config file: ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "praisonai": {
      "command": "uvx",
      "args": ["praisonai-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
      }
    }
  }
}

Cline (VS Code Extension)

Open Command Palette → "Cline: MCP Servers" → Add:

{
  "mcpServers": {
    "praisonai": {
      "command": "uvx",
      "args": ["praisonai-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key"
      }
    }
  }
}

Continue

Config file: ~/.continue/config.json

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "uvx",
          "args": ["praisonai-mcp"]
        }
      }
    ]
  }
}

Zed

Config file: ~/.config/zed/settings.json

{
  "context_servers": {
    "praisonai": {
      "command": {
        "path": "uvx",
        "args": ["praisonai-mcp"]
      }
    }
  }
}

Claude Code (CLI)

claude mcp add praisonai -- uvx praisonai-mcp

Environment Variables

Variable Description Required For
OPENAI_API_KEY OpenAI API key Agent tools
TAVILY_API_KEY Tavily search API key tavily_search, tavily_extract
EXA_API_KEY Exa search API key exa_search, exa_search_contents, exa_find_similar
YDC_API_KEY You.com API key ydc_search, ydc_news
SEARXNG_URL SearxNG instance URL searxng_search (optional)

Running as SSE Server

python -m praisonai_mcp --sse --port 8080

Links

License

MIT License

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选