diff --git a/apps/portal/src/app/ai/mcp/page.mdx b/apps/portal/src/app/ai/mcp/page.mdx index 598929c59ec..5700a385a57 100644 --- a/apps/portal/src/app/ai/mcp/page.mdx +++ b/apps/portal/src/app/ai/mcp/page.mdx @@ -1,4 +1,7 @@ import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs"; +import { Button } from "@/components/ui/button"; +import { ArrowDownIcon } from "lucide-react"; +import Link from "next/link"; # MCP server @@ -29,13 +32,24 @@ You can also use the MCP server on your own LLM client, like cursor, claude code -Add the following to your `.cursor/mcp.json` file: + + +Add the following to your `.cursor/mcp.json` file (replace `YOUR_SECRET_KEY_HERE` with your thirdweb secret key): ```json { "mcpServers": { "thirdweb-api": { - "url": "https://api.thirdweb.com/mcp?secretKey=", + "url": "https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE" } } } @@ -51,7 +65,7 @@ Add the following to your `~/.codeium/windsurf/mcp_config.json` file: { "mcpServers": { "thirdweb-api": { - "url": "https://api.thirdweb.com/mcp?secretKey=", + "url": "https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE" } } } @@ -61,13 +75,24 @@ Add the following to your `~/.codeium/windsurf/mcp_config.json` file: -Add the following to your VS Code `.vscode/mcp.json` file: + + +Add the following to your VS Code `.vscode/mcp.json` file (replace `YOUR_SECRET_KEY_HERE` with your thirdweb secret key): ```json { "mcp.servers": { "thirdweb-api": { - "url": "https://api.thirdweb.com/mcp?secretKey=", + "url": "https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE" } } } @@ -77,10 +102,10 @@ Add the following to your VS Code `.vscode/mcp.json` file: -Run the following command to add the MCP server to your Claude Code configuration: +Run the following command to add the MCP server to your Claude Code configuration (replace `YOUR_SECRET_KEY_HERE` with your thirdweb secret key): ```bash -claude mcp add --transport http "thirdweb-api" "https://api.thirdweb.com/mcp?secretKey=" +claude mcp add --transport http "thirdweb-api" "https://api.thirdweb.com/mcp?secretKey=YOUR_SECRET_KEY_HERE" ``` @@ -139,4 +164,3 @@ List my contracts ``` approve 100 USDC from treasury wallet to executor wallet ``` -