LogiShell docs Open app

Your own agent and LogiShell

You keep the agent you already use. LogiShell gives it one address, and through that address it reaches your projects, machines, board and memory as you. This page is the whole path: connect, what you get, what keeps it safe, and what to do when something does not work.

The address is the same for every client:

https://mcp.logishell.com/mcp

There is no token to copy. The client finds our sign-in on its own, opens your browser, and you sign in to LogiShell. If you have no account yet, that sign-in creates one.

What you get

The personal door (/mcp) shows your own LogiShell world. Everything the tools return belongs to the account you signed in with. An agent there can:

What an agent cannot do on its own:

The full list of tools, generated from the code, is on the MCP door page. A member of an organization and a person without one get every tool their rights allow. A guest of an organization gets the read tools only.

A short list keeps your agent cheap. The door has about sixty tools, and every agent pays for the tool list in tokens on every turn. So tools/list returns a core of ten (list_repos, list_nodes, board_overview, add_board_task, todo_add, search_memory, search_workspace, ask_human, get_human_answer, request_terminal_action) and two more: find_tools names every other tool and returns its schema, call_tool runs one by name. That is about 4 300 tokens instead of 18 800. Nothing is taken away. If your client works better with every schema up front, connect to https://mcp.logishell.com/mcp?tools=full instead.

The public door (/mcp/public) needs no account. It reads these docs, checks LogiShell's health and lets an agent inspect any other public MCP server. Use it to try a client before you sign in:

https://mcp.logishell.com/mcp/public

Connect

Use the name logishell so the tool names read the same everywhere. Each recipe ends at the same place: the client opens a LogiShell sign-in page in your browser, you approve, and the tools appear.

Claude Code

claude mcp add --transport http logishell https://mcp.logishell.com/mcp

Add --scope project to share it with everyone in the repository (it goes into .mcp.json), or --scope user for every project on this machine. Then run /mcp inside Claude Code, pick logishell and sign in. Until you do, claude mcp list shows the server as Needs authentication, which is the expected state, not an error.

From a LogiShell shell, lsh mcp install --personal writes the same entry into the project's .mcp.json, and lsh mcp doctor shakes hands with every door and says which one answers.

claude.ai and Claude Desktop

  1. Open Customize → Connectors (on Team and Enterprise an owner adds it once under Organization settings → Connectors).
  2. Press Add, then Add custom connector.
  3. Name: logishell. URL: https://mcp.logishell.com/mcp. Press Continue.
  4. Keep the detected sign-in. If the form asks about the OAuth client, choose Register automatically. Leave Client ID and Client Secret empty.
  5. Press Add, then connect and sign in to LogiShell in the window that opens.

In a chat, turn the connector on with + → Connectors.

Codex CLI

codex mcp add logishell --url https://mcp.logishell.com/mcp

Codex finds the sign-in itself and opens the browser right away. If you closed it, run codex mcp login logishell. On a machine without a browser, codex mcp login logishell --no-browser prints the address; open it anywhere and paste the redirect address back. The entry lands in ~/.codex/config.toml:

[mcp_servers.logishell]
url = "https://mcp.logishell.com/mcp"

codex mcp list shows Not logged in until you sign in.

Cursor

Add the server to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "logishell": {
      "url": "https://mcp.logishell.com/mcp"
    }
  }
}

Open Cursor's settings, find logishell in the MCP section and press its sign-in button. No auth block and no Client ID are needed: Cursor registers itself. The MCP door page has a one click install link with the same entry.

VS Code (Copilot agent mode)

Run MCP: Add Server from the command palette, choose HTTP, paste https://mcp.logishell.com/mcp and name it logishell. Or write it into .vscode/mcp.json in the workspace:

{
  "servers": {
    "logishell": {
      "type": "http",
      "url": "https://mcp.logishell.com/mcp"
    }
  }
}

VS Code opens the browser on the first connection. MCP: List Servers shows the state and lets you start the sign-in again. Leave the oauth field out: it is only for servers that need a client registered by hand.

ChatGPT

Custom MCP servers need developer mode on your plan, and the menu has been renamed more than once, so follow the words rather than a path:

  1. Open the place where ChatGPT adds apps or plugins and choose Add custom MCP server (older builds: Settings → Apps & Connectors → Advanced settings → Developer mode, then Create).
  2. Name: logishell. Server URL: https://mcp.logishell.com/mcp.
  3. Authentication: OAuth.
  4. Confirm the warning, create it, then sign in to LogiShell.

ChatGPT asks you before every tool that is not marked read only. LogiShell marks every read tool with readOnlyHint, so only real changes ask.

opencode

Put the server into opencode.jsonc (project) or the global config:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "logishell": {
        "type": "remote",
        "url": "https://mcp.logishell.com/mcp"
      }
    }
  }
}

Then opencode mcp auth logishell. opencode mcp list shows needs authentication until you do. Older opencode builds read the same entry without the servers level ("mcp": { "logishell": { ... } }).

Any other client

If it speaks streamable HTTP and OAuth with dynamic client registration, it needs only the URL:

{
  "mcpServers": {
    "logishell": {
      "type": "http",
      "url": "https://mcp.logishell.com/mcp"
    }
  }
}

