An MCP server for the API of AFT (Aim, Focus, Track), a self-hosted application for tasks. It turns AFT's API into MCP tools, so an agent such as Claude can read your boards and make safe, reversible changes to them.
What is exposed
- Reads: every
GETendpoint, except anyGETthat changes state (SIDE_EFFECT_GET_PATTERNSinsrc/aft_mcp/server.py). - Writes: only reversible changes to things inside a board (
ALLOWED_WRITESinsrc/aft_mcp/server.py): edit or move a card, set done status and assignees, archive/unarchive cards, add comments and checklist items, update checklist items, add cards and columns, rename or reorder columns, and promote cards to a global board and move them between its states. Adding a card or column, and promoting a card, can't be undone through the server (deleting and demoting areDELETEs), so remove a mistake in the AFT UI. - Never exposed:
DELETEroutes (including demoting a card from a global board), creating boards, and board-level or global-board settings (rename, owner, visibility, public link, import).
Read-only mode, a board allowlist and an audit log narrow this further: see Access and auditing.
Quickstart
You need uv; it fetches Python 3.14 itself if needed.
-
Make an AFT user for the agent. In AFT's User Management, create a user (for example
claude), make it API only, give it access to the boards the agent should work on, and choose Create API Token. -
Put the settings in
~/.config/aft-mcp/.env(%APPDATA%\aft-mcp\.envon Windows), readable only by you (mkdir -p ~/.config/aft-mcp && chmod 700 ~/.config/aft-mcp). Two settings are enough:AFT_MCP_BASE_URL=https://aft.example.com AFT_MCP_TOKEN=<the token from step 1>
-
Add it to Claude Code, pinning
<ref>to a release tag or commit:claude mcp add aft -- uvx --from git+https://github.com/samcorky/aft-mcp@<ref> aft-mcp
Then ask Claude "What is on my AFT boards?", or check the connection with
/mcp.
Documentation
- Settings: every variable, with its type, default and allowed values. Start from
.env.example. - Connecting clients: Claude Code, Claude Desktop, the Agent SDK and other MCP clients, running from a checkout, and tool permissions.
- Access and auditing: the dedicated AFT user, read-only mode, the board allowlist and the audit log.
- Running with Docker: the image on GHCR, its settings and tags, and building it yourself.
- Running on a server: one aft-mcp on a server, reached from each workstation over SSH, so the credential never sits on a workstation.
How it works
aft-mcp fetches AFT's Swagger 2.0 spec, converts it to OpenAPI 3 (swagger_convert.py), and builds one MCP tool per
allowed endpoint with FastMCP (server.py). Settings are loaded and checked once at startup
(settings.py). Every tool call acts as the one AFT user whose credentials the server holds, so it is meant for
single-user use over stdio.
Development
uv sync
uv run poe init # install the git hooks
uv run poe check # format, lint, types and tests, as CI runs them
The tests need no AFT instance and never read .env. See CONTRIBUTING.md for the full workflow,
code style, and the rules for changing which endpoints are exposed.
Contributing
Contributions are welcome. Read CONTRIBUTING.md and the Code of Conduct, and report security issues privately as described in SECURITY.md. For help, see SUPPORT.md.
Licence
Metadata
Release files for aft-mcp 2026.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aft_mcp-2026.11.0.tar.gz | 201.3 kB | With provenance | Details for aft_mcp-2026.11.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aft_mcp-2026.11.0-py3-none-any.whl | Python 3 | none | any | Details for aft_mcp-2026.11.0-py3-none-any.whl |
Total release size: 234.0 kB
Release files / aft_mcp-2026.11.0.tar.gz
| Download URL | aft_mcp-2026.11.0.tar.gz |
|---|---|
| Size | 201.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6bb1d952222720c07b3e74c7cdd743531c5aea8839102d1e59b6021a8cf35cc
|
|
BLAKE2b-256 checksum How to use checksums |
96a513320a717f4da6d304114c7a88067b3824c544c594049d8e60fa1787ca8e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logRelease files / aft_mcp-2026.11.0-py3-none-any.whl
| Download URL | aft_mcp-2026.11.0-py3-none-any.whl |
|---|---|
| Size | 32.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6853bc0c9f6276f60bfebb45a10d84f2960d3e2e30c87e06c4545be4cd3c77db
|
|
BLAKE2b-256 checksum How to use checksums |
4669a2f4664fb5517615ad0c734c5b0400bd5c49c031c516c3245fc5a4752c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logSecurity for aft-mcp 2026.11.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for aft_mcp-2026.11.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.