Athenode

Athenode MCP server

The Athenode MCP server reference lists every tool of the server named athenode, its modules, how a session finds its project and how an AI tool connects to it. Your AI agent reads and changes the specifications, ToDo cards and plugins of your project through this server, and works on the project's SSH hosts.

What the Athenode MCP server gives your AI tool

The Athenode MCP server is the server your AI agent talks to. The athenode daemon is the local Athenode server that the athenode package installs: it keeps your projects on your machine and serves the web UI and the Athenode MCP server at http://127.0.0.1:3717. Athenode Pro is the Athenode server a team runs itself, with accounts, project roles and a licence, and it serves the same tools at its own address. Each session works in one project and acts on that project only.

You rarely add the server yourself. When you run athenode init, the CLI writes a server named athenode into the configuration of each AI tool you selected, inside the plugin package or in the tool's MCP configuration file, with the project's id and the modules you chose in its address:

http://127.0.0.1:3717/api/mcp?project=<id>&modules=platform,plugins,specs,gateway

athenode sync keeps that entry up to date. Install a plugin describes init, and Files installed for each AI tool names the MCP configuration file of each AI tool. After the first install, follow the steps init prints under "Still to do in your tools:", so that the tool loads the server.

A skill is a reusable set of instructions that an AI tool loads when it is relevant, usually run as a slash command such as /atn:mindmap. The skills of the standard Athenode plugin do their work through these tools, so every AI tool you run them in needs the server. For Goose, Athenode installs local-command MCP servers only, so Goose gets no Athenode MCP server and the plan of init lists it under "Not installed:".

The Athenode MCP server is Athenode's own. The MCP servers you add to a plugin are described in MCP servers in a plugin.

Connect to the Athenode MCP server

The server speaks the Streamable HTTP transport of MCP at the path /api/mcp. An AI tool connects with the address and two optional parameters:

Parameter Value
?project= The id of the project the session works in. Optional on the daemon, required on Athenode Pro. An id that names no project of the server refuses the connection.
?modules= The modules whose tools the session gets, separated by commas. All of the server's modules when it is left out.

A session that has no activity for 30 minutes ends, and the AI tool starts a new one at its next call. While a call waits for your approval in the SSH gateway, the server tells the AI tool every 15 seconds that the call is still running.

Connect to the local daemon

The daemon serves the server at http://127.0.0.1:3717/api/mcp, or at the port you started it with. It needs no sign-in and no token. It listens on 127.0.0.1 only and answers requests addressed to 127.0.0.1:<port> or localhost:<port>, and to the host of its public URL when you set one.

An AI agent that runs in a container or a virtual machine on your computer reaches the daemon under another address, such as http://host.docker.internal:3717. Set that address as the daemon's public URL and make the port reachable from the container, as Configuration of the athenode daemon describes. athenode mcp-config then prints the MCP entry with that address. A team whose members or agents work on other computers uses Athenode Pro.

Connect to Athenode Pro

An Athenode Pro server serves the tools at /api/mcp of its public address, such as https://athenode.example.com/api/mcp?project=<id>. Every address must name a project with ?project=, and the server refuses a connection without one.

Your AI tool signs in with OAuth the first time it connects. It opens the browser, you sign in to the Pro server and allow the AI tool on the consent page, and no token goes into the tool's configuration. The tools then run as your account, with your role in the project. Connect to Athenode Pro describes the sign-in, the consent page and which AI tools can sign in.

While the server has no valid licence, it ends its MCP sessions and refuses new ones until a valid licence key arrives. The Pro licence describes the licence states.

athenode mcp-config prints the configuration snippets for an AI tool and writes nothing. It shows the command for Claude Code, the entries for Cursor (~/.cursor/mcp.json, or .cursor/mcp.json in a project), for VS Code (.vscode/mcp.json) and for other clients.

athenode mcp-config [--client <client>] [--project <id>] [--port <n>]
Option Description
--client <client> Print only the snippet of one client: claude-code (or claude), cursor, vscode or json.
--project <id> The project id to put into the address. Without it, the address carries <PROJECT_ID>, and the command says to replace it with the id from the project's settings page.
--port <n> The daemon's port, when it is not the one in its configuration or the one it runs on.
npx @athenode/cli mcp-config --client claude-code --project <id>