After sign-in you see one consent card. It names the client that asks, and the host the access goes to (for example https://claude.ai). Read that host: if it is not the client you just added, press Cancel.

The card asks what this connection may do:

RightScopeWhat it allowsOn the card
Readlogishell:readevery tool marked read onlyalways given
Writelogishell:writetickets, TODO, worklog, documents, skills, and the tools of other MCP servers you connected in LogiShellticked, you can untick it
Terminal and machineslogishell:terminalterminal requests, starting work on a machine, moving and putting projects, pairing machinesnever ticked until you tick it

The token carries exactly what you ticked, whatever the client asked for. The agent sees only the tools it may call. If it calls one it was not given, it gets a clear answer naming the missing right, and initialize already tells it what this connection cannot do. To change the rights later, revoke the client in Connected apps (below), then connect it again: the card asks once more, with the boxes to tick. offline_access lets the client renew the token without asking you again.

Even with Terminal and machines ticked, every terminal and machine action still waits for your approval of that exact action. The right lets the agent ask; your approval lets it run.

Connections made before rights existed keep Read and Write and do not get Terminal and machines. Connect again to add it.

Connected apps: see and revoke

Every client you approved is listed in LogiShell under Settings, Account, Connected apps (open it). Each row shows the name the client registered with, the host its sign-in returns to, the rights it holds, when you first approved it, and the last time it signed in or refreshed its token. Single calls are not recorded, so that is the last use LogiShell can honestly show; a working client refreshes about once an hour.

To stop a client, press Revoke next to it and confirm. Its access and refresh tokens and your consent are deleted at once: its next call answers 401 and it has to sign in again, through the consent card. Removing the server in the client alone is not enough: that only drops the client's own copy, and the token would stay valid until it expires.

Limits

Every refusal says what to do. A refusal carries a code, a reason and a next step, in error.data for protocol errors and in structuredContent.error for a tool that failed. Your agent can read them and tell you what to fix. The codes are listed on the MCP door page.

Security model

When it does not work

SymptomCauseFix
Sign-in succeeds, then every call is 401 again (a loop)The stored token expired and the refresh failed, the client was revoked in Connected apps, or the client sends the token to another address (a trailing slash, /mcp/public)Remove the server and add it again with the exact URL https://mcp.logishell.com/mcp. In Codex codex mcp logout logishell then codex mcp login logishell; in opencode opencode mcp logout logishell then opencode mcp auth logishell
The browser does not openA remote or headless machine, or no default browserCopy the sign-in address the client prints. Codex: codex mcp login logishell --no-browser. Claude Code: /mcp shows the address
The client keeps saying "needs authentication"Sign-in was never finished: the tab was closed, Cancel was pressed, or the local callback port was blockedStart sign-in again: /mcp in Claude Code, codex mcp login logishell, opencode mcp auth logishell, the sign-in button in Cursor, MCP: List Servers in VS Code
The client asks for a Client IDIt did not find dynamic registration, or a form defaults to your own OAuth clientLeave Client ID and Secret empty. In claude.ai choose Register automatically. Cursor and VS Code need no auth or oauth field. Check that the URL ends in /mcp
Lists come back emptyA new account has no projects, machines or tickets yet. An empty list is a true answerPair a machine (ask the agent to run pair_node and follow its command), or open app.logishell.com and create a project
A machine tool says the machine is offline or unresponsiveThe machine is asleep, off, or LogiShell is not running on itWake the machine or start LogiShell there. list_nodes says why each one is quiet
A terminal action waits foreverThe request is in your inbox and nobody approved it yetOpen the inbox in LogiShell (desktop or phone) and approve or reject. Then the agent calls execute_terminal_action with the same arguments
execute_terminal_action says the approval was for a different actionThe agent changed the input, session or target after you approvedAsk for a new approval. This refusal is the safety rule working
429 Too Many Requests (rate_limited)More than 300 calls a minute from your clients together, or too many client registrations from one addressWait for the Retry-After seconds. Do not add and remove the server in a loop
The agent says a LogiShell tool does not existThe tool is not in the short list, or the client cached an old listAsk the agent to use find_tools and then call_tool. Or connect to https://mcp.logishell.com/mcp?tools=full
A tool answers insufficient_scopeThe connection was not given that right (Write, or Terminal and machines)Revoke the client in Settings, Account, Connected apps, then connect it again and tick the right on the consent card
unsupported_protocol_version or the client refuses the versionThe client speaks only 2024-11-05, or sends a header the door does not knowUpdate the client. The door speaks 2025-11-25, 2025-06-18 and 2025-03-26
Sign-in works, but behind the office network every call is 401A corporate proxy or TLS inspection strips the Authorization headerAsk for mcp.logishell.com to pass without inspection, or try another network. lsh mcp doctor shows what the door answers from this machine
A guest of an organization cannot create tickets or run anythingGuests get the read tools only, and writes answer forbidden_roleAsk the organization owner to make you a member
Only six tools appear and none of them are yoursThe client points at the public door /mcp/publicUse https://mcp.logishell.com/mcp
Terminal tools are missingTerminal and machines was not ticked, or the connection is older than rightsRevoke it in Connected apps, connect again and tick Terminal and machines
You no longer use a client, or do not recognize oneIt still holds a token until you revoke itOpen Settings, Account, Connected apps and press Revoke

Report a problem

Write down the client and its version, the exact URL you added, what you expected and what you saw, and the time. A screenshot of the client's MCP screen helps. Send it with the feedback tool in LogiShell, or ask your agent to file it with add_board_task if the door already works for you. If you run a client we did not list and it does not connect, that is a bug on our side too.

To check the door yourself, from a clone of the repository:

node scripts/ci/mcp-door-probe.mjs https://mcp.logishell.com

It reads, signs nobody in and writes nothing, and prints one line per check.