Skip to main content
Glama

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

Related MCP server: session-coord-mcp

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.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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/Grassiano/acommune'

If you have feedback or need assistance with the MCP directory API, please join our Discord server