mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-02 22:02:13 +08:00
docs: add mcp_integrations.md
This commit is contained in:
53
docs/mcp_integrations.md
Normal file
53
docs/mcp_integrations.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# MCP Integrations
|
||||
|
||||
## APIs
|
||||
|
||||
### Get Information of MCP Server
|
||||
|
||||
**POST /api/mcp/server/metadata**
|
||||
|
||||
For stdio type:
|
||||
```json
|
||||
{
|
||||
"type": "stdio",
|
||||
"command": "npx",
|
||||
"args": ["@agentdeskai/browser-tools-mcp@1.2.0"]
|
||||
"env": {
|
||||
"MCP_SERVER_ID": "mcp-github-trending"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
For SSE type:
|
||||
```json
|
||||
{
|
||||
"type": "sse",
|
||||
"url": "http://localhost:3000/sse",
|
||||
"env": {
|
||||
"API_KEY": "value"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Chat Stream
|
||||
|
||||
**POST /api/chat/stream**
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"mcp_settings": {
|
||||
"servers": {
|
||||
"mcp-github-trending": {
|
||||
"command": "uvx",
|
||||
"args": ["mcp-github-trending"],
|
||||
"env": {
|
||||
"MCP_SERVER_ID": "mcp-github-trending"
|
||||
},
|
||||
"enabled_tools": ["get_github_trending_repositories"],
|
||||
"add_to_agents": ["researcher"]
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user