Prerequisites
- Active Aident account
- Connected integrations in Capabilities
- An MCP-compatible client
Step 1: Add Server URL
Use the product MCP URL for the package you need. Loadout is the default integration surface:Claude Code
Claude Code
Run in your terminal:Or add to
~/.claude.json:Claude Desktop
Claude Desktop
Add to your config file:Or on Pro/Max/Team/Enterprise plans: Settings → Connectors → Add and enter
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
https://app.aident.ai/loadout/mcp.Cursor IDE
Cursor IDE
Add to
.cursor/mcp.json in your project root:VS Code (Copilot)
VS Code (Copilot)
Add to
.vscode/mcp.json in your project root:Windsurf
Windsurf
Add to
~/.codeium/windsurf/mcp_config.json:Codex
Codex
Run in your terminal:Or add to Verify the server is configured:
~/.codex/config.toml (or .codex/config.toml for a trusted project):Gemini CLI
Gemini CLI
Add to
~/.gemini/settings.json:Other Clients
Other Clients
Any MCP-compatible client (Goose, Kiro, OpenCode, Antigravity, Factory, etc.) can connect using the server URL
https://app.aident.ai/loadout/mcp. Refer to your client’s documentation for where to add MCP server configurations.Step 2: Authenticate
On first use, your MCP client will automatically:- Discover Aident’s OAuth endpoints
- Open your browser for login (Google OAuth or magic link)
- Store your access token locally
Step 3: Verify Connection
In your MCP client, try asking your AI assistant to use Aident tools. You should see Aident tools available across auth, skills, integrations, playbooks, templates, and dashboard.Switching Accounts
To log out or switch to a different Aident account, use theauth_logout tool, then reconnect to trigger a new sign-in flow.
Troubleshooting
Authentication Issues
If the OAuth flow doesn’t start automatically:- Restart your MCP client
- Verify URL is exactly
https://app.aident.ai/loadout/mcp - Check that your browser can reach app.aident.ai
”No OAuth flow is in progress” when running complete_authentication
Some MCP clients (notably Claude Code) expose two complementary tools — authenticate (start the flow) and complete_authentication (finish it by pasting the callback URL). The PKCE code_verifier produced by authenticate is held in the client’s process memory. If that process restarts between the two tool calls (which can happen between message turns on long-lived agent sessions), the verifier is lost and complete_authentication returns No OAuth flow is in progress.
Reliable workarounds:
- Open the authorization URL immediately when prompted. The local loopback callback listener catches the redirect inside the same process, completing the flow before any state can be lost. This is the path that works without ever calling
complete_authentication. - If you must paste back the callback URL, run
authenticateandcomplete_authenticationback-to-back within the same agent turn.
WWW-Authenticate: Bearer resource_metadata=… header on 401 responses, so MCP clients can rediscover the OAuth endpoints automatically.
Token TTLs
- Access token: 24 hours
- Refresh token: 30 days (rotated on each refresh)
- Authorization code: 10 minutes
”Skill requires unauthenticated integrations”
The skill needs integrations you haven’t connected:- Use
vaultwith{ "action": "status" }to see what’s connected - Use
vaultwith{ "action": "connect", "integrationId": "<id>" } - Authorize in browser
- Retry the operation
Connection Timeout
- Check firewall allows outbound HTTPS to app.aident.ai
- Configure proxy in MCP client if needed
- Try disconnecting VPN temporarily
Tools Not Appearing
- Restart MCP client
- Verify URL in configuration file
- Re-authenticate if token expired (client should handle automatically)
Managing Your Connection
Revoking Access
- Open Connections from the left sidebar and go to MCP
- Revoke the connection from your MCP client or Aident’s MCP controls
- All MCP connections will stop working immediately
- Re-authenticate to reconnect