Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-sofiia7-actually": {
"command": "npx",
"args": [
"-y",
"actually-mcp-server"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<YOUR_VALUE>",
"ACTUALLY_MAX_ORDER_USD": "<VALUE>",
"ACTUALLY_DAILY_LIMIT_USD": "<VALUE>",
"ACTUALLY_ENABLE_REDEEM": "<VALUE>",
"ACTUALLY_SEARCH_FALLBACK": "<VALUE>",
"ACTUALLY_SPEND_STATE_PATH": "<VALUE>",
"ACTUALLY_WORKER_URL": "<VALUE>",
"ACTUALLY_WORKER_SECRET": "<YOUR_VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-sofiia7-actually": {
"command": "npx",
"args": [
"-y",
"actually-mcp-server"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<YOUR_VALUE>",
"ACTUALLY_MAX_ORDER_USD": "<VALUE>",
"ACTUALLY_DAILY_LIMIT_USD": "<VALUE>",
"ACTUALLY_ENABLE_REDEEM": "<VALUE>",
"ACTUALLY_SEARCH_FALLBACK": "<VALUE>",
"ACTUALLY_SPEND_STATE_PATH": "<VALUE>",
"ACTUALLY_WORKER_URL": "<VALUE>",
"ACTUALLY_WORKER_SECRET": "<YOUR_VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-sofiia7-actually": {
"command": "npx",
"args": [
"-y",
"actually-mcp-server"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<YOUR_VALUE>",
"ACTUALLY_MAX_ORDER_USD": "<VALUE>",
"ACTUALLY_DAILY_LIMIT_USD": "<VALUE>",
"ACTUALLY_ENABLE_REDEEM": "<VALUE>",
"ACTUALLY_SEARCH_FALLBACK": "<VALUE>",
"ACTUALLY_SPEND_STATE_PATH": "<VALUE>",
"ACTUALLY_WORKER_URL": "<VALUE>",
"ACTUALLY_WORKER_SECRET": "<YOUR_VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-sofiia7-actually": {
"command": "npx",
"args": [
"-y",
"actually-mcp-server"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<YOUR_VALUE>",
"ACTUALLY_MAX_ORDER_USD": "<VALUE>",
"ACTUALLY_DAILY_LIMIT_USD": "<VALUE>",
"ACTUALLY_ENABLE_REDEEM": "<VALUE>",
"ACTUALLY_SEARCH_FALLBACK": "<VALUE>",
"ACTUALLY_SPEND_STATE_PATH": "<VALUE>",
"ACTUALLY_WORKER_URL": "<VALUE>",
"ACTUALLY_WORKER_SECRET": "<YOUR_VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-sofiia7-actually": {
"command": "npx",
"args": [
"-y",
"actually-mcp-server"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<YOUR_VALUE>",
"ACTUALLY_MAX_ORDER_USD": "<VALUE>",
"ACTUALLY_DAILY_LIMIT_USD": "<VALUE>",
"ACTUALLY_ENABLE_REDEEM": "<VALUE>",
"ACTUALLY_SEARCH_FALLBACK": "<VALUE>",
"ACTUALLY_SPEND_STATE_PATH": "<VALUE>",
"ACTUALLY_WORKER_URL": "<VALUE>",
"ACTUALLY_WORKER_SECRET": "<YOUR_VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-sofiia7-actually": {
"command": "npx",
"args": [
"-y",
"actually-mcp-server"
],
"env": {
"POLYMARKET_PRIVATE_KEY": "<YOUR_VALUE>",
"ACTUALLY_MAX_ORDER_USD": "<VALUE>",
"ACTUALLY_DAILY_LIMIT_USD": "<VALUE>",
"ACTUALLY_ENABLE_REDEEM": "<VALUE>",
"ACTUALLY_SEARCH_FALLBACK": "<VALUE>",
"ACTUALLY_SPEND_STATE_PATH": "<VALUE>",
"ACTUALLY_WORKER_URL": "<VALUE>",
"ACTUALLY_WORKER_SECRET": "<YOUR_VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| POLYMARKET_PRIVATE_KEY secret | No | Optional. Your own Polygon EOA private key. Enables the trading tools (place_order, sell_order, cancel_order, get_open_orders, get_positions). Omit to run signal-only, which needs no key and no wallet. |
| ACTUALLY_MAX_ORDER_USD | No | Optional. Per-order USD cap for the trading tools (default 100). Enforced server-side against the market's own price, so a caller cannot understate an order to slip past it. |
| ACTUALLY_DAILY_LIMIT_USD | No | Optional. Rolling UTC-day USD cap shared by place_order and sell_order (default 500). Held in a persisted ledger, so it survives restarts. |
| ACTUALLY_ENABLE_REDEEM | No | Optional. Set to exactly 'true' to additionally register redeem_position. A second opt-in beyond the private key, because it submits a real on-chain transaction through Polymarket's relayer and is still in testing. |
| ACTUALLY_SEARCH_FALLBACK | No | Optional. Set to exactly 'true' to let check_news fall back to Polymarket's own market search when nothing in the cached set matches. Off by default: the query is built from the caller's text and leaves the machine. |
| ACTUALLY_SPEND_STATE_PATH | No | Optional. Where the spend ledger is stored (default ~/.actually-mcp-server/spend-guard.json). |
| ACTUALLY_WORKER_URL | No | Optional. Only if you run your own Cloudflare Worker instead of the shared default. |
| ACTUALLY_WORKER_SECRET secret | No | Optional. Shared secret for your own Worker. Not a private credential: the default one ships inside every client by design. |