mirofish-mcp-server
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., "@mirofish-mcp-serverlist my projects"
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.
mirofish-mcp-server
MCP (Model Context Protocol) server for MiroFish — the AI-powered multi-agent prediction engine. Connect Claude Code (or any MCP-compatible AI client) directly to your local MiroFish instance.
What this does
MiroFish lets you upload documents, build a knowledge graph, spin up thousands of autonomous AI agents, and simulate future scenarios. This MCP server exposes all of that as tools Claude can call directly from a conversation.
┌─────────────┐ stdio ┌───────────────────┐ HTTP ┌──────────────────┐
│ Claude Code │ ◄────────────► │ mirofish-mcp- │ ────────────► │ MiroFish Backend │
│ │ │ server (Node.js) │ │ (Flask on :5001) │
└─────────────┘ └───────────────────┘ └──────────────────┘Related MCP server: Docalyze
Prerequisites
Node.js 18+
MiroFish running locally — clone and start it first:
git clone https://github.com/666ghj/MiroFish.git
cd MiroFish
cp .env.example .env
npm run setup:all
npm run dev # starts backend at http://localhost:5001Using Claude as MiroFish's LLM — MiroFish accepts any OpenAI-compatible API. To use Claude, set these in your MiroFish .env:
LLM_API_KEY=sk-ant-api03-... # your Anthropic API key
LLM_BASE_URL=https://api.anthropic.com/v1
LLM_MODEL_NAME=claude-sonnet-4-6
ZEP_API_KEY=... # still required for the knowledge graphMiroFish's LLM client passes base_url directly to the OpenAI SDK, so Claude handles all internal AI work — ontology extraction, agent profiling, simulation decisions, report generation — with no code changes.
Installation
git clone https://github.com/thisisaman408/mirofish-mcp-server.git
cd mirofish-mcp-server
npm install
npm run buildConnect to Claude Code
Create a .mcp.json file in the directory where you run Claude Code (or your project root):
{
"mcpServers": {
"mirofish": {
"command": "node",
"args": ["/absolute/path/to/mirofish-mcp-server/dist/index.js"],
"env": {
"MIROFISH_BASE_URL": "http://localhost:5001"
}
}
}
}Replace /absolute/path/to/ with the actual path where you cloned this repo. Then restart Claude Code — the MiroFish tools will appear automatically.
Custom backend URL
If MiroFish runs on a different host or port, change MIROFISH_BASE_URL:
"env": {
"MIROFISH_BASE_URL": "http://192.168.1.10:5001"
}Available Tools (40 total)
Health
Tool | Description |
| Check if the MiroFish backend is running |
Projects
Tool | Description |
| List all projects |
| Get project details by ID |
| Delete a project |
| Reset project state to rebuild graph |
Knowledge Graph
Tool | Description |
| Upload documents and generate entity/edge ontology |
| Build a Zep knowledge graph from a project (async) |
| Get all nodes and edges from a graph |
| Delete a graph |
Tasks
Tool | Description |
| Poll an async task's progress |
| List all background tasks |
Simulation
Tool | Description |
| Create a new simulation from a project |
| Generate agent profiles + config (async) |
| Check preparation progress |
| Start running the simulation |
| Stop a running simulation |
| Get simulation details and status |
| List all simulations |
| Get real-time run status |
| Get detailed round/agent progress |
| Get generated agent profiles |
| Get simulation config |
| Get history of all simulations |
Simulation Results
Tool | Description |
| Get all entities from the knowledge graph |
| Get a specific entity's context |
| Get entities filtered by type |
| Get all agent actions during the run |
| Get chronological event timeline |
| Get agent behavior statistics |
| Get posts generated by agents |
| Get comments/replies generated by agents |
Interview
Tool | Description |
| Chat with a specific simulated agent |
| Ask multiple agents the same question |
| Ask all agents a question |
| Get conversation history with an agent |
Reports
Tool | Description |
| Generate prediction report (async) |
| Check report generation progress |
| Get full report content |
| Get report by simulation ID |
| List all reports |
| Delete a report |
| Real-time section-by-section progress |
| Get all completed sections |
| Get a single section by index |
| Check if a simulation has a report |
| Chat with the AI Report Agent about results |
Debug Tools
Tool | Description |
| Semantic search over the knowledge graph |
| Get node/edge counts and entity distribution |
| Check simulation environment status |
| Shut down a simulation environment |
Example conversation with Claude
Once connected, you can talk to Claude naturally:
"List my MiroFish projects"
"Create a simulation about public opinion on climate policy using project proj_abc123"
"Interview agent Li Wei — ask her what she thinks about the new carbon tax"
"Generate a prediction report for simulation sim_xyz789 and show me the executive summary"
"Search the knowledge graph for anything about social media sentiment"
Workflow
The typical end-to-end flow in MiroFish:
1. Generate ontology → mirofish_generate_ontology (upload docs)
2. Build graph → mirofish_build_graph (async, poll with get_task)
3. Create simulation → mirofish_create_simulation
4. Prepare simulation → mirofish_prepare_simulation (async, generates agent profiles)
5. Start simulation → mirofish_start_simulation
6. Monitor / results → get_posts, get_actions, get_timeline
7. Generate report → mirofish_generate_report (async)
8. Interview agents → mirofish_interview_agent
9. Chat about results → mirofish_chat_with_report_agentDevelopment
# Edit src/index.ts, then rebuild
npm run build
# Run directly (requires MiroFish backend)
node dist/index.jsThe server uses stdio transport — Claude Code launches it as a subprocess and communicates over stdin/stdout.
License
MIT
This server cannot be installed
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/thisisaman408/mirofish-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server