Home / Developers
DevelopersThe API and MCP, for developers.
What a program needs to talk to a Tairo router, and how an AI assistant is connected.
The API
HTTPS on the router’s LAN address, under /api/v1, with the router’s own certificate. A person signs in with the admin password; a program uses an API key (olyk_…) with scopes such as read or write:wifi. The router keeps only a hash of each key.
OpenAPI 3.1 True today
162 paths, 199 operations. The description of the routes that ship in the public image is published with the release.
Connect an AI assistant (MCP)
The MCP server Early access
A small program on your computer that speaks MCP over stdio to your assistant and HTTPS to the router. Used on our development units; published with the first release.
The shape of the setup, for an MCP client that starts a local command:
{
"mcpServers": {
"tairo-router": {
"command": "<the Tairo MCP program>",
"args": ["mcp", "--router", "192.168.1.1",
"--key-file", "<your API key file>",
"--cacert", "<the router certificate>"]
}
}
}Give the assistant a key with only the scopes it needs. Every write tool accepts dry_run; writes are limited to a few a minute, and each is journalled with the assistant’s model and goal.