Prerequisites
- An Asteroid account with an API key (generate one here)
- Claude Code or Cursor (or any MCP-compatible editor)
Claude Code
Add the MCP server
Run this command in your terminal:This registers the Asteroid MCP server with Claude Code.
Authenticate
The first time Claude Code calls an Asteroid tool, you’ll be prompted to provide your API key. You can also set it as an environment variable:
Cursor
Add the MCP server config
Add the following to your
.cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):Authenticate
As with Claude Code, provide your API key when prompted or set the
ASTEROID_API_KEY environment variable.Any editor that supports MCP can connect to the Asteroid server at
https://mcp.asteroid.ai/mcp using the HTTP transport. The setup steps will be similar — register the server URL and provide your API key.Usage Examples
Once connected, you can interact with Asteroid using natural language. Here are some common tasks:Inspecting executions
Managing workflows
Starting executions
Debugging
Troubleshooting
| Problem | Solution |
|---|---|
| ”Tool not found” errors | Verify the MCP server is registered — run claude mcp list (Claude Code) or check .cursor/mcp.json (Cursor) |
| Authentication failures | Check that your ASTEROID_API_KEY is valid and not expired. Generate a new key at platform.asteroid.ai/keys |
| Timeout errors | The MCP server connects to the Asteroid API — ensure you have internet access and no firewall blocking mcp.asteroid.ai |
Need help? Visit our Support page or reach out on GitHub.

