Fiji MCP Server
Allows AI agents to control Fiji/ImageJ for microscopy image analysis, including opening images, applying filters, thresholding, particle analysis, skeletonization, and running macros.
Click on "Install 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., "@Fiji MCP ServerApply a Gaussian blur with sigma 4 and show me the result."
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.
Fiji MCP Server
Ask your AI Agent in plain English to use Fiji / ImageJ to quickly analyze microscopy image also set pipelines from Cursor, Claude, Gemini, etc. You simply paste the image or ask it to navigate to the correct file.
The goal is that the AI agent should use the right ImageJ plugin, see what you are seeing and then verify its own results by writing codes without relying on vibes. I plan to setup SKILL and AI plugins in future. Would be happy to collaborate.
See it in action
"Open the image, apply a Gaussian blur, show me before and after."
Before | After |
|
|
"Threshold the bright spots, outline each object, report area and circularity."
Input | Outlined objects |
|
|
# | Area | Circularity |
1 | 1052 | 0.89 |
2 | 2840 | 0.72 |
3 | 641 | 0.91 |
4 | 1902 | 0.68 |
"Skeletonize the mask and summarize branches per tree."
Mask | Skeleton |
|
|
Tree | Branches | Junctions |
1 | 14 | 6 |
2 | 9 | 7 |
Get started in 3 steps
1 — Install
pip install fiji-mcp-serverYou need Python 3.10+, Fiji installed on your machine, and Java (required by PyImageJ). See quickstart if anything needs clarification.
2 — Connect to your AI app
Replace /Applications/Fiji with your actual Fiji folder (the one containing jars/ and plugins/).
App | One command |
Claude Desktop |
|
Cursor |
|
Claude Code |
|
Gemini CLI |
|
Windsurf |
|
Then restart the app.
3 — Verify it works
In chat, type:
Run the Fiji MCP health_check toolYou should get back the Fiji version and mode. First startup takes 30–90 seconds while the JVM loads — that's normal.
What to ask
Once connected, just describe what you want:
"Open ./images/cells.tif and tell me the dimensions."
"Apply a Gaussian blur with sigma 4 and show me the result."
"Count the bright objects and give me their areas."
"Search for ImageJ commands related to 'threshold'."
"Open the image, subtract background, threshold, count particles — show me a screenshot after each step."No macro knowledge needed. The assistant finds the right Fiji plugin, runs it, and can show you a screenshot to verify.
Available tools (19 total)
Category | Tools |
Run & I/O |
|
Screenshots |
|
Discover plugins |
|
Image info |
|
Workflows |
|
Results |
|
Session |
|
Documentation
Install, configure, verify — step by step | |
What every tool does and when to use it | |
Environment variables and troubleshooting | |
How the pieces fit together |
Author: Suraj Sahu · UC Merced Physics · ssahu2@ucmerced.edu
Related: cellpose_mcp · PyImageJ · FastMCP
License: BSD-3-Clause
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/surajinacademia/Fiji_imageJ_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server





