Back to DocsIntegrations

MCP Setup

Lexic exposes an MCP server that lets Claude Code, Cursor, Windsurf, and other MCP-compatible AI coding tools read from and write to your knowledge graph during a session.

🔗

Connection details

Server URL

https://app.lexic.io/api/mcp

Transport

Streamable HTTP (MCP spec-compliant).

Authentication

OAuth 2.1 Bearer Token. Generate a token from your Lexic settings page and pass it in the Authorization header.

🤖

Claude Code

Add Lexic to your Claude Code MCP config:

{
  "mcpServers": {
    "lexic": {
      "url": "https://app.lexic.io/api/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN_HERE"
      }
    }
  }
}
💻

Cursor, Windsurf, and other editors

Follow your editor's MCP server configuration steps. The URL and Authorization header are the same as the Claude Code config above. Streamable HTTP transport is the standard MCP transport supported by all MCP-compatible clients.

What you can do

Once connected, your AI assistant can:

  • Search your knowledge graph for relevant notes, decisions, and learnings
  • Surface entities (people, projects, concepts) related to your current task
  • Write new learnings back to the graph as they emerge in your session
  • Read project-specific context scoped to the current Nexus

Read/write by default. Tools that modify the graph (creating notes, recording learnings, logging decisions) require manual approval per call. Read-only tools (search, retrieval) are auto-approved.

Next steps