選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

mcp_client_example.md 494B


sidebar_position: 3

slug: /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...

:::