The project id and the full MCP address are also on the project's Project settings page, as Projects describes. On Athenode Pro, the administrator prints the snippets on the server with athenode-pro mcp-config --project <id>, which takes --public-url for the address to print.

Modules of the Athenode MCP server

A module is a group of tools. A session gets the tools of the modules its address names, and all of the server's modules when the address names none.

Module Tools
platform The projects of the server, the session's project and the server's status
specs Specifications with their questions, answers, implementation plans and blockers, and ToDo cards
plugins Plugins with their skills, agents, rules, MCP servers and plugin files, external plugins and the plugin library
gateway Connections, commands, files, background jobs, services and health checks of the SSH gateway

?modules= lists the modules by these ids. An id the server does not have refuses the connection, with the list of the server's modules. A list that leaves out platform leaves out its tools too, so init always adds it. init asks which of the other modules your AI tools get, as Choose the modules of the Athenode MCP server describes.

On Athenode Pro, a module that the licence does not include, or that the administrator leaves out of the server's configuration, has no tools in any session. Configure Athenode Pro describes the server's modules.

Which project a session works in

Every tool of a session acts on one project, and the session finds it in this order:

  1. If the address has ?project=<id>, the session works in that project.
  2. On the daemon, without ?project=, the session asks the AI tool for its workspace folders and reads .athenode/config.json in each. A folder counts only when its file binds it to this daemon. The project of the folders that count is the session's project.
  3. Until the session has a project, every tool call answers with an error that starts with NO_PROJECT:, followed by the cause and what to do.

A repository is bound to a project when athenode init has run in it, which writes .athenode/config.json. The Claude Code marketplace package of the standard plugin uses step 2: its address names no project, and the daemon takes the project from the repository you open.

On Athenode Pro only step 1 applies. In a session that has a project, the tool projects_binding returns that project and the binding a working folder needs to open sessions in it.

When a tool answers NO_PROJECT

Cause in the error What to do
The AI tool declares no workspace folders Add ?project=<id> to the address. A bridge such as mcp-remote passes no folders, so its address always needs ?project=.
No folder has an .athenode/config.json that binds it to this server Run athenode init in the repository, or add ?project=<id> to the address.
The folder's .athenode/config.json names another server The repository is bound to another daemon port or to an Athenode Pro server. Run athenode init again to bind it here, or add ?project=<id>.
The folders bind different projects Open the AI tool from one repository, or add ?project=<id>.
The AI tool did not answer the request for its folders Add ?project=<id> to the address.
The folder's .athenode/config.json names a project that does not exist on this server The project was deleted. Run athenode init to bind the repository to another project.
The session's project does not exist any more Change ?project= to the id of another project.

How tools are named and called

A tool is named after its group and action, joined with underscores, such as specs_get, specs_qa_add, plugins_pull_preview or mcp_servers_create. The SSH gateway tools are named after their action alone, such as exec, read_file or list_connections.

AI tools show a tool with the server name in front. In Claude Code the prefix depends on how the plugin is installed:

How the plugin is installed in Claude Code specs_get appears as
As a plugin package, or from the Claude Code marketplace mcp__plugin_<slug>_athenode__specs_get, which is mcp__plugin_atn_athenode__specs_get for the slug atn
As files mcp__athenode__specs_get

Use that longer form in a permission rule of Claude Code or in a skill you write for it. A plugin package is the package that seven AI tools load a plugin from, named after the plugin's slug, with its commands written /<slug>:<skill>. Plugin package or files for each AI tool says when Claude Code receives which.

