anthropics / anthropics/claude-ai-mcp
Claude Web MCP connector strips trailing slashes from the configured server URL
- 主要语言
- 没有语言数据
- 星标
- 471
- 派生
- 76
- PR 合并指标
- 30 天内没有已合并 PR
描述
### What happened?
The Claude Web MCP connector silently strips trailing slashes from the configured server URL, rewriting /mcp/ to /mcp. Per RFC 3986 these are different resources, so any server mounted under a slash path — the default in Starlette / FastAPI / Flask Blueprints — 404s.
### What did you expect to happen?
Use the URL exactly as pasted (don't strip trailing `/`).
### Steps to reproduce
1. Add an MCP server URL ending in `/mcp/` (with trailing slash).
2. Observe the connector normalizes it to `/mcp` (no trailing slash).
3. The server returns 404 because the resource path changed (RFC 3986).
### Area
MCP Connector (adding/managing servers)
### MCP Server (if applicable)
Custom server (Starlette, FastMCP)
### Error messages or logs
```shell
```
### Additional context
_No response_
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。