Connect an agent over MCP
There are two ways to give an agent Furnace tools:
| Remote server | Local furnace mcp | |
|---|---|---|
| Runs | At https://api.falcata.io/mcp | On your machine, over stdio |
| Signs in with | OAuth, negotiated by the client | The personal access token saved by furnace auth login |
| Tools | Every exposed Furnace operation | A small fixed set (tasks, boards, content, dictionaries, Ledger) |
| Pick it when | Your client supports remote MCP servers with OAuth | Your client only runs local servers, or you already use the CLI |
Remote server
Add a remote (HTTP) MCP server to your client with this URL:
https://api.falcata.io/mcp
A client that supports MCP authorization signs in by itself. The first call that needs a token answers 401 with a header that points at the server's OAuth metadata:
WWW-Authenticate: Bearer realm="furnace", resource_metadata="https://api.falcata.io/.well-known/oauth-protected-resource"
From there the client follows the standard discovery and dynamic registration steps:
- It reads
/.well-known/oauth-protected-resource, which names the protected resource (https://api.falcata.io/mcp) and its authorization server. - It reads
/.well-known/oauth-authorization-serverfor the authorize, token and registration endpoints. The server supports the authorization-code grant with PKCE (S256) for public clients, with one scope,full. - It registers itself with
POST /oauth/register, sending aclient_nameand itsredirect_uris(HTTPS, orhttp://localhost). It gets back aclient_id; there is no client secret. - It opens your browser at
/oauth/authorize. You sign in with Falcata ID if you are not already, see the client's name on a consent page, and approve or deny. - On approval the client exchanges the code at
/oauth/tokenand receives a bearer token, which it sends on every later call.
The token acts as you. It is stored as one of your personal access tokens, labelled OAuth: <client name>. The full flow, with every parameter, is on OAuth 2.1 and PKCE.
What the tool list looks like
tools/list needs no token, so a client can show the tools before you sign in. Each entry has a name, a title, a description written for an agent, a JSON Schema for its input, and a hint saying whether it only reads:
{
"name": "kvark_list_automation_tasks",
"title": "kvark: list automation tasks",
"description": "...",
"inputSchema": { "type": "object", "properties": { "...": {} } },
"annotations": { "readOnlyHint": true, "openWorldHint": false }
}
Tools are grouped by app slug: <app>_<operation> for app operations, snake-case capability names for platform capabilities, and whoami to check who you are signed in as. A tool whose description says it is deprecated has a newer successor in the list; prefer that one. The MCP page explains the naming and how each tool matches a REST route.
Calling a tool needs the token, read or write API access to match the tool, and the permission the operation itself requires. A failed call returns a result marked isError with { "error", "code" }.
Local server: furnace mcp
The furnace CLI can run an MCP server on your machine over stdio. Sign in once, then point your client at the command:
furnace auth login
furnace mcp
The server reads the token that furnace auth login saved (in ~/.config/furnace/auth.json by default) on every call, so signing in again in another terminal takes effect without restarting it. Set FURNACE_PROFILE in the server's environment to use a different saved profile, and run a second server entry to reach a second profile side by side. If no token is saved, every tool answers an error telling you to run furnace auth login.
Its tools call the same REST API:
| Tool | Does |
|---|---|
whoami | Checks the saved token and returns the user it resolves to |
list_tasks, get_task, move_task | Read and move your Kvark tasks |
list_boards, create_board, rename_board, archive_board | Manage your Kvark Boards |
share_board, unshare_board, leave_board, list_board_shares | Share boards |
list_content, get_content | Read content pages and a namespace's tree |
search_dictionaries | Search the Florio and Crusca dictionaries |
ledger_read, ledger_write, ledger_action_read, ledger_action_write | Run a Ledger operation by name |