A tool takes named parameters, and your AI tool shows the parameters of each tool. These rules hold for all of them:

  • Text is passed inline. Specification content, prompts, rules, plugin files and answers are parameters. Two kinds of tool read or write files outside Athenode: plugins_external_import_preview, plugins_external_import and the two external update tools accept the path of a local folder on the daemon, and the SSH gateway's upload and download return a one-time URL with a curl command that the agent runs on its own machine to move a file to or from a host.
  • null clears a field where the parameter allows it: the summary, content and parent of a specification, an implementation plan, the summary of a plugin file.
  • A change through a tool replaces what is stored, also when someone changed the same item in the web UI in the meantime.
  • A failed call returns an error with a message, and some errors carry a code, such as NO_PROJECT or PERSONAL_CREDENTIALS_REQUIRED.
  • A change to the project's active plugin answers with a reminder to run athenode sync, because the server writes no file into your repository. A change to another plugin is saved in Athenode only.

Tools of the Athenode MCP server by module

Project and status tools

The platform module. A project is the container of one specification tree, its ToDo cards, its plugins and its SSH connections. Tools that take project accept its id or its exact name.

Tool What it does Key parameters
projects_list Lists the projects of the server with their ids and names. On Athenode Pro, the projects you have a role in. none
projects_get Returns one project. project
projects_create Creates a project. The name is 1 to 100 characters and unique on the server. name
projects_rename Renames a project, with the same rules for the name. project, name
projects_delete Deletes a project with everything in it. Refused while the project has SSH connections. project
projects_binding Returns the session's project and the binding a working folder needs to open sessions in it. none
platform_status Returns the server's version and edition, the account the session acts for, the server's modules and the session's modules, the session's project and, on Athenode Pro, the licence status. none

Projects describes what deleting a project removes.

Specification tools

The specs module. A specification is one described piece of work, with a title, a summary, Markdown content, a status and its own questions and answers. Statuses are draft, prepared, processing and completed.

Tool What it does Key parameters
specs_list Lists specifications, filtered by status, to the children of one specification or to the top level. parentId and topLevel exclude each other. status, parentId, topLevel
specs_search Finds specifications by their words, and on an Athenode Pro server with search by meaning also by meaning. Returns up to 50 matches. query
specs_tree Returns the subtree under id. With branch, the ancestors of id. With query, up to 20 matches nested under their ancestors, optionally under id. With executionOrder, the order in which the leaves under id can be implemented. id, status, includeContent, branch, query, executionOrder
specs_get Returns one specification with its content, status and blockers. id
specs_create Creates a specification. With todoCardId, it is recorded as the specification the card became, which is refused for a card that already has one. title, parentId, summary, content, status, blockedBy, todoCardId
specs_update Changes the given fields, moves the specification to another parent and adds blockers. blockedBy only adds. id, title, summary, content, parentId, blockedBy
specs_delete Deletes a specification with all of its sub-specifications. Refused when the subtree blocks a specification outside it, unless force is true. id, force
specs_set_status Sets the status. id, status
specs_set_plan Sets the implementation plan, or removes it with null. id, plan
specs_get_plan Returns the implementation plan. id
specs_qa_list Lists the questions and answers of a specification. specificationId
specs_qa_add Records a question, in Markdown, with its options in the text. specificationId, question
specs_qa_answer Records the answer to a question. specificationId, questionId, answer
specs_blockers_list Lists the specifications that block a specification. id
specs_blockers_add Adds one or more blockers, all of them or none. id, blockerIds
specs_blockers_remove Removes one blocker. id, blockerId

A blocker is a dependency between two specifications: a specification that is blocked by another is implemented after it. Specifications describes the statuses, the blocker rules and what the search matches.

ToDo card tools

The specs module. A ToDo card is a short note of work to do later: a follow-up, tech debt, a bug or an idea.

Tool What it does Key parameters
todos_list Lists cards with their open questions. Without status it returns the open cards. specificationId keeps the cards that came from or became that specification. status (a list of open, done, dismissed), specificationId
todos_get Returns one card with its status, the specification it became and its open questions. id
todos_create Creates an open card. The title is up to 200 characters and the description up to 10,000. The type is follow-up, tech-debt, bug or idea (default idea), the priority low, medium or high (default medium). title, description, type, priority, originSpecificationId, questions (at most 3)
todos_set_status Closes an open card as done or dismissed. id, status
todos_qa_answer Answers an open question that has no answer yet. id, questionId, answer

Editing, reopening and deleting a card are done in the web UI, as ToDo cards describes.

