Repository navigation
Tools and MCP
Status: Partial
Last Updated: 2026-11-13
Audience: Users
Last verified: 2026-11-13 against b1688a8de
Code: src/Martlet.Desktop/Pages/Tools, src/Martlet.Desktop/McpToolService.cs, src/Martlet.Mcp.Client, src/Martlet.Desktop/ConversationTools.cs
Give Martlet tools, and she helps on your PC and in your smart home while you talk. External tools ask first unless you allowed the tool or server. The Terminal has its own confirmation setting.
Her tools come from three places:
- MCP servers that you add. MCP (Model Context Protocol) is an open standard that lets an AI model use other programs and services, such as files, browsers or calendars.
- The built-in Terminal, which runs commands on your PC.
- Martlet's own built-in tools, such as reminders, pictures and web research.
- For tools in the reply itself, use a Thinking model that can call tools through OpenAI or a Chat Completions endpoint. Ollama, LM Studio, OpenRouter and NVIDIA Build are examples. Model support varies. Test tools on Companion › Thinking checks your model.
- The director can run tools after an exchange through a tool-capable model in the Thinking pool. The replying model does not need to call those tools itself.
- When a model refuses tools, Martlet stops offering them to that model on this PC for a week.
- External MCP tools and Terminal commands serve the conversation, including the director after an exchange. Built-in background work also uses tools, such as memory updates. Screen and camera capture do not by themselves grant permission to run external tools.
Open Companion › Tools. The MCP servers card lists your servers.
To add a server from a directory:
- Press Browse MCP directory.
- Choose the GitHub MCP Registry (the most popular servers first) or the Official MCP Registry (everything, A to Z).
- Search, then choose a server. Martlet shows what it does, what it needs and how it runs.
- Fill in the fields. Secret fields, such as API keys, go to Windows Credential Manager, not into a file.
- Press Install and start.
What you type in the search box goes to the directory you chose.
- A server that runs on this PC needs its runtime, such as Node.js or Python's
uvx. When the runtime isn't on this PC, install it and restart Martlet first. The first start downloads the server, which can take a minute. - A server at an online address gets what your tool calls send. A server that requires authentication needs a supported key or token configuration.
- In any field you can type
${env:NAME}to use an environment variable. - Installing a server again under the same name replaces it. When
mcp.jsonhas another server with that name, Martlet asks first. - When Martlet can't install a server by itself, it says why. The server's page
may describe other ways to run it, which you can add in
mcp.json.
To add a server by hand, press Edit servers and paste its configuration
into mcp.json. The file uses the same format as Claude Desktop, Cursor and
VS Code. Martlet runs servers that are programs on this PC (stdio) and servers
at a Streamable HTTP address. It does not support the older SSE transport.
Martlet saves mcp.json as plain text, so keep secrets in environment
variables. Insert example adds a file server for your Documents folder,
which needs Node.js.
Servers that you added have On, Run without asking and Remove.
Restart appears after an enabled server has a status. Ask again removes a tool's saved approval.
Remove also forgets the secrets that Martlet kept for it.
Servers don't start when Martlet starts. They start when you open a talk window
or press Start servers now. A server that another feature adds (such as
Smart home) says Managed by that feature; change its permissions there. When
a feature wants a server name that mcp.json already uses, rename or remove
that entry in mcp.json.
A server is a program that runs with your permissions, or an online service that gets what you send it. Install only servers you trust. Your servers stay on each computer, because they are programs installed there.
Before a server's tool runs, the talk window shows Allow this tool? with the tool, its server and the exact details it sends. Choose:
- Allow once
- Always allow: this tool runs without asking from now on.
- Deny
No answer in 60 seconds means Deny. Managed servers, including Home Assistant, never offer Always allow (see Smart Home).
Recent tool use on the Tools page lists each call and its result until you close Martlet. It is never saved.
Skip confirmations only for tools you understand. The Thinking model chooses what to send, and text that a tool reads (a web page, a file or an email) can try to steer it. What a tool gets and returns goes to your Thinking model.
Companion › Tools › Terminal lets Martlet run commands on this PC when you ask, for example "How much space is left on my D: drive?"
- Turn on Let Martlet run terminal commands. It is off until you turn it on. It needs a Thinking model that can call tools (see What you need).
- Choose the Shell: Windows PowerShell, PowerShell 7 or Command Prompt.
- Choose where it Starts in: your home folder or a folder you choose.
- Choose the Time limit for one command: 15 seconds, 30 seconds or 1 minute.
Ask before every command is on by default. The talk window shows each command with Allow once and Deny. You can turn asking off, but Martlet asks you to confirm it first, because a command can do anything you can.
Each command runs hidden, one at a time, in a new shell. It runs as you and never as administrator. A command that waits for typing ends at once. The command and what it prints go to your Thinking model. The Terminal setting stays on this PC; your other computers keep their own.
Say "Remind me to stretch at three" or "Remind me in an hour to check the oven". Martlet sets, lists and cancels your reminders.
- When a reminder is due, Martlet says it on the companion PC you used last, so you hear it once, where you are.
- When no talk window is open, she starts a conversation in the background to say it.
- When Thinking isn't set up, a Windows notification shows the reminder.
- A reminder that came due while Martlet was off is said late, when Martlet starts within 12 hours.
- Each person in your household has their own reminders. See Accounts and household.
When Martlet isn't sure of a fact, such as a price, a date or how to get something in a game, she does a quick look-up on the web instead of guessing. She tells you in a minute or two. Ask her to research something, and she writes a full report. See Web research.
Martlet keeps working while you talk. Two places show what she does:
- In the talk window, the task button at the top opens the Background tasks list. It shows thinking longer, look-ups, research, pictures, songs and due reminders, where each one runs and how long it took. Cancel stops one. Stop (Esc) does not stop them.
- The Background tasks page in the main window shows long steps, such as setting up a computer, downloads and updates. When you hide a step's window, the step keeps running there.
The Thinking requests page shows each job of your Thinking pool.
Martlet's own tools need no external server. Their feature rules still apply. A reply gets only the tools that its setup can use. The director or a check-in may take some tools after the reply.
| Tools | What they do |
|---|---|
think_longer, cancel_thinking, research
|
Think it over, look it up or research it in the background (Thinking) |
manage_memories, find_memories, search_conversations, reminders, list_reminders
|
Remember and forget facts, find earlier conversations, set reminders (Memory) |
manage_preferences |
Keep your own rules for how she behaves, such as no hints (Your preferences) |
draw_picture, sing_song, play_song, stop_singing
|
Draw pictures, and write and sing songs (Pictures, Singing) |
list_creations, perform_creation
|
Show or sing something she made before |
body_motion |
Move a VRM character's body (The Character) |
read_up_on, search_guide, skip_guide
|
Read up on games and apps (App guides) |
game_state |
Keep game progress while App guides are on |
list_pc_tools, call_pc_tool
|
Let the director find and run this PC's MCP tools and Terminal, with the same confirmations |
call_on_discord, set_camera_background
|
Call a Discord friend, or change her camera background (Discord) |
run_terminal_command |
Run a command, when the Terminal is on |
Some of these can run right after the reply, on your Thinking pool, so her reply starts sooner. See Check-ins.
With Allow flexible smart-home requests on, Home Assistant's own MCP server also shows on the Tools page, managed by Smart home.
Browser sign-in to external MCP servers (OAuth) is not implemented in the directory installer. Use a supported key or token setup instead.
Martlet also has its own MCP server, which lets AI assistants such as GitHub Copilot, Claude and VS Code set her up. See Martlet MCP Server.
More detail: MCP, Conversation, Smart home.
Martlet: download · repository · changelog · issues
These pages come from docs/wiki in the repository. To suggest a change, open an issue or a pull request there.
- Home
- Accounts and households
- Accounts and Household
- Android phones and tablets: what it takes, and the plan
- Martlet's API for other apps and scripts
- App Guides
- App Settings and Updates
- App guides: game and app knowledge from the web
- Architecture
- Bounded PCM playback
- Audio dependency inventory and notices
- Avatar guide: Live2D, VRM and speech animation
- V01a explicit microphone capture
- Chatterbox voice engines
- Cleaning up disk space
- One Martlet on all your computers
- Companion controls and behavior requirements
- Components, jobs and placement (design)
- Live conversation
- Creations
- Decision map: which file owns each decision
- Deep research: web search and long research jobs
- The desktop app: updates, notification area, exiting and appearance
- Linux and macOS desktop companion: research, decision and plan
- Developer Guide
- Dia voice engine
- Diagnostics
- Discord
- Architecture and provider contracts
- Discord
- Memory (P03a/P03b/P03c)
- Singing
- Desktop troubleshooting and local support
- Recognizing people by voice, and Parakeet
- Echo cancellation
- ElevenLabs voice: your cloned voice with tones
- F5 worker and reference-voice foundation
- FAQ
- First Steps
- Game state plan: implementation history
- Glossary: one name for each concept
- GPT-SoVITS voice
- Hosted Thinking: cloud models when Thinking can't run on this PC
- Installation and support
- Installing Martlet
- iOS and iPadOS: what it takes, and the plan
- Repository instructions for coding agents
- Repository knowledge base
- Knowledge base maintenance
- GitHub Wiki mirror
- Linux and Mac
- Listening and Voice ID
- Local model apps
- Lorebooks
- macOS: what it takes, and the plan
- Martlet MCP Server
- MCP in Martlet
- MCP: The app's window
- MCP: Apps, home and memory
- MCP: Characters
- MCP: Diagnostics and logs
- MCP: Computers, network and accounts
- MCP: Other
- MCP: Tool permissions
- MCP pages
- MCP: Server and protocol internals
- MCP: Settings
- MCP: Start here
- MCP: Thinking and models
- MCP: Voice and listening
- Memory
- Messaging apps
- Model catalog: sources, conflicts and design
- Motion host role
- Multiple Computers
- Your Martlet network
- OCR host role
- Share your language models: the OpenAI-compatible endpoint
- Packaging
- Perception worker contracts
- Personality and Characters
- Picture making
- Pictures and Creations
- Picture making host role
- Platforms: what each device can do
- Prerequisites: what Martlet bundles, installs for you, or needs from you
- Privacy and Safety
- Reading the text on your screen
- Wiki source
- Recommendation design: ask three questions, plan for three situations
- Recommended setups: one machine to unlimited budget
- Releasing
- Repository Layout
- Research and provenance ledger
- Resource footprints
- Roadmap
- Watch my screen: screen-aware commentary
- Search engine
- Image and audio models: who sees, who hears, who answers
- Setting Up a Host
- Setup, Windows credentials and local audio
- Sharing with Friends
- Singing
- Smart Home
- Smart home and cameras
- Source Projects
- Talking to Martlet
- Telegram and WhatsApp
- The Character
- Thinking
- Tools and MCP
- Troubleshooting
- Martlet desktop UI design
- User stories and target flows
- Voice activity detection
- Validating changes
- Validation and Testing
- Vision
- Voice latency: from you stopping talking to Martlet's voice
- Voice recognition host role
- Multi-engine voice setup and comparison
- Voices
- The welcome wizard
- XTTS-v2 voice engine