Back to Documentation

MCP Server Integration

Connect your AI agents, code editors, and LLM workspaces directly to the LogyxCode online service using the Model Context Protocol (MCP).

Before you begin

You need a developer access token to authenticate the MCP connection with the LogyxCode API. Go to your Profile settings and generate an MCP API Key. Keep it secret.

Remember to prefix your API Key with Bearer when providing it in configurations.

Claude Desktop Configuration
Instruct Claude Desktop to connect to the LogyxCode online service using the stdio-to-SSE bridge.

1. Open Claude Desktop Configuration File

Depending on your operating system, open (or create) the following configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

2. Add the Server Configuration

{
  "mcpServers": {
    "logyxcode": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://logyxcode.onrender.com/mcp",
        "--header",
        "Authorization: Bearer lyx_live_YOUR_API_KEY"
      ]
    }
  }
}

⚠️ Make sure to replace YOUR_API_KEY with your generated developer key.

3. Restart Claude Desktop

Relaunch Claude Desktop. If the connection is successful, you will see a plug/hammer icon representing the LogyxCode tools.

Common Issues & Troubleshooting

Command failed with "No active session" or "Unauthorized"
Make sure your Authorization header includes the word Bearer (with a space) followed by your actual API Key. E.g. Bearer lyx_live_....
JSON configuration errors
Windows uses backslashes for paths, which can get unescaped in JSON. If you are configuring a local file path, use forward slashes (e.g. C:/path/to/logyxcode/apps/mcp/dist/index.js) inside JSON configuration files.