BlackBox-MCP
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., "@BlackBox-MCPdelegate a code review to my Swift Expert assistant"
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.
BlackBox-MCP
A FastMCP server for local project
context and a configurable Agent Assistants / delegation system. Everything is
local-first: state lives in plain JSON under ~/.blackbox/ — no database, no cloud
service, no remote BlackBox. API keys are never stored in configuration; only the name
of an environment variable that supplies them.
Tools
Project context (original)
Tool | Purpose |
| Inventory a local project (file counts, languages, tree) and cache the result. |
| Small key/value facts scoped to a project ( |
| Leave, read, and resolve notes between agents. |
Agent Assistants (v0.1)
Tool | Purpose |
| List configured providers (public config only — never keys). |
| Manage provider configurations. |
| List configured assistants. |
| Full configuration of one assistant. |
| Manage assistant profiles. |
| Toggle an assistant on/off. |
| All capability terms in use across enabled assistants. |
| Discover assistants by capability (all-of or any-of). |
| Send a task to an assistant; returns a persistent task id. |
| Inspect task state/result. |
| Cancel a queued or running task when possible. |
Related MCP server: knitbrain
Install
cd ~/BlackBox-MCP
python3 -m venv .venv
.venv/bin/pip install "mcp>=1.10,<2" "httpx>=0.27"server.py runs with the stdio transport, which is what Zed (and most MCP clients) expect.
Note:
mcp2.x replaced theFastMCPclass withMCPServer, so BlackBox pins the latest 1.x release, which still ships the FastMCP API used here.
Run
~/BlackBox-MCP/.venv/bin/python ~/BlackBox-MCP/server.pyZed configuration
Add this to ~/.config/zed/settings.json:
{
"context_servers": {
"blackbox": {
"command": "/Users/michaelshingara/BlackBox-MCP/.venv/bin/python",
"args": ["/Users/michaelshingara/BlackBox-MCP/server.py"],
"env": {}
}
}
}Then run the zed: restart server action for the BlackBox server (or restart Zed).
Note:
argsis required for stdio servers in Zed — an entry without it fails to load. The legacy"mcp"settings key has been replaced by"context_servers". Zed only resolves settings-based context servers when at least one project folder is open — extension servers are the exception.
Agent Assistants: concepts
Two separate, independently configurable concepts:
Providers describe how a model is reached (endpoint, provider type, optional env-var key). They contain no assistant identity and no prompt.
Assistants are user-defined agent profiles: identity, provider reference, model, system prompt, temperature, max tokens, capabilities, permissions, metadata.
Changing an assistant's provider or model never touches its name, description,
system prompt, or capabilities.
Configuration
Configuration is human-readable JSON stored in ~/.blackbox/. You can edit the files
directly or manage everything through the MCP tools.
Providers — ~/.blackbox/providers.json
{
"provider::ollama": {
"name": "ollama",
"type": "ollama",
"endpoint": "http://localhost:11434",
"api_key_env": "",
"options": {}
},
"provider::mistral": {
"name": "mistral",
"type": "openai_compatible",
"endpoint": "https://api.mistral.ai/v1",
"api_key_env": "MISTRAL_API_KEY",
"options": {}
}
}Built-in provider types: stub (offline/test), openai_compatible (any
/chat/completions endpoint: Mistral, OpenRouter, Gemini, custom), ollama.
Assistants — ~/.blackbox/assistants.json
{
"assistant::swift_expert": {
"id": "swift_expert",
"name": "Swift Expert",
"description": "Senior Swift/iOS engineer",
"provider": "ollama",
"model": "qwen2.5-coder",
"system_prompt": "You are an expert Swift and iOS engineer. Answer concisely.",
"temperature": 0.2,
"max_tokens": 2048,
"enabled": true,
"capabilities": ["swift", "swiftui", "ios"],
"permissions": ["read_files"],
"metadata": {}
}
}Secrets
API keys are not stored in configuration. Providers reference an environment
variable name via api_key_env; the value is resolved at request time. list_providers
and create_provider only ever report the env-var name, never the key value.
Delegation
Lead Agent → BlackBox MCP → select assistant → resolve provider+model → execute → structured resultdelegate_task(assistant_id, task, context=..., timeout=...)enqueues a task and returns a persistenttask_idimmediately. Execution is asynchronous.Poll
get_task(task_id)orlist_tasks(...)for status.Task statuses:
queued,running,completed,failed,cancelled.Task metadata:
task_id,assistant_id,status,created_at,started_at,completed_at,task,context,result,error.
Safeguards (safe defaults)
max concurrent tasks: 4per-task timeout: 600s (override per task)maximum delegation depth: 3 (prevents uncontrolled recursive delegation)
Safeguards are module constants in blackbox/assistants/tasks.py and can be tuned there.
Capability-based discovery
You don't need to know every assistant's id:
Need: swift + ios + code_review
→ find_assistants(capabilities='["swift", "ios", "code_review"]')Returns every enabled assistant whose capabilities contain all requested terms
(or any, with any_of=true). list_capabilities() shows which terms exist.
Permissions
Assistants carry a simple, explicit permissions list (e.g. read_files, run_commands,
git, web, build, test). Default is an empty list — nothing is granted implicitly.
Permissions are currently descriptive metadata; enforcement hooks are designed into the
model so they can be expanded later. BlackBox never executes arbitrary commands simply
because a delegated assistant requests them.
Agent Orchestration coexistence
BlackBox-MCP does not duplicate Agent Orchestration:
Agent Orchestration → coordination, shared work state, handoffs, team coordination
BlackBox-MCP → project intelligence, memory, configurable assistants, delegation infrastructure
The existing agent_handoff tool is the bridge: assistants can record notes that
Agent Orchestration reads.
Storage
All data lives locally in ~/.blackbox/:
projects.json— cachedproject_scansummariesmemory.json—project_memoryfactshandoffs.json—agent_handoffnotesproviders.json— provider configurationsassistants.json— assistant profilestasks.json— delegated task state
Stop the server and delete a file to wipe that store.
Tests
cd ~/BlackBox-MCP
.venv/bin/python -m unittest discover -s tests -vTests cover the assistant registry (CRUD, validation, capability matching) and the
delegation/task lifecycle (submit, completion, cancellation, timeouts, depth guard).
They run against temporary directories and never touch ~/.blackbox.
Assistant/Provider Configuration Format
Provider
{
"name": "openai",
"type": "openai_compatible",
"endpoint": "https://api.openai.com/v1",
"api_key_env": "OPENAI_API_KEY",
"options": {
"model": "gpt-4o"
}
}Supported types: stub, openai_compatible, ollama, mistral, stepfun.
Assistant
{
"name": "Pickle",
"provider": "openai",
"model": "gpt-4o",
"role": "implementation",
"description": "General-purpose implementation assistant",
"system_prompt": "You are Pickle, an expert implementation assistant.",
"temperature": 0.2,
"capabilities": ["swift", "ios", "python"],
"filesystem_permissions": ["read", "write"],
"command_execution_permissions": ["bash"],
"max_delegation_depth": 3,
"timeout": 600.0,
"memory_access": ["project_facts", "discoveries"]
}Delegation Modes
delegate— single assistantparallel— same task to multiple assistantsreview— one produces, another reviewsdebate— competing analysespipeline— chained output-to-input
Memory Categories
project_factsarchitectural_decisionsdiscoveriesbugsfailed_approachesrecommendationsagent_observationsuser_instructions
Security
API keys are referenced by env-var name only
Keys are never exposed via tools, logs, or memory
Configurable delegation depth and max spawned agents
Optional approval gates for command/file-write/destructive operations
First Delegation Example
Create provider:
create_provider(name="openai", type="openai_compatible", endpoint="https://api.openai.com/v1", api_key_env="OPENAI_API_KEY")Create assistant:
create_assistant(name="Pickle", provider="openai", model="gpt-4o", role="implementation")Delegate:
delegate_task(assistant_id="pickle", task="Implement this feature")Check result:
get_task(task_id)
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.
Related MCP Servers
- Alicense-qualityBmaintenanceMCP server for task management, project knowledge, workspace trust, runner sandboxes, extension registry, and workflow prompts, enabling AI agents to manage tasks and collaborate locally.5,117Apache 2.0
- AlicenseAqualityAmaintenanceLocal-first MCP server that gives any AI coding agent per-project memory, workflow intelligence, and always-on, lossless token & context optimization.37353MIT
- Flicense-qualityDmaintenanceA robust, lightweight Model Context Protocol (MCP) server designed to empower your AI Agents with context-awareness, safe execution sandboxes, and dedicated thought logs.
- Alicense-qualityAmaintenanceLocal-first MCP server providing persistent markdown memory with persona engine and fast search, designed to unify AI assistant memory across Claude Code, Cowork, and Dispatch.55MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/mshanghai570/BlackBox-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server