Plugin tools

The plugins module. A plugin is a named bundle of what your AI coding tools work with: skills, agents, rules, MCP servers and plugin files. These tools name a plugin by its exact name, or by its id with byId, pluginById or sourceById set to true. plugins_list returns the ids.

Tool What it does Key parameters
plugins_list Lists the plugins of the project with their ids, slugs and library origin. none
plugins_create Creates an empty plugin. The name is up to 200 characters, the description up to 25,000. name, description, slug
plugins_update Changes the name, the description or the slug. A new slug renames the plugin package and its commands at the next athenode sync. target, name, description, slug
plugins_delete Deletes a plugin. target
plugins_clone Copies a whole plugin under another name. source, name, slug
plugins_pull_preview Returns what pulling one plugin of the project into another would add, what conflicts and what is the same. source, plugin
plugins_pull Copies skills, agents, MCP servers, plugin files and rules from one plugin of the project into another. source, plugin, decisions
plugins_external_import_preview Returns the external plugins a package offers and what importing one would bring, with its licence and warnings. With plugin, also the merge into that plugin. source, pick, plugin
plugins_external_import Imports an external plugin as a new plugin, or merges it into plugin. source, pick, name, slug, plugin, decisions
plugins_external_sources Lists the external plugins a plugin was imported from, with the items each one brought. plugin
plugins_external_update_preview Checks an external plugin source for a new version and returns what the update would add, change and remove. pluginSource, plugin, path
plugins_external_update Updates an external plugin source to its new version. pluginSource, plugin, path, decisions

An external plugin is a plugin package from outside Athenode, such as an Agent Plugins or Claude Code plugin, that you import into a plugin. Its source is a public GitHub or GitLab repository address, or on the daemon the path of a local folder. Athenode Pro refuses a local path.

The pull, merge and update tools come in pairs: the preview returns what would change, and the second tool applies it. Without decisions, the second tool adds every new item, replaces nothing and keeps the plugin's rules. With decisions in the shape of the preview, it adds the items you list, and replaces the items you list when confirmReplace is true. The rules are kept, appended to or replaced. When the plugin changed since the preview, the call is refused and writes nothing, and the agent previews again. Review a merge describes the same choices in the web UI, and Pull from another plugin and Import an external plugin the two tasks.

Plugin file tools

The plugins module. These tools act on the project's active plugin, or on another plugin of the project with pluginId. Paths use /, and each part of a path holds letters, digits, dots, underscores and hyphens.

Tool What it does Key parameters
plugins_files_list Lists one folder, or the top level without path. path, pluginId
plugins_files_get Returns one file with its content, such as settings/SETTINGS.md. path, pluginId
plugins_files_create Creates a file, or a folder with dir, and the missing folders above it. path, dir, content, summary, pluginId
plugins_files_update Replaces the content or the summary of a file. path, content, summary, pluginId
plugins_files_delete Deletes a file or a folder. A folder that is not empty needs recursive. path, recursive, pluginId

A file holds up to 50,000 characters, and its summary up to 500. The skills of the standard plugin read your workflow settings with plugins_files_get, because the settings files stay with the plugin in Athenode. Plugin files and settings files describes the files.

Agent, skill, rules and MCP server tools

The plugins module. Like the file tools, these act on the project's active plugin, or on another plugin with pluginId. They find an agent, a skill or an MCP server by its name, or by its id with byId.

Tool What it does Key parameters
agents_list Lists the agents of the plugin. pluginId
agents_create Creates an agent in the plugin. name, description, prompt, metadata, pluginId
agents_update Changes an agent. Metadata you leave out is kept. identifier, rename, description, prompt, metadata, pluginId
agents_remove Removes an agent from the plugin. identifier, pluginId
skills_list Lists the skills of the plugin. pluginId
skills_create Creates a skill in the plugin. name, description, prompt, metadata, pluginId
skills_update Changes a skill. Metadata you leave out is kept. identifier, rename, description, prompt, metadata, pluginId
skills_remove Removes a skill from the plugin. identifier, pluginId
rules_get Returns the rules of the plugin. pluginId
rules_update Replaces the whole rules text, up to 50,000 characters. An empty text empties it. content, pluginId
mcp_servers_list Lists the MCP servers of the plugin. pluginId
mcp_servers_create Adds an MCP server: command, args and env for stdio, url and headers for http and sse. name, transport, command, args, env, url, headers, pluginId
mcp_servers_update Changes an MCP server. Fields you leave out are kept, and a given args, env or headers replaces the stored one whole. identifier, name, transport, command, args, env, url, headers, pluginId
mcp_servers_remove Removes an MCP server from the plugin. identifier, pluginId

