ragflow/docs/develop/mcp/mcp_client_example.md
writinwaters 473aa28422
Docs: Restructured MCP-specific documents (#7565)
### What problem does this PR solve?


### Type of change


- [x] Documentation Update
2025-05-12 09:49:54 +08:00

494 B

sidebar_position slug
3 /mcp_client

RAGFlow MCP client example

We provide a prototype MCP client example for testing here.

:::danger IMPORTANT If your MCP server is running in host mode, include your acquired API key in your client's headers as shown below:

async with sse_client("http://localhost:9382/sse", headers={"api_key": "YOUR_KEY_HERE"}) as streams:
    # Rest of your code...

:::