Requires Node 18+ on your system so npx can fetch the package on first run. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register @fastmcp-me/okx-mcp.
~/.cursor/mcp.json.cursor/mcp.json (commit alongside your repo){
"mcpServers": {
"okx-mcp": {
"command": "okx-mcp",
"args": [],
"env": {
"OKX_API_KEY": "your_api_key_here",
"OKX_API_SECRET": "your_secret_key_here",
"OKX_API_PASSPHRASE": "your_passphrase_here"
}
}
}
}