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:
- read your projects, paired machines, their status and what runs in their terminals;
- search LOG memory, indexed project files, saved web knowledge and your worklog;
- read and write board tickets, your TODO list and documents by link (artifacts) directly, because every change there can be undone;
- ask you a question (
ask_human) and keep working while you decide; - use the tools of other MCP servers you connected in LogiShell, under names
like
notion__notion-search(only when the connection has Write).
What an agent cannot do on its own:
- Type into a terminal or close one.
request_terminal_actiononly puts the exact request in your inbox. Nothing runs until you approve it. Thenexecute_terminal_actionruns it once, and only if the machine, project, session, action and input are byte for byte what you approved. - Start work on a machine, move a project, put a project on a machine,
write a skill, or let a new machine take work. These tools work in two
steps too: the first call asks you, the second call with the
approvalIdyou approved does it. - See another person's things. The door does not let a tool choose whose data it reads. The account comes from the token and nothing else.
- Answer its own question. An agent can open an ask and read your verdict, never give one.
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
- Open Customize → Connectors (on Team and Enterprise an owner adds it once under Organization settings → Connectors).
- Press Add, then Add custom connector.
- Name:
logishell. URL:https://mcp.logishell.com/mcp. Press Continue. - Keep the detected sign-in. If the form asks about the OAuth client, choose Register automatically. Leave Client ID and Client Secret empty.
- 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:
- 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).
- Name:
logishell. Server URL:https://mcp.logishell.com/mcp. - Authentication: OAuth.
- 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"
}
}
}
Rights and consent
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:
| Right | Scope | What it allows | On the card |
|---|---|---|---|
| Read | logishell:read | every tool marked read only | always given |
| Write | logishell:write | tickets, TODO, worklog, documents, skills, and the tools of other MCP servers you connected in LogiShell | ticked, you can untick it |
| Terminal and machines | logishell:terminal | terminal requests, starting work on a machine, moving and putting projects, pairing machines | never 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
- One message per request. The door answers JSON, keeps no session and has
no event stream:
GETandDELETEon the door answer405. A batch of messages is refused with-32600. - Protocol versions: the door speaks
2025-11-25(preferred),2025-06-18and2025-03-26. A client asking for another version gets2025-11-25. A request with an unsupportedMCP-Protocol-Versionheader gets400. - Calls: 300 a minute per person on
/mcp(all your clients share it), 60 a minute per address on/mcp/public. Over it you get429withRetry-After. - Client registration has a ceiling: 60 a minute from one address and 500 an
hour for the whole service. Over it you get
429withRetry-After. - A terminal tail is cut at 64 KiB and a docs page at 32 KiB. Each tool's description names its own 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
- The token belongs to you. We issue it to your account after you approve, and it acts as you and nobody else: the tools cannot choose another identity.
- The client never sees a secret. Clients register themselves as public
clients without a secret, and every sign-in uses PKCE (
S256), so a code that leaks on the way is useless. - The consent card shows where the code goes. The redirect host is read
from the server, not from the address bar. Registration refuses
javascript:,data:,file:and plainhttpother than your own machine. - Approvals are bound to the exact payload. A terminal approval covers one machine, project, session, action and input. A different input, another session or a second run needs a new approval. An approval is used once.
- What a tool returns is data. Terminal text, web pages and documents can contain instructions. The tools say so in their answers, and your agent should treat them as text, not orders.
- The token is for this door only. The door's address is
https://mcp.logishell.com/mcp(RFC 8707). A token asked for another resource is refused withinvalid_target. - Rights are yours to give. Terminal and machines is off until you tick it, and a client cannot give itself more than you ticked.
- Discovery is standard. A call without a token gets
401withWWW-Authenticate: Bearer resource_metadata="…". The resource card names the authorization server (app.logishell.com), and its metadata lists PKCES256, the registration endpoint, thenoneauth method and the threelogishell:scopes.
When it does not work
| Symptom | Cause | Fix |
|---|---|---|
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 open | A remote or headless machine, or no default browser | Copy 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 blocked | Start 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 ID | It did not find dynamic registration, or a form defaults to your own OAuth client | Leave 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 empty | A new account has no projects, machines or tickets yet. An empty list is a true answer | Pair 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 unresponsive | The machine is asleep, off, or LogiShell is not running on it | Wake the machine or start LogiShell there. list_nodes says why each one is quiet |
| A terminal action waits forever | The request is in your inbox and nobody approved it yet | Open 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 action | The agent changed the input, session or target after you approved | Ask 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 address | Wait for the Retry-After seconds. Do not add and remove the server in a loop |
| The agent says a LogiShell tool does not exist | The tool is not in the short list, or the client cached an old list | Ask the agent to use find_tools and then call_tool. Or connect to https://mcp.logishell.com/mcp?tools=full |
A tool answers insufficient_scope | The 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 version | The client speaks only 2024-11-05, or sends a header the door does not know | Update 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 401 | A corporate proxy or TLS inspection strips the Authorization header | Ask 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 anything | Guests get the read tools only, and writes answer forbidden_role | Ask the organization owner to make you a member |
| Only six tools appear and none of them are yours | The client points at the public door /mcp/public | Use https://mcp.logishell.com/mcp |
| Terminal tools are missing | Terminal and machines was not ticked, or the connection is older than rights | Revoke it in Connected apps, connect again and tick Terminal and machines |
| You no longer use a client, or do not recognize one | It still holds a token until you revoke it | Open 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.