Capabilities

MCP servers on your machine

The MCP servers you set up for Claude Desktop or LM Studio work with a model on your own machine too. Studio imports them, runs the ones you turn on, and asks you before every call, with the arguments in front of you.

Bring your servers across

  1. Open Studio (llamay app, or /studio on any llamay serve).
  2. Open Settings → Connectors. The first section, On this machine, lists the servers in ~/.llamay/mcp.json.
  3. Press Import from Claude Desktop / LM Studio. Each server it finds is added, turned off, and the sentence under the button says what was added and what was left alone.
  4. Tick the ones you want. Each starts, and its row lists its tools when it is ready.
  5. Pick a model on this machine and ask. When the model wants a tool, a card appears in the conversation.

Import looks in Claude Desktop's config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows, ~/.config/Claude/claude_desktop_config.json on Linux) and in LM Studio's ~/.lmstudio/mcp.json. It never overwrites a server you already have: a name llamay knows is kept as it is, and nothing is renamed to make room.

Install a bundle (.mcpb)

A .mcpb file is a server packaged for Claude Desktop: a zip with a manifest.json that says how to start it and which settings it needs. llamay installs the same files.

  1. In Settings → Connectors → On this machine, press Install a bundle (.mcpb), or drop the file on the box around it.
  2. llamay checks the zip, unpacks it to ~/.llamay/extensions/<name>/ and adds it to mcp.json, turned off.
  3. If it needs settings, its form opens. Fill it in and press Save. An API key or other field the bundle marks sensitive is kept the way Studio keeps a provider's key, never written to mcp.json, and never shown again: the box says only that a value is saved.
  4. Tick it. Until every required setting has a value, the tick is refused and says which one is missing.

llamay does not include Node.js or Python. A bundle whose server runs on one is refused if it is not installed on your machine, with a sentence saying which, rather than installed to fail later. Binary bundles need nothing. Remove takes out the server, its files, its settings and its saved keys.

A zip is refused if it is larger than 64 MB, unpacks to more than 256 MB, names a file outside its own folder, or holds a link that points out of it. Nothing is left behind when one is refused.

Skills

A skill is a folder with a SKILL.md: instructions for one kind of task, in the format of Anthropic's Agent Skills, so one written for Claude works here as written.

~/.llamay/skills/release-notes/SKILL.md

---
name: release-notes
description: Write release notes from a list of merged changes. Use when asked for a changelog.
---
Group the changes by area and lead with what users will notice.

Add one in Settings → Skills: paste the text, or add a SKILL.md or a .zip of the folder. A model on your machine is told each skill's name and description, and calls use_skill to read the rest when a request needs it, so a skill costs a line in every turn rather than a page. use_skill asks nothing, because it only reads text you installed; Studio shows what it read folded under the step. Each skill takes one of the forty places a turn has for tools, and a turn is offered at most twenty.

The config file

~/.llamay/mcp.json is Claude Desktop's format, so the snippet in any server's README works as written. llamay adds two keys of its own and keeps every key it does not know.

{"mcpServers": {
  "github": {"command": "npx", "args": ["-y", "@modelcontextprotocol/server-github"],
             "env": {"GITHUB_PERSONAL_ACCESS_TOKEN": "..."}},
  "notes":  {"url": "http://127.0.0.1:8808/mcp",
             "headers": {"Authorization": "Bearer ..."},
             "enabled": true, "alwaysAllow": ["search"]}
}}
KeyMeans
command, args, envA server llamay starts as a program and talks to over its standard input and output. env is added to llamay's own environment.
url, headersA server llamay reaches over streamable HTTP. https, or plain http to this machine only.
enabledllamay's own. Off unless it is true; Studio's tick box sets it.
alwaysAllowllamay's own. The tools whose calls no longer ask, set by Always allow. Per tool, never per server.
bundlellamay's own. The .mcpb bundle that installed this entry. Its sensitive settings appear as ${user_config.KEY} and are filled in only when the server starts.

The file is written readable by you alone, because env and headers are where keys go. Studio shows which variables are set, never their values. Set LLAMAY_MCP to keep the file somewhere else. Edits made by hand are picked up without a restart.

Every call asks first

A call the model makes is held by llamay until you answer it. The card shows the tool, the server and the arguments as JSON you can edit.

The result is folded under the step, so you can read exactly what the tool returned. A tool the server never listed is refused rather than tried, and the tools are offered only to models on this machine, never to a cloud model or a provider.

Tool output is untrusted

Running the model locally keeps your data on your machine. It does not stop prompt injection: a web page, an issue or a file a tool reads can contain text written to steer the model. llamay hands every result to the model inside <tool_output> tags, labelled as untrusted data, and tells the model before the conversation not to follow instructions found there. That label helps a model that is trying, and nothing more. The approval on every call is the control that holds.

A server you turn on runs as you, with your files and your network, the same as it does under Claude Desktop. Turn on servers you would run yourself.

From the terminal

llamay mcp import              # Claude Desktop's and LM Studio's servers, off
llamay mcp enable github -wait
llamay mcp tools github
llamay skill add ./release-notes
llamay bundle install notes.mcpb
llamay bundle config notes     # a secret is asked for and never shown

llamay code and llamay bot chat offer the same MCP tools and skills as Studio to a model on your machine, forty at most, and every call asks in the terminal:

  MCP tool  search on notes
    {
      "query": "invoice"
    }
  The model wants to use this tool with these arguments.
  [a]llow once · allow [A]lways · [d]eny · [e]dit arguments ›

The answer goes to llamay as Studio's card does, so the call is in the audit record the same way. Ctrl-C is deny, and with no terminal to ask, the call is denied with a line that says to allow it in Settings.

In the audit record

Started with -audit, llamay adds every call and every result to the same hash-chained file as its requests, and llamay audit verify checks them with everything else.

{"method":"MCP-CALL","path":"mcp/notes/search","status":200,"context":"once edited args:sha256:895c565a98d6a5f5",...}
{"method":"MCP-RESULT","path":"mcp/notes/search","status":200,"ms":41,"context":"result:sha256:1fa6404d85fedbd6 chars:21",...}

A denial is an MCP-CALL with status 403. The record holds digests of the arguments and the result, never their text. With -capture the text is sealed beside the record, as a request's body is.

Long conversations

Tool descriptions and tool results take up a lot of context. When a request carries tools, llamay gives it at least a 16K-token context, or 32K if your machine has the memory. It never goes past what the model was trained on. If you start llamay serve -ctx N, that number always wins.

When a Studio conversation with a model on your machine gets close to that size, the same model summarises the oldest turns into a short note. It does this the same way llamay's cloud does. Your system prompt, your memory, the latest turns, and each tool call together with its result are kept as they are. Under the answer, Studio shows Earlier messages summarised. Click it to see what the model read in place of those turns. Your saved conversation still has every message you wrote. If the summary can't be made, the whole conversation is sent and Studio tells you why.

curl -s localhost:11435/healthz | jq '{context_limit, context_window, context_window_tools}'

Starting and stopping

Limits, stated plainly