Home / A股数据 API (A-Share Data API) MCP / Setup guides / Cursor
How to add the A股数据 API (A-Share Data API) MCP server to Cursor
Server URL: https://api.ashareapi.com/mcp
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Works 5 of 5 tasks passed, tested Oct 20, 2026 with MCP TypeScript SDK (reference client).
Cursor setup
File: ~/.cursor/mcp.json (or .cursor/mcp.json in a project)
{
"mcpServers": {
"com-ashareapi-ashare-data-api": {
"url": "https://api.ashareapi.com/mcp"
}
}
}- Save the file. The server shows a green dot in Cursor Settings, then MCP.
We ran the hands-on test in a reference client, not in Cursor. This config follows Cursor's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Same server, other clients
- A股数据 API (A-Share Data API) MCP in Claude
- A股数据 API (A-Share Data API) MCP in Claude Code
- A股数据 API (A-Share Data API) MCP in VS Code
- A股数据 API (A-Share Data API) MCP in ChatGPT
Full A股数据 API (A-Share Data API) test report | Compare all tested connectors | Connector Weather