An agent or skill name is 1 to 64 lowercase letters, digits and single hyphens. metadata sets fields as {key: value}, and a key <tool id>.<field> sets a field for one AI tool, with the ids that Supported AI tools lists. Settings per AI tool lists the fields.

Plugin library tools

The plugins module. The plugin library is the shared catalogue of plugins that projects have published. An entry is named by its exact name, in any letter case, or by its id with byId. The tools that change a plugin name it with plugin, which is always required.

Tool What it does Key parameters
library_list Returns one page of entries, 20 by default and up to 100, filtered by search text or category. query, category, limit, cursor
library_get Returns one entry with its versions and the lists of its items. entry
library_item Returns the content of one item of an entry. entry, kind, itemId, path
library_add Adds an entry to the project as a plugin of its own. entry, name
library_merge_preview Returns what merging an entry into a plugin would add, what conflicts and what is the same. entry, plugin
library_merge Merges the latest version of an entry into a plugin. entry, plugin, decisions
library_update_preview Returns what updating a plugin added from the library would change. plugin
library_update Updates a plugin added from the library to the latest version of its entry. plugin, decisions
library_publish Publishes a plugin as an entry, or as the next version of its entry. plugin, name, description, category, note, confirmPublic
library_edit Changes the name, description, category or public display of an entry. entry, name, description, category, publicDisplay, confirmPublic
library_unpublish Removes an entry with all of its versions from the library. entry

The categories are programming, testing-qa, security, devops, design, productivity and other. A new entry needs one, and a new version keeps the entry's category when it is left out.

library_publish publishes nothing unless confirmPublic is true. A first publication turns public display on, and a new version keeps the entry's current public display. A plugin whose MCP servers hold a secret as a literal value is refused, as Keep secrets out of the plugin describes. library_edit with publicDisplay: true also needs confirmPublic: true, and publicDisplay: false turns public display off.

Publishing, editing and unpublishing need a sign-in to your Athenode account. Sign the daemon in as Plugin library describes. On Athenode Pro, each user signs in on the Plugin library page. The /atn:manage skill of the standard plugin asks you before it confirms a publication. Publish a plugin describes publishing, and Public display of an entry what each audience sees.

Warning

A first publication shows the plugin to every signed-in Athenode user and on the Athenode website without an account.

SSH gateway tools

The gateway module. The SSH gateway is the part of Athenode through which your AI agent runs commands and transfers files on your SSH hosts, each action approved by you or by a rule you set. A connection is one SSH host in the SSH gateway, with its login, its host key and its rules. You add connections in the web UI, as The SSH gateway describes.

These tools read and describe the connections. They take connection, the name or id of a connection, unless the table says otherwise.

Tool What it does Key parameters
list_connections Lists the project's connections with their status, confirmation mode, description and services. none
get_connection Returns one connection with its services, their health checks and their descriptions. connection
set_connection_description Sets the description of a connection, up to 4,000 characters, or clears it with an empty text. connection, description
copy_connection Copies a connection into another project with its settings, credentials, host key, rules, services and tags. connection, targetProject, name
add_service Records a service on a connection, optionally with a health check. connection, name, description, check
update_service Renames a service, or changes its description or its health check. check: null removes the check. connection, service, newName, description, check
remove_service Removes a service with its health check and the check's history. connection, service
set_session_label Names what the session is working on, as approvals and History show it. label

These tools act on a host. Each takes connection, a required reason that the person who approves sees and History keeps, and an optional sessionLabel.

