agtOS exposes an MCP (Model Context Protocol) server via Streamable HTTP transport. External AI clients can connect to invoke voice pipeline, system monitoring, workflow, and scheduling tools. Endpoint:Documentation Index
Fetch the complete documentation index at: https://docs.agtos.ai/llms.txt
Use this file to discover all available pages before exploring further.
http://<host>:<MCP_PORT>/mcp
Default: http://localhost:4100/mcp
Transport: Streamable HTTP (ADR-005)
Server Name: agtos | Server Version: 1.0.0
Voice Tools
voice.speak — Speak Text
voice.speak — Speak Text
Synthesize text to speech and play it through the agtOS voice pipeline. Returns confirmation when synthesis begins.
Input Schema
The text to speak (min length: 1).
Voice name override (e.g.
"af_heart").Target voice session ID. Omit for default session.
Example Input
Success Response
Error Response
voice.listen — Listen for Speech
voice.listen — Listen for Speech
Start listening for speech input via the agtOS voice pipeline. Returns the transcribed text when speech is detected and processed.If no speech is detected:
Input Schema
Maximum listen duration in milliseconds (default: 5000, max: 30000). Must be a positive integer.
Target voice session ID. Omit for default session.
Example Input
Success Response
Error Response
System Tools
system.health — System Health
system.health — System Health
session.status — Session Status
session.status — Session Status
Get information about voice sessions. When called without a
sessionId, returns a summary of all active sessions. When called with a specific sessionId, returns detailed information about that session.Input Schema
Specific session ID to query. Omit for overview of all sessions.
Example Input (all sessions)
Example Input (specific session)
Success Response (all sessions)
Error Response
Orchestration Tools
Orchestration tools are conditionally registered. Workflow tools require a workflow engine; scheduler tools require a Redis-backed scheduler. If neither is available, orchestration tools are skipped entirely.
workflow.run — Run Workflow
workflow.run — Run Workflow
workflow.list — List Workflows
workflow.list — List Workflows
schedule.create — Create Scheduled Task
schedule.create — Create Scheduled Task
Create a new scheduled task. Supports cron expressions for recurring tasks, one-time execution at a timestamp, or interval-based repetition.
Input Schema
Human-readable name for the scheduled task (min: 1).
Type of schedule:
cron, once, or interval.Cron expression (e.g.
"*/5 * * * *"). Required when scheduleType is cron.Unix millisecond timestamp. Required when
scheduleType is once.Interval in milliseconds. Required when
scheduleType is interval.Event bus topic to publish when the task fires (min: 1).
Optional payload included in the fired event.
Example Input (cron)
Example Input (once)
Example Input (interval)
Success Response
Error Response
schedule.list — List Scheduled Tasks
schedule.list — List Scheduled Tasks
schedule.cancel — Cancel Scheduled Task
schedule.cancel — Cancel Scheduled Task
Memory Tools
memory.ask_about_user — Ask About User
memory.ask_about_user — Ask About User
Ask a question about the user via the Dialectic reasoning engine. Gathers the user profile, stored conclusions, and relevant episodic memories to synthesize an answer with a confidence score.
Input Schema
The question to ask about the user (max 2,000 characters).
Example Input
Success Response
Error Response
This tool requires the memory coordinator to be initialized (Redis must be connected). The
confidence score ranges from 0.0 to 1.0. The sources array lists episodic memory IDs used to generate the answer.Discovery Tools
discover_tools — Search Tool Registry
discover_tools — Search Tool Registry
Search the tool registry for available tools by keyword or category. This meta-tool is always included in the LLM context window (regardless of dynamic tool selection) so the agent can discover tools that were not pre-selected for the current request.
Input Schema
Keyword search query to match against tool names and descriptions.
Optional category filter (e.g.,
smart_home, voice, system).Example Input
Success Response
Error Response
This tool is only registered when a
toolSelector is configured (dynamic tool selection is enabled). It allows the agent to search for tools that were filtered out by the initial similarity-based selection. See Dynamic Tool Selection for details.Connecting to the MCP Server
Using the MCP SDK (Node.js)
Using curl (for testing)
The MCP protocol uses JSON-RPC over HTTP. You can test with curl by sending properly formatted JSON-RPC requests:Claude Desktop Configuration
Add agtOS as an MCP server in your Claude Desktop config (claude_desktop_config.json):
Tool Availability
Not all tools are always available. Tool registration depends on which services are running:| Tool Group | Dependency | Condition |
|---|---|---|
| Voice tools | Voice pipeline | Always registered (may return errors if pipeline down). |
| System tools | Health manager | Always registered. |
| Memory tools | Memory coordinator | Registered only if memory coordinator exists (Redis connected). |
| Workflow tools | Workflow engine | Registered only if workflow engine exists. |
| Scheduler tools | Redis scheduler | Registered only if Redis is connected. |
| Discovery tools | Tool selector | Registered only if dynamic tool selection is configured. |