Quick Start
This guide helps you connect Moira to your AI client and run your first workflow.
Prerequisites
Section titled “Prerequisites”- An MCP-compatible AI client (see supported clients below)
- Moira account (sign up at Moira)
Get your MCP endpoint
For Moira Cloud:
https://moira.witqq.ru/mcpFor self-hosted, use your server’s MCP endpoint.
Configure your AI client
Recommended: Use CLI command
Terminalclaude mcp add --transport http moira https://moira.witqq.ru/mcpThen authenticate:
OAuth Flow# After adding, authenticate within claude /mcp # → Select "moira" # → Click "Authenticate" # → Browser opens for OAuthAlternative: Manual JSON config
# Alternative: Manual JSON config # ~/.config/claude/mcp.json { "mcpServers": { "moira": { "type": "http", "url": "https://moira.witqq.ru/mcp" } } } # Then: /mcp → AuthenticateAuthentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your token~/.config/claude/mcp.json{ "mcpServers": { "moira": { "url": "https://moira.witqq.ru/mcp", "headers": { "Authorization": "Bearer moira_YOUR_TOKEN" } } } }Recommended: Config file
~/.copilot/mcp-config.json# ~/.copilot/mcp-config.json { "mcpServers": { "moira": { "type": "http", "url": "https://moira.witqq.ru/mcp" } } }Then authenticate:
OAuth Flow# After saving the config: # 1. Start a Copilot CLI session # 2. Type /mcp # 3. Select "moira" → Authenticate # → Browser opens for OAuthAlternative: Interactive setup
# In Copilot CLI: /mcp # → Click "Add server" # → Enter server URL # → Complete OAuth # Project-level config: # .copilot/mcp-config.json (same format)Authentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your token~/.copilot/mcp-config.json{ "mcpServers": { "moira": { "type": "http", "url": "https://moira.witqq.ru/mcp", "headers": { "Authorization": "Bearer moira_YOUR_TOKEN" } } } }Recommended: One-click install
Add to CursorThen authenticate:
OAuth Flow# After clicking the button: # 1. Cursor opens with install prompt # 2. Click "Install" to add moira MCP server # 3. Settings → MCP Servers → Find "moira" # 4. Click "Authenticate" → Browser opens for OAuthAlternative: Manual JSON config
~/.cursor/mcp.json# ~/.cursor/mcp.json { "mcpServers": { "moira": { "url": "https://moira.witqq.ru/mcp" } } }Authentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your token~/.cursor/mcp.json{ "mcpServers": { "moira": { "url": "https://moira.witqq.ru/mcp", "headers": { "Authorization": "Bearer moira_YOUR_TOKEN" } } } }Desktop app: GUI method
Settings → Connectors# In Claude Desktop app: # 1. Open Settings (⌘+,) # 2. Go to "Connectors" tab # 3. Click "Add custom connector" # 4. Enter: # Server URL: https://moira.witqq.ru/mcp # 5. Click "Connect" # 6. Browser opens → OAuth → Done # No file editingRecommended: One-click install
Add to VS CodeThen authenticate:
OAuth Flow# After clicking the button: # 1. VS Code opens with install prompt # 2. Click "Install" to add moira MCP server # 3. Settings → MCP Servers → Find "moira" # 4. Click "Authenticate" → Browser opens for OAuthAlternative: Manual configuration
settings.json# Install MCP extension: # ext install mcp-connector # Then in settings.json: { "mcp.servers": { "moira": { "url": "https://moira.witqq.ru/mcp", "transport": "http" } } } # Or: Command Palette → "MCP: Add Server"Authentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your tokensettings.json{ "mcpServers": { "moira": { "url": "https://moira.witqq.ru/mcp", "headers": { "Authorization": "Bearer moira_YOUR_TOKEN" } } } }claude.ai - Browser chat (most popular)
Settings → Connectors# On claude.ai (Pro/Max/Team/Enterprise): # 1. Go to Settings → Connectors # 2. Click "Add custom connector" # 3. Enter: # Server URL: https://moira.witqq.ru/mcp # 4. Click "Connect" # 5. Complete OAuth authentication in browser # 6. Tools appear in chat # Requires paid planchat.openai.com - Browser chat
Settings → Connectors# On chat.openai.com (Plus/Pro required): # 1. Profile → Settings # 2. Go to "Connectors" or "Integrations" # 3. Click "Add connector" # 4. Enter: # Name: MCP Moira # URL: https://moira.witqq.ru/mcp # 5. Complete OAuth authentication # 6. Tools available in chat # Free tier doesn't support MCPMac app: With helper
Settings → Connectors# Perplexity Mac App: # 1. Install PerplexityXPC helper first: # Settings → Connectors → Install Helper # 2. Click "Add Connector" # 3. Enter: # Server Name: moira # Command: npx # Args: -y mcp-remote https://moira.witqq.ru/mcp # 4. Complete OAuth authentication # 5. Ask Perplexity to use MCP Moira tools # Paid plan recommendedVS Code extension: Open-source AI assistant
config.yaml# Continue extension in VS Code: # 1. Install Continue extension # 2. Open config: Ctrl+Shift+P → "Continue: Open config" # 3. Add to config.yaml: # # mcp: # servers: # moira: # url: https://moira.witqq.ru/mcp # transport: http # # 4. Restart VS Code # 5. Authenticate when promptedAuthentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your tokenconfig.yamlmcpServers: - name: moira url: https://moira.witqq.ru/mcp headers: Authorization: "Bearer moira_YOUR_TOKEN"Fast code editor with AI features
~/.config/zed/settings.json# Zed editor: # 1. Open Settings (⌘+,) # 2. Add to settings.json under context_servers: # # "context_servers": { # "moira": { # "url": "https://moira.witqq.ru/mcp" # } # } # # 3. Restart Zed # 4. Authenticate when promptedAuthentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your token~/.config/zed/settings.json{ "context_servers": { "moira": { "url": "https://moira.witqq.ru/mcp", "headers": { "Authorization": "Bearer moira_YOUR_TOKEN" } } } }Google AI terminal assistant
~/.gemini/settings.json# Gemini CLI: # 1. Edit ~/.gemini/settings.json: # # "mcpServers": { # "moira": { # "httpUrl": "https://moira.witqq.ru/mcp" # } # } # # 2. Run: gemini auth # 3. Complete OAuth flowAuthentication without OAuth
For CI/CD, Docker, or environments without a browser — use an API token instead of OAuth.
1. Log in to Moira web UI → Settings → API Tokens
2. Create a token (starts with moira_)
3. Replace moira_YOUR_TOKEN below with your token~/.gemini/settings.json{ "mcpServers": { "moira": { "httpUrl": "https://moira.witqq.ru/mcp", "headers": { "Authorization": "Bearer moira_YOUR_TOKEN" } } } }Authenticate the MCP server
After adding the server configuration, complete OAuth authentication. Most clients will prompt you automatically or have an “Authenticate” button.
Verify connection
Ask your AI client to list available Moira workflows:
List available Moira workflowsYou should see a list of workflows you have access to.
Start the user onboarding
Now simply type in the chat:
Start user onboarding flowThe agent will guide you through an interactive onboarding experience that:
- Explains Moira by demonstrating a workflow in action
- Shows you key workflows available
- Helps you get started with your first real task
This is the recommended way to learn Moira!
Available MCP Tools
Section titled “Available MCP Tools”Once connected, your AI client has access to these Moira tools:
| Tool | Description |
|---|---|
list_workflows | List available workflows |
start_workflow | Start a new workflow execution |
execute_step | Submit step result and get next directive |
get_help | Get documentation and help |
manage_settings | Manage user settings |
Example Session
Section titled “Example Session”Here’s what a typical workflow session looks like:
Agent: I'll start the development workflow. [calls start_workflow with workflowId: "development-flow"]
Moira: Process ID: abc-123 Your next task: Analyze the requirements document... Success criteria: Requirements are documented...
Agent: [analyzes requirements, produces output] [calls execute_step with processId: "abc-123" and result]
Moira: Process ID: abc-123 Your next task: Create implementation plan... Success criteria: Plan covers all requirements...
[... workflow continues until completion]Next Steps
Section titled “Next Steps”- Workflows - Understand workflow structure
- Claude Code Integration - Detailed Claude Code setup
- MCP Clients - Other MCP client integrations