Tool What it does Waits for approval
exec Runs one shell command and returns its output and exit code, as root with sudo: true. Yes
exec_output Reads more of the output of an exec call whose result was cut. No
read_file Returns a whole file. Yes
write_file Replaces the whole content of a file. Yes
list_dir Lists a folder. Yes
upload Returns a one-time URL through which the agent puts a file from its own machine on the host. Yes
download Returns a one-time URL through which the agent fetches a file from the host to its own machine. Yes
start_job Starts a long command as a background job and returns its id at once. Yes
job_status Returns the state of a background job. No
job_logs Returns the output of a background job. No
cancel_job Stops a background job. Yes
service_health Returns the health check of a service and its latest runs. No
run_service_check Runs the stored health check of a service now and returns the run. No

"Waits for approval" means the action waits for your decision in Live unless the connection's confirmation mode or an allow rule lets it run. add_service and update_service wait for approval too when they create a health check or change its command. Approvals and rules describes the confirmation modes, the allow rules and the denylist, and how to keep your AI tool waiting during an approval. Commands, files and background jobs gives the parameters, results and limits of the action tools, and Services and health checks those of the services. What Athenode stores lists what the gateway keeps of each action and for how long.

Tools that act without a confirmation step

These tools delete or remove at once when they are called, with no step in which you confirm. The skills of the standard plugin ask you before they call one of them, so ask your agent for such a call only when you mean it.

Tool What it removes What stops it
projects_delete The project with its specifications, ToDo cards and plugins SSH connections in the project
specs_delete The specification with all of its sub-specifications A specification outside the subtree that the subtree blocks, unless force is true
plugins_delete The plugin Nothing
plugins_files_delete A file, or a folder with everything in it A folder that is not empty, unless recursive is true
agents_remove An agent of the plugin Nothing
skills_remove A skill of the plugin Nothing
mcp_servers_remove An MCP server of the plugin Nothing
remove_service A service with its health check and the check's history Nothing
library_unpublish The library entry with all of its versions Nothing

rules_update replaces the whole rules text, and a merge or update with confirmReplace: true overwrites the items it lists. None of these can be undone. The files a deleted active plugin installed stay in your repository until the next athenode sync, and the answer of plugins_delete asks you to choose another active plugin in the web UI.

Tools on Athenode Pro

On Athenode Pro, every tool runs as the account that signed in the AI tool, and your role in the project decides which tools succeed. A viewer's agent reads, an editor's agent also changes specifications, ToDo cards and plugins and runs actions on SSH hosts, and an owner's agent also deletes and publishes. A call that your role does not allow is refused, and a project in which you have no role answers as if it did not exist. Project roles has the full list for each role.

Approvals of SSH gateway actions are decided by the account whose agent asked. A connection with personal credentials answers PERSONAL_CREDENTIALS_REQUIRED until you store your own, as The SSH gateway on Athenode Pro describes.

Add the Athenode MCP server to an AI tool by hand

Add the server yourself in an AI tool that init did not install into. athenode mcp-config --project <id> prints the snippet for Claude Code, Cursor, VS Code and other clients. For Claude Code, run:

claude mcp add --transport http athenode "http://127.0.0.1:3717/api/mcp?project=<id>"

In .mcp.json, which Claude Code reads, the same entry looks like this:

{
  "mcpServers": {
    "athenode": {
      "type": "http",
      "url": "http://127.0.0.1:3717/api/mcp?project=<id>"
    }
  }
}
  • Use 127.0.0.1, because the daemon listens on that address only and localhost can resolve to the IPv6 address first.
  • Keep the name athenode, because the skills of the standard plugin call the tools under that server name.
  • Add &modules= with a list such as platform,specs to give the AI tool fewer tools.
  • On Athenode Pro, use the server's public address with ?project=<id>, and the AI tool signs in at its first connection.

A client that runs local commands only reaches the server through a bridge such as mcp-remote, with the project in the address:

npx mcp-remote "http://127.0.0.1:3717/api/mcp?project=<id>"

init and sync write the athenode entry into the MCP configuration files of the AI tools you selected, on every run, and replace values you changed in that entry by hand.