Install assay-mcp
assay-mcp runs on your computer and connects your AI client to Assay over stdio. It forwards tool calls and can sign payments locally after you approve spending permission.
You need Node.js 20 or newer, your client installed, and a usable OS keychain. Hosted connectors in claude.ai and ChatGPT make free calls only; use a local client below for paid calls.
Install in your client
Section titled “Install in your client”These steps install the server as assay and connect to https://mcp.goassay.ai/, the default Assay URL. You do not put an API key or tokens in the client config.
Use the add helper
Section titled “Use the add helper”The helper writes the client entry for you, for any of the seven clients. For example, for Claude Code:
npx -y @goassay-ai/mcp add / --client claude-codeReplace claude-code with the ID for your client:
| Client | ID |
|---|---|
| Claude Code | claude-code |
| Codex CLI | codex |
| Gemini CLI | gemini |
| VS Code | vscode |
| Cursor | cursor |
| Windsurf | windsurf |
| Claude Desktop | claude-desktop |
The default scope is your user account. If the helper asks to allow paid calls through the URL, read the prompt and type the profile name it shows (default unless you passed --profile). This allows the URL locally; wallet approval is still needed before the key can pay.
Or add the entry by hand
Section titled “Or add the entry by hand”Choose one tab.
Run in a terminal:
claude mcp add --scope user assay -- npx -y @goassay-ai/mcp --name assayRun in a terminal:
codex mcp add assay -- npx -y @goassay-ai/mcp --name assayRun in a terminal:
gemini mcp add --scope user assay npx -y @goassay-ai/mcp --name assayRun in a terminal with POSIX shell quoting, such as bash or zsh:
code --add-mcp '{"name":"assay","type":"stdio","command":"npx","args":["-y","@goassay-ai/mcp","--name","assay"]}'For another shell, use the add helper above.
Merge this entry into ~/.cursor/mcp.json, keeping any other servers:
{ "mcpServers": { "assay": { "command": "npx", "args": ["-y", "@goassay-ai/mcp", "--name", "assay"] } }}Merge this entry into ~/.config/devin/mcp_config.json, keeping any other servers:
{ "mcpServers": { "assay": { "command": "npx", "args": ["-y", "@goassay-ai/mcp", "--name", "assay"] } }}Merge the JSON below into claude_desktop_config.json, keeping any other servers. The file is at:
| OS | File |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %USERPROFILE%\AppData\Roaming\Claude\claude_desktop_config.json |
| Linux | ~/.config/Claude/claude_desktop_config.json |
{ "mcpServers": { "assay": { "command": "npx", "args": ["-y", "@goassay-ai/mcp", "--name", "assay"] } }}Use this local stdio entry for paid calls. A remote connector in Claude Desktop is free-only.
list, remove and status track only entries written by the add helper. An entry you add by hand works, but you manage it in the client. To manage it from the CLI, use the helper instead.
Sign in
Section titled “Sign in”- Open or restart your client so it loads
assay. - Ask it to call
assay_sign_in. Before sign-in, this is the only Assay tool offered. It opens your browser and returns a sign-in link; open that link yourself if the browser did not open. - Sign in to Assay. On Connect an app to Assay, review the requesting app, select the agent it should use, and choose Approve to approve the connection.
- Return to your client. Assay tools appear after approval. Ask it to find a free tool and call it.
Sign-in uses OAuth authorization code flow with PKCE and a local callback. Access and refresh tokens stay in the OS keychain. The default URL / becomes allowed for paid calls at sign-in, but sign-in does not create a payment key or approve spending.
Check it worked
Section titled “Check it worked”The client can list Assay tools and return a free tool result. If the tool list has not refreshed after approval, restart the client.
Errors
Section titled “Errors”| Reason | Meaning | Fix |
|---|---|---|
| No usable OS keychain | The server cannot store secrets safely and will not start. | Make an OS keychain available before starting the client. |
| Keychain locked | The server cannot read its stored secrets. | Unlock your keychain and try again. |
| Sign-in ended on the web or expired | Calls return a sign-in link and a terminal command; the browser does not reopen automatically. | Open the returned link, or run npx -y @goassay-ai/mcp login in a terminal and approve again. |
Go further
Section titled “Go further”- Use tools (optional): Connect your AI app
