abba-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@abba-mcpregister my brain sections to the Allen atlas and save the session"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
abba-mcp: ABBA for AI assistants (experimental)
Lets an AI assistant drive ABBA (Aligning Big Brains and Atlases) to
register brain sections to an atlas. The assistant runs ABBA's commands, looks at what they produced, and once the
result is right saves the session (.abba state file) and a Groovy script that replays every step.
You can follow along and take over at any time: by default, ABBA's window opens on your screen as usual.
It is an MCP server, so it is not tied to one assistant: it works with any application (MCP client) that can start a local MCP server, and any model it offers that calls tools and reads images (the assistant looks at pictures of your slices).
Install
You need uv and an internet connection for the first run. Java, Fiji and ABBA are downloaded for you.
Claude
Claude Desktop: download
abba-mcp-<version>.mcpbfrom the releases and double-click it.Claude Code:
claude mcp add abba -- uvx abba-mcp
VS Code (GitHub Copilot)
Or, from a terminal: code --add-mcp '{"name":"abba","command":"uvx","args":["abba-mcp"]}'.
OpenAI
Codex (CLI, IDE extension), and the ChatGPT desktop app, which shares Codex's configuration:
codex mcp add abba -- uvx abba-mcpChatGPT on the web connects to remote MCP servers only: it cannot start this one.
Any other MCP client
The server talks MCP over stdio (protocol versions 2024-11-05 to 2025-11-25): command uvx, arguments
abba-mcp. Most applications (Cursor, Gemini CLI...) take this JSON in their MCP settings:
{
"mcpServers": {
"abba": {
"command": "uvx",
"args": ["abba-mcp"]
}
}
}uvx abba-mcp runs the latest release; uvx abba-mcp@0.25.0 a given one (the version is the ABBA it runs).
The server gives the assistant its rules and points it to its documentation through the MCP instructions.
Some applications do not pass them on: if the assistant seems not to know how to proceed, ask it to read
guides/abba.md with the abba_docs_read tool first.
Related MCP server: Flow-Registration MCP
First run
The first time the assistant uses Fiji, the server downloads Java, Fiji and ABBA, then starts them: allow several minutes; later starts are much faster. Meanwhile the assistant is told that Fiji is starting, and tries again. DeepSlice, Elastix and atlases are also downloaded the first time they are needed.
With or without a window
Window (default): ABBA opens its window on your screen. You see what the assistant does, can select slices for it, and can take over.
Headless: no window, for servers and remote machines. The assistant shows you snapshots instead, and manual registrations are not available. Set the environment variable
ABBA_MCP_HEADLESS=truefor the server:"env": {"ABBA_MCP_HEADLESS": "true"}next to"args"in the JSON,-e ABBA_MCP_HEADLESS=truebefore--forclaude mcp add,--env ABBA_MCP_HEADLESS=trueforcodex mcp add. In Claude Desktop, turn on Run Fiji without a window in the extension's settings.
Privacy
What the assistant looks at (snapshots of your slices, the session state, file names) is sent to your AI provider, as for anything else you show it. Fiji itself is only reachable from your own computer (port 9090 on 127.0.0.1).
Versions
The version is the ABBA version it runs (0.25.0), with .post1, .post2... for a fix of this server alone.
Every machine gets the same Fiji, ABBA and plugins, and the assistant's documentation is written for exactly that
version. Your own Fiji installation is not used or modified.
Troubleshooting
"The Fiji on port 9090 runs ...": another Fiji with an MCP server is already running (your own, or one started by another version of this bundle). Close it and ask again.
Fiji does not start: its log is
fiji.login~/.abba-mcp(setABBA_MCP_HOMEto use another folder).Questions about ABBA itself: the ABBA documentation of this version and the image.sc forum.
Developing or releasing this bundle: see DEVELOPMENT.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
Design, save, and run outcome-aligned AI workflows and verifiers, with reliable image output.
Image and video AI tools and your own pipelines, run from any AI assistant.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Connect any AI to your Foundry VTT world: actors, combat, dice, journals, tokens, compendiums.
Related MCP Servers
- AlicenseAqualityCmaintenanceConnects 3D Slicer with AI assistants through the Model Context Protocol, enabling medical image processing and scene manipulation using natural language.356 PyPI41MIT
- FlicenseNot gradedqualityDmaintenanceProvides programmatic access to variational optical-flow motion correction for 2-photon microscopy videos and volumetric 3D scans. It enables AI assistants to perform automated motion correction on microscopy data through the Model Context Protocol.-
- AlicenseAqualityAmaintenanceEnables AI agents to control Fiji/ImageJ for microscopy image analysis through natural language commands, supporting operations like image opening, filtering, particle analysis, and automated workflows.1936 PyPI2BSD 3-Clause
- AlicenseAqualityCmaintenanceEnables LLMs to control a live Siril GUI session through a bridge, allowing them to run Siril commands and scripts, inspect image state, get previews and statistics, and perform edits such as selections and undo.91GPL 3.0