Skip to content

MCP Clients Integration

Moira works with any client that supports the Model Context Protocol (MCP). This guide covers setup for 10 popular MCP clients.

Moira exposes tools via MCP over HTTP/SSE:

  • Endpoint: https://moiraqq.com/mcp
  • Transport: HTTP with SSE for streaming
  • Authentication: OAuth 2.0

Requires Pro, Max, Team, or Enterprise plan.

  1. Go to Settings → Connectors
  2. Click “Add custom connector”
  3. Enter Server URL: https://moiraqq.com/mcp
  4. Click “Connect”
  5. Complete OAuth authentication in browser

Tools appear in chat after authentication.

Recommended: CLI command

Run: claude mcp add --transport http moira https://moiraqq.com/mcp

Then authenticate:

Terminal window
/mcp
# → Select "moira"
# → Click "Authenticate"
# → Browser opens for OAuth

Alternative: Manual config

Edit ~/.config/claude/mcp.json with URL: https://moiraqq.com/mcp

One-click install available on landing page, or manual setup:

  1. Open Cursor Settings
  2. Navigate to MCP Servers section
  3. Add new server with Name: moira, URL: https://moiraqq.com/mcp
  4. Click “Authenticate” → Browser opens for OAuth

Manual config (~/.cursor/mcp.json) with URL: https://moiraqq.com/mcp

For custom MCP client implementations, use the MCP SDK with URL: https://moiraqq.com/mcp

All MCP clients have access to these tools:

ToolParametersDescription
list_workflows-List available workflows
start_workflowworkflowIdStart workflow execution
execute_stepprocessId, inputSubmit step result
ToolParametersDescription
get_session_infoactionGet session/execution info
get_execution_contextexecutionIdGet execution context
ToolParametersDescription
get_helptopic (optional)Get documentation
manage_settingsaction, key, valueManage settings
  1. Client initiates connection to MCP endpoint 2. Server returns authentication required response
  2. Client opens browser for OAuth flow 4. User authenticates with Moira 5. Client receives access token 6. Subsequent requests include token
{
"method": "tools/call",
"params": {
"name": "list_workflows",
"arguments": {}
}
}
{
"method": "tools/call",
"params": {
"name": "start_workflow",
"arguments": {
"workflowId": "development-flow"
}
}
}
{
"method": "tools/call",
"params": {
"name": "execute_step",
"arguments": {
"processId": "abc-123",
"input": {
"result": "Task completed successfully",
"details": { "files": ["main.ts", "utils.ts"] }
}
}
}
}

Common error responses:

ErrorCauseSolution
UNAUTHORIZEDInvalid/expired tokenRe-authenticate
NOT_FOUNDInvalid workflow/process IDVerify IDs
FORBIDDENNo access to resourceCheck permissions
VALIDATION_ERRORInvalid inputCheck input schema

For self-hosted Moira:

  1. Deploy Moira server
  2. Configure MCP endpoint URL
  3. Set up authentication (optional)
  4. Update client configuration with your endpoint
  • Check network connectivity
  • Verify endpoint URL
  • Ensure SSE is not blocked by firewall
  • Restart client after configuration
  • Verify JSON syntax in config
  • Check client logs for errors
  • Clear stored tokens
  • Check OAuth configuration
  • Verify redirect URIs