MCP Agent
@Nhahan
关于 MCP Agent
MCP Agent is optimized using the ReWOO pattern, enabling even LLMs with fewer parameters to efficiently utilize MCP Server with minimal token consumption.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-agent-nhahan": {
"command": "python",
"args": [
"main.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MCP Agent?
MCP Agent is a LangGraph agent based on the ReWOO (Reasoning WithOut Observation) pattern that reduces prompt complexity for small LLMs and integrates with the Model Context Protocol (MCP) server for efficient tool execution.
How to use MCP Agent?
Install dependencies, set environment variables as shown in .env.example, configure MCP servers in mcp.json, then run python main.py. The agent executes the ReWOO workflow through a series of LangGraph nodes.
Key features of MCP Agent
- Implements the ReWOO pattern to minimize prompt complexity, especially for small LLMs.
- Filters available tools to those most relevant for the current query.
- Validates and automatically corrects execution plans on errors.
- Manages evidence in a dictionary, referencing previous results with placeholders.
- Orchestrates nine specialized LangGraph nodes for a structured workflow.
- Designed for efficient interaction with any MCP-compatible server.
Use cases of MCP Agent
- Automate multi-step reasoning tasks via MCP server tools.
- Perform complex tool calls using small or resource-constrained language models.
- Reduce token usage and prompt overloading compared to the ReAct pattern.
- Validate tool plans before execution to catch errors early.
FAQ from MCP Agent
—
AI 与智能体 分类下的更多 MCP 服务器
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
Perplexity Ask MCP Server
ppl-aiThe official MCP server implementation for the Perplexity API Platform
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
评论