Skills and MCP
Skills and MCP serve different roles:
- a Skill is a named set of events that Axocoatl publishes on its event feed when the Skill fires;
- an MCP server supplies external tools over a standard protocol.
Both live in Settings, but only MCP calls pass through the built-in interactive tool-approval gate.
Configure and fire a Skill
Section titled “Configure and fire a Skill”skills: - id: review-requested name: Review requested description: Publish an event when review should begin. emits: [ReviewRequested]Choose Settings → Skills, select the record, and choose Fire this Skill, or use the daemon API:
# The local API needs the daemon's token; curl reads the header from stdin.printf 'Authorization: Bearer %s\n' \ "$(cat ~/Library/Application\ Support/Axocoatl/data/local-api-token)" | curl -H @- -X POST http://127.0.0.1:8080/api/skills/review-requested/fireOn Linux, the token is in ~/.local/share/axocoatl/local-api-token unless
XDG_DATA_HOME or AXOCOATL_DATA_DIR says otherwise.
The CLI commands named axocoatl skills list and axocoatl skills run belong
to a separate registry of built-in prompt templates. run renders a template
for piping into chat; it does not list or fire the YAML Skill records shown in
Settings.
Firing publishes each event name in emits on the event feed, with the payload
{"fired_by_skill": "<skill-id>"}. A Session that enables the Skill also gives its
Agents a skill_<id> tool that fires it the same way. Firing starts no Agent by
itself: to make a published event start work, create an Automation with an On
Skill or On event trigger, or send it to an endpoint with a
webhook.
A 1.0 Skill’s reacts_to, agents and prompt keys were removed in 1.1.0. They
never ran anything; a config that still sets them loads, and the daemon warns at
startup that they are ignored.
Connect an MCP server
Section titled “Connect an MCP server”MCP configuration supports stdio and HTTP-style transports through these
fields: name, transport, optional command and args, optional env,
optional url, and optional headers.
mcp_servers: - name: local-tools transport: stdio command: npx args: ["-y", "@example/mcp-server"] env: EXAMPLE_API_KEY: "${EXAMPLE_API_KEY}"Settings can also connect supported catalog entries to the live registry, show discovered tools, reconnect a server, remove it, and inspect saved permissions. The CLI provides read-oriented inspection and an MCP stdio server mode:
axocoatl mcp servers --config ./axocoatl.yamlaxocoatl mcp tools --server local-tools --config ./axocoatl.yamlaxocoatl mcp serve --config ./axocoatl.yamlApprove a tool call
Section titled “Approve a tool call”When an Agent requests an MCP tool with no matching saved decision:
- Axocoatl pauses the call and shows the Agent, server, tool, and a truncated argument preview.
- Choose Allow or Deny.
- Choose whether the decision applies once, to this Agent and tool, to this Agent and server, or to any Agent on this server.
- The blocked call resumes or returns a denial.
A pending approval waits up to five minutes. Timeout or connection closure defaults to a non-persisted deny and removes the pending entry. Saved allow and deny decisions appear under Settings → MCP servers → Permissions, where they can be revoked.
Current limitations
Section titled “Current limitations”- Attempts do not expose Skills or MCP tools.
- Catalog connect/remove is process-local and does not rewrite configuration. Already-built Agent executors are not refreshed by a later connection; add the server to YAML and restart the daemon for durable Agent use.
- User-defined
hooks:entries are parsed and validated but do not execute. The daemon logs a warning for a non-empty block. - The built-in MCP approval gate is the active tool-interception mechanism; custom hooks cannot replace it.
- An MCP server is code or a remote service with its own security boundary. Review its package, command, credentials, availability behavior, and data handling before connecting. The current MCP transport library decodes one complete protocol message before Axocoatl’s retained-output bounds apply.
Next: Configure Automations →