Skip to content
Cursor

lm for Cursor

io.github.houtini-ai/lm

Connect Claude to any OpenAI-compatible LLM endpoint and offload routine work to a local model.

client:Cursor transport:stdio runtime:npm

Install lm in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "lm": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@houtini/lm"
      ],
      "env": {
        "HOUTINI_LM_ENDPOINT_URL": "<HOUTINI_LM_ENDPOINT_URL>",
        "HOUTINI_LM_API_KEY": "<HOUTINI_LM_API_KEY>",
        "HOUTINI_LM_MODEL": "<HOUTINI_LM_MODEL>",
        "HOUTINI_LM_PROVIDER": "<HOUTINI_LM_PROVIDER>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

lm in other clients