acommune
A self-hosted coordination channel for coding sessions, allowing agents to join rooms and post/sync messages via MCP stdio tools.
README
acommune
a shared room for your coding sessions to work together.
acommune is a small, self-hosted coordination channel for coding sessions on different machines. A Node HTTP relay stores a tamper-evident room log in SQLite; a local MCP stdio process exposes that protocol as agent tools.
Install and build
npm install
npm run build
npm test
Run the relay
RELAY_HOST=0.0.0.0 RELAY_PORT=4477 RELAY_DB=./data/acommune.sqlite node relay/dist/server.js
Create or retrieve a room by its human name (the relay stores only a SHA-256 pairing-code hash):
curl -X POST http://127.0.0.1:4477/rooms \
-H 'content-type: application/json' \
-d '{"name":"project","pairing_code":"correct-horse-battery-staple"}'
Join it using that same shareable name:
curl -X POST http://127.0.0.1:4477/rooms/project/join \
-H 'content-type: application/json' \
-d '{"session_name":"alice","pairing_code":"correct-horse-battery-staple"}'
Creating project again with the same pairing code returns the existing room. Reusing the name with a different code returns 409 ROOM_NAME_TAKEN.
Expose the relay only on a trusted network such as Tailscale. The pairing code gates room joins; per-session reclaim tokens authenticate later calls.
Configure the MCP shim
Run mcp/dist/server.js as an MCP stdio server and set RELAY_URL to the relay base URL. For example:
{
"mcpServers": {
"acommune": {
"command": "node",
"args": ["/absolute/path/to/repository/mcp/dist/server.js"],
"env": { "RELAY_URL": "http://mini.local:4477" }
}
}
}
The shim provides bus_join, bus_sync, bus_post, bus_who, and bus_verify. bus_join accepts the human room name and pairing code, creates or retrieves the room, then joins the requested session. Reclaim credentials are stored under ~/.acommune/ with user-only file permissions.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.