Skip to main content
Connect your AI coding assistant to Asteroid in under a minute. The same MCP server works with any editor that supports the Model Context Protocol over HTTP.

Prerequisites

  • An Asteroid account you can sign into at platform.asteroid.ai
  • Claude Code or Cursor (or another MCP client that supports streamable HTTP and OAuth discovery)
REST integrations use API keys with the HTTP API. The hosted MCP server uses OAuth instead — your editor runs the sign-in flow and stores the session; you do not paste an API key into the MCP Authorization header.

Claude Code

1

Add the MCP server

Run this command in your terminal:
This registers the Asteroid MCP server with Claude Code.
2

Authenticate

The first time Claude Code uses an Asteroid tool, complete the browser sign-in when prompted. The client exchanges the OAuth code for a token and sends it on subsequent requests.
3

Verify the connection

Ask Claude Code to list your agents:
If the connection is working, you’ll see your agents listed in the response.

Cursor

1

Add the MCP server config

Add the following to your .cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
2

Authenticate

On first use, accept the OAuth flow so Cursor can obtain a token for your Asteroid user.
3

Verify the connection

In Cursor’s AI chat, ask:
The server speaks streamable HTTP (/mcp) and exposes OAuth metadata at /.well-known/oauth-protected-resource and /.well-known/oauth-authorization-server for clients that auto-discover authentication.

Usage Examples

Once connected, you can interact with Asteroid using natural language. Tool names your client sees match the overview (for example agentList, executionGet, workflowPublish).

Inspecting executions

Managing workflows

Starting executions

Debugging

Troubleshooting

Need help? Visit our Support page or reach out on GitHub.