Cursor
~/.cursor/mcp.json 或项目 .cursor/mcp.json
只写 url 和 headers,不要写 type。写成 streamable-http 会被 Cursor 忽略整台服务器。
{
"mcpServers": {
"geo": {
"url": "<MCP 地址>",
"headers": {
"Authorization": "Bearer <令牌>"
}
}
}
}{
"mcpServers": {
"geo": {
"url": "<MCP 地址>",
"headers": {
"Authorization": "Bearer ${env:GEO_MCP_TOKEN}"
}
}
}
}