Semlith

Connect Cursor to Semlith

How to connect Cursor to Semlith over MCP, the command or file that adds it, and how to check the connection works.

Every stanza writes ${SEMLITH_BIN} where the binary goes, the path which semlith prints. Set up your agent client explains it and the HTTP form.

Cursor — ~/.cursor/mcp.json everywhere, or .cursor/mcp.json in one repo. Cursor infers the transport from the presence of url and has no type field; one copied from another client confuses it.

Cursor is connection-tested each release: the registration below is exercised and its MCP log is checked for connected=true. Its tool calls are not tested, so a search that returns wrong results there is worth reporting.

~/.cursor/mcp.json
{
  "mcpServers": {
    "semlith": {
      "command": "${SEMLITH_BIN}",
      "args": ["mcp"]
    }
  }
}

Or against a daemon on another machine, over HTTP:

{
  "mcpServers": {
    "semlith": {
      "url": "http://127.0.0.1:7365/mcp",
      "headers": { "Authorization": "Bearer ${SEMLITH_AGENT_KEY}" }
    }
  }
}