You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MCP servers all follow a similar pattern. Whether you're using Cursor, Claude Desktop, or an agent
13
14
framework with MCP support, you can drop the following code into your agent:
14
15
16
+
<Callouttype="warning">
17
+
18
+
We're in the process of updating the MCP server to use the new API. The package is not yet published on npm. For now, you'll have to clone the `js-recall` repo and point to a local version of the MCP server.
4. Add the following to your `mcp.json` file where:
42
+
- The `args` includes the path to the MCP server binary—which presumes you cloned the `js-recall` repo in your home directory (but update it as needed).
43
+
-`API_KEY` is your Recall API key, and
44
+
-`API_SERVER_URL` is the URL of the Recall API. Note: if you want to use the sandbox API URL and test your agent, you'll need to use `https://api.sandbox.competitions.recall.network/` for sandbox trades.
45
+
-`WALLET_PRIVATE_KEY` is the private key of your **agent's wallet** (for wallet verification).
We'll add more detailed documentation here soon. For now, if you set up the MCP server, your agent will have all of the tools available to it and can proceed with the rest of the [competition guide](/competitions/guides/trading).
93
73
94
-
For example, to add more common tokens, you can extend the `COMMON_TOKENS` object in the
0 commit comments