Skip to content

Connect an app

Every app needs the same thing, Lyra’s MCP address:

https://app.lyra-docs.com/mcp

A self-hosted server uses its own address instead, and claude.ai and ChatGPT can only reach it if it’s on the internet.

In every app, connecting ends the same way: your browser opens a Lyra page that says the app wants to use Lyra as you. Sign in if Lyra asks, pick the organization, and click Allow. Sign-in and access explains that page.

Run this in your terminal:

Terminal window
claude mcp add --transport http --scope user lyra https://app.lyra-docs.com/mcp

--scope user makes Lyra available in every project. Leave it out to add Lyra to the current project only.

Then start Claude Code, run /mcp, pick lyra and choose to authenticate. Your browser opens to let Claude use Lyra as you.

On claude.ai and in Claude Desktop, add Lyra as a custom connector:

  1. Open Settings → Connectors and click Add custom connector.
  2. Name it Lyra and paste the MCP address.
  3. Click Add, then Connect next to Lyra. Your browser opens Lyra’s sign-in.

On a Team or Enterprise plan, an owner may have to add the connector for the whole organization first, in the organization’s settings.

Claude Desktop can also connect from your computer, through its config file:

  1. In Claude Desktop, open Settings → Developer → Edit Config.

  2. Add Lyra to claude_desktop_config.json:

    {
    "mcpServers": {
    "lyra": {
    "command": "npx",
    "args": ["-y", "mcp-remote", "https://app.lyra-docs.com/mcp"]
    }
    }
    }
  3. Restart Claude Desktop. Your browser opens to let Claude use Lyra as you. This needs Node.js.

ChatGPT connects to MCP servers in developer mode, on the web. The menu names below change from time to time, so look for the nearest match:

  1. Open Settings → Apps & Connectors → Advanced settings and turn on Developer mode. On a Business, Enterprise or Edu plan, an admin may have to allow it first.
  2. Back in Apps & Connectors, click Create.
  3. Name it Lyra, paste the MCP address, and choose OAuth for authentication.
  4. Click Create. Your browser opens Lyra’s sign-in.
  5. In a chat, turn on developer mode and Lyra from the + menu.

Add Lyra to ~/.cursor/mcp.json for every project, or to .cursor/mcp.json in one project:

{
"mcpServers": {
"lyra": {
"url": "https://app.lyra-docs.com/mcp"
}
}
}

Then open Cursor’s settings, find lyra in the MCP section and click Connect to sign in.

GitHub Copilot’s agent mode in VS Code can use Lyra. Add it to .vscode/mcp.json in your project:

{
"servers": {
"lyra": {
"type": "http",
"url": "https://app.lyra-docs.com/mcp"
}
}
}

To have it in every project, run MCP: Open User Configuration from the Command Palette and add the same server there.

Click Start above the server in mcp.json, and allow VS Code to sign in to Lyra when it asks. Then open Copilot Chat in Agent mode: Lyra’s tools are in the tools list.

Run these in your terminal:

Terminal window
codex mcp add lyra --url https://app.lyra-docs.com/mcp
codex mcp login lyra

The second command opens your browser to let Codex use Lyra as you. The Codex IDE extension reads the same settings, so Lyra works there too.

Lyra works with any MCP app that supports these:

Transport Streamable HTTP. Send each JSON-RPC message in its own POST /mcp; Lyra answers with JSON. Lyra keeps no MCP session between requests, sends no event stream (GET /mcp answers 405) and doesn’t take batches
Sign-in OAuth 2.1 with the authorization code flow and PKCE (S256). Apps register themselves at /oauth/register, without a client secret
Where to start A request without a token answers 401 with a WWW-Authenticate header that points to /.well-known/oauth-protected-resource/mcp. The sign-in server’s details are at /.well-known/oauth-authorization-server
Scope mcp
Redirect addresses https addresses, http on localhost or 127.0.0.1, or the app’s own scheme such as cursor://. Up to 10 for each app
Tokens An access token works for 1 hour. A refresh token works for 30 days and is replaced each time it’s used, so the app stays connected as long as it’s used at least once every 30 days

For an app that can’t sign in with OAuth, or a script, send an API token in the Authorization header. It acts as you in the organization you created it in. For example, in Claude Code:

Terminal window
claude mcp add --transport http lyra https://app.lyra-docs.com/mcp \
--header "Authorization: Bearer $LYRA_TOKEN"

And in Codex, which reads the token from an environment variable:

Terminal window
codex mcp add lyra --url https://app.lyra-docs.com/mcp --bearer-token-env-var LYRA_TOKEN

Ask your agent “what can you do in Lyra?” It should list Lyra’s tools. To check the server itself, call it with an API token:

Terminal window
curl -s https://app.lyra-docs.com/mcp \
-H "Authorization: Bearer $LYRA_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"launch tasks","limit":1}}}'
{
"result": {
"content": [
{
"type": "text",
"text": "{\n \"results\": [\n {\n \"id\": \"01a2380f-fdea-74bb-ae0f-98237eb36215\",\n \"title\": \"Launch tasks\",\n \"icon\": null,\n \"kind\": \"database\",\n \"breadcrumbs\": [],\n \"snippet\": \"\",\n \"updatedAt\": \"2026-12-02T18:41:42.044Z\",\n \"expiresAt\": null\n }\n ]\n}"
}
]
},
"jsonrpc": "2.0",
"id": 1
}

If the app can’t connect:

  • It never opens the browser. Check that the address ends in /mcp and that the app supports MCP over HTTP with OAuth. If it doesn’t, use an API token.
  • The browser shows “Couldn’t connect to Lyra”. The page says why. Remove Lyra from the app and add it again, so that the app registers with Lyra again.
  • Tools fail with 401. The app was disconnected in Lyra, or you were removed from the organization. Connect it again.