Quickstart
Connect to the hosted Superblocks MCP server — no install required. You’ll need your Superblocks API token, which you can find in Personal Settings > API Key. The hosted server runs athttps://{tenant}.superblocks.com/mcp. Replace {tenant} with the value for your instance from Instance URLs.
- Cursor
- Claude Code
- Other MCP clients
What can the MCP server do?
Once connected, AI agents can use the following capabilities through natural language:Alternative: Local MCP server
If you prefer to run the MCP server locally, you can use the CLI-based setup instead. This requires Node.js 22+ and an API token.1
Authenticate
Run the following command, replacing
<token> with your Superblocks API key. You can find your API key in Personal Settings.2
Install the MCP server
Run the setup command for your IDE:This writes the MCP server configuration to
- Cursor
- Claude Code
- Other MCP clients
~/.cursor/mcp.json.3
Restart your IDE
Restart your IDE to pick up the new MCP server configuration. You should see superblocks listed as a connected MCP server.
superblocks config set domain {tenant}.superblocks.com before superblocks login. See Instance URLs for your {tenant} value.
Use --dry-run to preview the configuration without modifying any files:
Troubleshooting
Hosted server: authentication errors
Hosted server: authentication errors
Verify your API token is correct. You can find or regenerate it in Personal Settings > API Key.Make sure the If the token was recently regenerated, update it in your MCP client configuration and restart your IDE.
Authorization header uses the Bearer prefix:Local server: not connecting
Local server: not connecting
Verify the server starts correctly by running it directly:If you see the usage text, the server is installed correctly. Restart your IDE and check that the MCP server appears in your IDE’s MCP server list.
Local server: authentication errors
Local server: authentication errors
Re-run the login command to refresh your token:Your token is stored at
~/.superblocks/auth.json. You can verify it exists:Local server: Node.js version requirements
Local server: Node.js version requirements
The local MCP server requires Node.js 22 or later. Check your version:The hosted server at
{tenant}.superblocks.com/mcp has no local requirements.
