Skip to content

Commit d307c4f

Browse files
authored
Include MCP Portal configuration for clients
Added recommended MCP Portal configuration for clients.
1 parent b1fe1c9 commit d307c4f

File tree

1 file changed

+19
-0
lines changed
  • src/content/docs/cloudflare-one/applications/configure-apps/mcp-servers

1 file changed

+19
-0
lines changed

src/content/docs/cloudflare-one/applications/configure-apps/mcp-servers/mcp-portals.mdx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,25 @@ To test in Workers AI Playground:
129129

130130
Workers AI Playground will show a **Connected** status and list the available tools. You can now ask the AI model to complete a task using an available tool. Requests made to an MCP server will appear in your [portal logs](#view-portal-logs).
131131

132+
For MCP clients with server configuration files, we recommend the following configuration:
133+
134+
``` json title= "MCP Portal configuration for MCP clients"
135+
{
136+
"mcpServers": {
137+
"mcp-demo-connect": {
138+
"command": "npx",
139+
"args": [
140+
"-y",
141+
"mcp-remote@latest",
142+
"https://mcp-dry-run.kennyatx.com/mcp"
143+
]
144+
}
145+
}
146+
}
147+
```
148+
149+
It is recommended that "mcp-remote@latest" is used. Using "serverURL" may cause issues with the portal session creation and management.
150+
132151
## View portal logs
133152

134153
Portal logs allow you to monitor user activity through an MCP server portal. You can view logs on a per-portal or per-server basis.

0 commit comments

Comments
 (0)