Skip to content

MCP servers and skills

Two standard ways to extend what agents can do work in endurable as they do elsewhere: MCP servers give agents tools, and skills give them instructions.

A Model Context Protocol server gives agents tools for something outside your code: your issue tracker, a database, a browser, a design tool.

MCP servers are listed in one file, ~/.endurable/mcp.json. Settings → MCP servers shows its path. The format is the common mcpServers one, so an entry copied from Claude Code, Cursor or Pi usually works as it is. A few things don’t carry over.

{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["-y", "@playwright/mcp@latest"]
},
"linear": {
"url": "https://mcp.linear.app/mcp"
}
}
}

A server with a command is run on your computer. A server with a url is remote.

The file is watched. Save it and the changed servers reconnect. You can also ask an agent to edit it.

endurable reads only this file. It doesn’t read mcp.json files from your repositories or from other tools, because a repository could otherwise decide what runs next to your accounts.

An entry can also have:

Field Does
enabled false turns the server off. The switch in Settings writes this.
description A line shown on the server’s card.
timeout Seconds a request may take. Default 60.
cwd For a local server, the folder it runs in. Default your home folder.
oauth For a remote server whose OAuth needs settings of its own, such as a registered clientId and clientSecret, or a scope.
exposure How agents come by the server’s tools: "deferred" (the default) means they search for them, "direct" puts them in front of the agent at all times, "codemode" offers them only to scripts, and "hidden" withholds them.
toolExposure The same, for single tools: a map from a tool’s name, or a pattern with *, to one of those four.

An entry endurable can’t use is skipped, and Settings → MCP servers says why. The other servers still load. The cases:

  • "type": "sse". The older SSE transport isn’t supported. Use the server’s streamable HTTP address.
  • An auth field. Use headers with a secret, or OAuth.
  • A value that starts with !, which in Pi runs a command to get the value. Keep the value as a secret and write ${NAME}.
  • A name that isn’t letters, digits, _ and -, or two names that differ only by - and _.

Write ${NAME} anywhere in a server’s env or headers, and endurable fills in the secret of that name kept for all projects. If there’s no such secret, it uses an environment variable of that name that endurable was started with. Changing the secret reconnects the servers that use it.

{
"mcpServers": {
"github": {
"url": "https://api.githubcopilot.com/mcp/",
"headers": { "Authorization": "Bearer ${GITHUB_TOKEN}" }
}
}
}

A remote server that uses OAuth shows Needs sign-in in Settings. Press Sign in, finish in the browser, and it connects. If you signed in on another device and the last page didn’t load, paste the address it ended on. Tokens are kept in your keyring.

Each server applies in All projects, in one profile’s threads, or Only in the projects you check. With two accounts on one service, a work Linear and a personal one, add them as two servers and give each its own profile or projects.

A thread outside a server’s projects can’t find or call its tools.

An agent doesn’t have every MCP tool in front of it all the time, which would cost tokens on every request. It searches for tools when it needs them, and a server’s tools become available once found.

In the transcript, an MCP call reads as “Called github · search_issues”.

MCP tools ask for approval in Ask and Auto-edit mode and run freely in Full access. From a sandbox thread they ask in every mode, because they run on your computer and not in the sandbox. Always on the approval lets that tool through from then on.

Agents can read a server’s resources as well as call its tools. Reading never asks.

Settings → MCP servers lists each server with its state (Connected, Connecting, Disconnected, Needs sign-in, Couldn’t connect, Off), an On/Off switch, Reconnect, Sign in or Sign out for a server that uses OAuth, where it applies, and its tools with their descriptions. A disconnected server connects again the next time an agent uses it. When a server fails, the error is shown, with a local server’s own output under Show details.

What servers log goes to mcp.log in endurable’s data folder.

A skill is a folder with a SKILL.md file: instructions for one kind of task, sometimes with scripts or reference files beside it. This is the open Agent Skills format, and skills written for other tools work here.

---
name: release-notes
description: Write release notes from the commits since the last tag. Use when asked to prepare a release.
---
1. Run `git log $(git describe --tags --abbrev=0)..HEAD --oneline`.
2. Group the commits under Added, Changed and Fixed.
3. ...

An agent sees every available skill’s name and description. When a task matches, it reads that skill’s full instructions. The description is what makes this work, so say plainly when the skill applies.

A skill with disable-model-invocation: true in its front matter is kept off that list. Agents never pick it up by themselves, and it runs only when you call it by name.

In order, with the first of a given name winning:

  1. .pi/skills/ in the thread’s folder,
  2. .agents/skills/ in the thread’s folder, and in each folder above it up to the top of the repository,
  3. ~/.pi/agent/skills/, then ~/.agents/skills/,
  4. the skills endurable ships.

A skill added while a thread is open is picked up by its next message.

Type / at the start of a message to list the thread’s skills, and pick one. The message is sent as /skill:name followed by your words, and the agent loads that skill before reading the rest.

endurable ships a skill called fresh-review, for a second opinion on a thread’s work. Send /skill:fresh-review, with a few words on what to look at if you like. A fresh agent that sees only the changes, and none of the conversation that produced them, reviews the work. The thread’s agent then fixes each finding or says why it disagrees, and the review repeats until nothing is left. Only you can start it.

Settings → Skills lists every skill on this computer: yours, each project’s own, and the ones endurable ships.

  • Install. Search skills.sh, the open directory of agent skills, and install what you find. A skill tells agents what to do, and can bring scripts they run, so install only ones you trust. Skills are installed with skills.sh’s own skills CLI into ~/.agents/skills/, so they’re the same ones npx skills manages, and your other agents find them too.
  • Turn off, or keep to some projects. Each skill has a switch, and a menu for where it’s on: all projects, one profile, or only the projects you pick. Where a skill is off, it’s gone: agents aren’t offered it, and it isn’t in the / list. To use a skill in one project only, pick that project. A change applies from each thread’s next message.
  • Update. The page looks for newer versions at each skill’s source when you open it, at most once an hour, and when you ask. A skill with one says “Update available”; update it alone, or all of them at once.
  • Remove. Deletes one of your skills from this computer, for your other agents too. A project’s own skills are files in its repository: change them there. The skills that come with endurable can be turned off but not removed.
You want Use
Agents to follow a procedure, or to know something about your project A skill, or AGENTS.md
Agents to call an existing service’s API An MCP server
A button, a panel, an app, a model provider, or a tool only you need An extension