Skip to content

Commit bdca684

Browse files
authored
[codex] Add "Add to Cursor" button to MCP docs (#1205)
* add Add to Cursor button to MCP docs * refine Cursor MCP docs tab
1 parent f3abcf8 commit bdca684

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

content/tutorials/build-with-ai/alchemy-mcp-server.mdx

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@ The Alchemy MCP Server connects your AI tools to blockchain data through the [Mo
1111

1212
The server runs at `https://mcp.alchemy.com/mcp` and authenticates via OAuth — just sign in with your Alchemy account when prompted. No API key or local install required.
1313

14+
<style>{`
15+
.mcp-client-tabs [role="tablist"] {
16+
display: flex;
17+
width: 100%;
18+
}
19+
20+
.mcp-client-tabs [role="tablist"] > [role="tab"] {
21+
flex: 1 1 0;
22+
display: flex;
23+
align-items: center;
24+
justify-content: center;
25+
text-align: center;
26+
}
27+
`}</style>
28+
29+
<div className="mcp-client-tabs">
1430
<Tabs>
1531
<Tab title="Claude Code">
1632

@@ -46,13 +62,21 @@ codex mcp list
4662
```
4763

4864
</Tab>
49-
<Tab title="Cursor / Cline / Windsurf">
65+
<Tab title="Cursor">
66+
67+
<div className="mb-4">
68+
<a
69+
href="cursor://anysphere.cursor-deeplink/mcp/install?name=Alchemy%20MCP&config=eyJ1cmwiOiJodHRwczovL21jcC5hbGNoZW15LmNvbS9tY3AifQ%3D%3D"
70+
className="flex h-10 w-fit items-center justify-center overflow-hidden rounded-lg bg-blue-600 px-7 py-1.5 text-sm font-medium tracking-wide whitespace-nowrap text-white no-underline"
71+
style={{ color: "#fff" }}
72+
>
73+
Add to Cursor
74+
</a>
75+
</div>
5076

5177
Add the following JSON to your MCP config file:
5278

5379
* **Cursor:** `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project-level)
54-
* **Cline:** Open `Cline: MCP Servers` from the VS Code command palette
55-
* **Windsurf:** `~/.codeium/windsurf/mcp_config.json` (macOS) or `%USERPROFILE%\.codeium\windsurf\mcp_config.json` (Windows)
5680

5781
```json
5882
{
@@ -103,6 +127,7 @@ Add to `.vscode/mcp.json` in your project:
103127

104128
</Tab>
105129
</Tabs>
130+
</div>
106131

107132
For any other MCP-compatible client, point it at `https://mcp.alchemy.com/mcp` using Streamable HTTP transport. The server supports OAuth 2.1 with PKCE — your client will handle the authorization flow automatically.
108133

0 commit comments

Comments
 (0)