MCP server that delegates mechanical tasks to local OpenAI-compatible inference backends (llama.cpp, Ollama, etc.) and provides context-management tools (compaction, scratch store, token estimation).
View on GitHub →
🔍 Audit Wallet Slippage →
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Claude Desktop
Claude Code
Cursor
Add to claude_desktop_config.json:
{
"mcpServers": {
"local-swarm-mcp": {
"command": "go",
"args": [
"run",
"github.com/jhonsferg/local-swarm-mcp@latest"
]
}
}
}
📋 Copy
Run in terminal:
claude mcp add local-swarm-mcp go run github.com/jhonsferg/local-swarm-mcp@latest
📋 Copy
Add to .cursor/mcp.json:
{
"mcpServers": {
"local-swarm-mcp": {
"command": "go",
"args": [
"run",
"github.com/jhonsferg/local-swarm-mcp@latest"
]
}
}
}
📋 Copy
README Excerpt
<p align="center"> <a href="https://github.com/jhonsferg/local-swarm-mcp/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/jhonsferg/local-swarm-mcp/actions/workflows/ci.yml/badge.svg"></a> <a href="https://github.com/jhonsferg/local-swarm-mcp/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>
Tools (20)
cancel_task classify_task_risk close_session compact_context create_session delegate_task estimate_tokens health_check list_available_agent_tools list_backend_hosts list_backends list_downstream_mcp_servers list_sessions list_tasks register_backend_host register_downstream_mcp_server scratch_delete scratch_get scratch_list scratch_set
Topics
ai-agents golang llama-cpp llm local-first mcp model-context-protocol ollama tool-calling