Skip to content

Commit 4f512f0

Browse files
authored
docs(mcp): fix Cursor MCP server configuration (#677)
* docs(mcp): fix Cursor MCP config to use mcp-remote The url-only format doesn't properly trigger the OAuth flow in Cursor. The correct format uses npx mcp-remote with command and args, which properly handles the HTTP transport and OAuth authentication. * docs(mcp): add Cursor deeplink button for one-click install Prioritize the one-click deeplink installer over manual config editing to improve UX. Users can now click a button to install the TanStack MCP server in Cursor, with manual config available as a fallback option.
1 parent 1889db3 commit 4f512f0

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

docs/mcp/connecting.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,18 +88,28 @@ claude mcp add --transport http tanstack https://tanstack.com/api/mcp --header "
8888

8989
## Cursor
9090

91-
Add to your Cursor MCP configuration:
91+
Click to add the TanStack MCP server to Cursor:
92+
93+
[![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en-US/install-mcp?name=tanstack&config=eyJjb21tYW5kIjoibnB4IG1jcC1yZW1vdGUgaHR0cHM6Ly90YW5zdGFjay5jb20vYXBpL21jcCJ9)
94+
95+
On first use, a browser window will open to authorize access.
96+
97+
<details>
98+
<summary>Or add manually to your config</summary>
9299

93100
```json
94101
{
95102
"mcpServers": {
96103
"tanstack": {
97-
"url": "https://tanstack.com/api/mcp"
104+
"command": "npx",
105+
"args": ["mcp-remote", "https://tanstack.com/api/mcp"]
98106
}
99107
}
100108
}
101109
```
102110

111+
</details>
112+
103113
<details>
104114
<summary>Using an API key instead</summary>
105115

0 commit comments

Comments
 (0)