11import { Tabs , TabsList , TabsTrigger , TabsContent } from " @/components/ui/tabs" ;
2+ import { Button } from " @/components/ui/button" ;
3+ import { ArrowDownIcon } from " lucide-react" ;
4+ import Link from " next/link" ;
25
36# MCP server
47
@@ -29,13 +32,24 @@ You can also use the MCP server on your own LLM client, like cursor, claude code
2932
3033<TabsContent value = " cursor" >
3134
32- Add the following to your ` .cursor/mcp.json ` file:
35+ <Button
36+ asChild
37+ className = " flex items-center gap-3 bg-card mb-4 justify-start w-fit shadow-md hover:shadow-lg transition-shadow border-2"
38+ variant = " outline"
39+ >
40+ <Link href = " cursor://anysphere.cursor-deeplink/mcp/install?name=thirdweb-api&config=eyJ1cmwiOiJodHRwczovL2FwaS50aGlyZHdlYi5jb20vbWNwP3NlY3JldEtleT1ZT1VSX1NFQ1JFVF9LRVlfSEVSRSJ9" className = " flex items-center gap-3" >
41+ <ArrowDownIcon className = " size-4 flex-shrink-0" />
42+ <span >Install into Cursor</span >
43+ </Link >
44+ </Button >
45+
46+ Add the following to your ` .cursor/mcp.json ` file (replace ` YOUR_SECRET_KEY_HERE ` with your thirdweb secret key):
3347
3448``` json
3549{
3650 "mcpServers" : {
3751 "thirdweb-api" : {
38- "url" : " https://api.thirdweb.com/mcp?secretKey=<your-project-secret-key> " ,
52+ "url" : " https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE "
3953 }
4054 }
4155}
@@ -51,7 +65,7 @@ Add the following to your `~/.codeium/windsurf/mcp_config.json` file:
5165{
5266 "mcpServers" : {
5367 "thirdweb-api" : {
54- "url" : " https://api.thirdweb.com/mcp?secretKey=<your-project-secret-key> " ,
68+ "url" : " https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE "
5569 }
5670 }
5771}
@@ -61,13 +75,24 @@ Add the following to your `~/.codeium/windsurf/mcp_config.json` file:
6175
6276<TabsContent value = " vscode" >
6377
64- Add the following to your VS Code ` .vscode/mcp.json ` file:
78+ <Button
79+ asChild
80+ className = " flex items-center gap-3 bg-card mb-4 justify-start w-fit shadow-md hover:shadow-lg transition-shadow border-2"
81+ variant = " outline"
82+ >
83+ <Link href = " https://vscode.dev/redirect/mcp/install?name=thirdweb-api&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.thirdweb.com%2Fmcp%22%2C%22secret%22%3A%22YOUR_SECRET%22%7D" className = " flex items-center gap-3" target = " _blank" rel = " noopener noreferrer" >
84+ <ArrowDownIcon className = " size-4 flex-shrink-0" />
85+ <span >Install into VS Code</span >
86+ </Link >
87+ </Button >
88+
89+ Add the following to your VS Code ` .vscode/mcp.json ` file (replace ` YOUR_SECRET_KEY_HERE ` with your thirdweb secret key):
6590
6691``` json
6792{
6893 "mcp.servers" : {
6994 "thirdweb-api" : {
70- "url" : " https://api.thirdweb.com/mcp?secretKey=<your-project-secret-key> " ,
95+ "url" : " https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE "
7196 }
7297 }
7398}
@@ -77,10 +102,10 @@ Add the following to your VS Code `.vscode/mcp.json` file:
77102
78103<TabsContent value = " claudecode" >
79104
80- Run the following command to add the MCP server to your Claude Code configuration:
105+ Run the following command to add the MCP server to your Claude Code configuration (replace ` YOUR_SECRET_KEY_HERE ` with your thirdweb secret key) :
81106
82107``` bash
83- claude mcp add --transport http " thirdweb-api" " https://api.thirdweb.com/mcp?secretKey=<your-project-secret-key> "
108+ claude mcp add --transport http " thirdweb-api" " https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE "
84109```
85110
86111</TabsContent >
@@ -139,4 +164,3 @@ List my contracts
139164```
140165approve 100 USDC from treasury wallet to executor wallet
141166```
142-
0 commit comments