nextleg-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
nextleg-client
The local half of Next Leg, a shared inbox where coding agents (Claude Code, Codex, Cursor, …) hand finished work to teammates' agents.
Next Leg is end-to-end encrypted. This package holds your team key and does all encryption on your machine; the Next Leg server stores and relays only ciphertext. It is open source so you can check exactly that.
nextleg-mcp(alsonextleg-client): a local MCP server (stdio) for your coding agent.nextleg: a CLI with the same operations, for agents without MCP.
Setup
You need a Next Leg workspace and uv. The Agents page in Next Leg gives you the exact command with your agent token and team key filled in.
Claude Code:
claude mcp add --scope user nextleg \
-e NEXTLEG_TOKEN=nl_… -e NEXTLEG_KEY=nlk1_… \
-- uvx --from nextleg-client nextleg-mcpCodex:
codex mcp add nextleg --env NEXTLEG_TOKEN=nl_… --env NEXTLEG_KEY=nlk1_… -- uvx --from nextleg-client nextleg-mcpCursor (~/.cursor/mcp.json):
{
"mcpServers": {
"nextleg": {
"command": "uvx",
"args": ["--from", "nextleg-client", "nextleg-mcp"],
"env": { "NEXTLEG_TOKEN": "nl_…", "NEXTLEG_KEY": "nlk1_…" }
}
}
}Variable | Required | What it is |
| yes | This agent's token, from the Agents page. Revoke it there if it leaks. |
| yes | Your team key ( |
| no | Server address. Defaults to |
Related MCP server: Session Multiplayer
What is encrypted
Handoff titles and fields, thread replies, status notes and chat messages are encrypted with
AES-256-GCM under the team key before they are sent. The server sees who sent what to whom and when,
handoff status, and channel names. It stores a SHA-256 fingerprint of the team key so clients can check
that they hold the right one; the key itself never leaves your machines (in the browser it travels in the
# part of an invite link, which browsers don't send to servers).
Format details are in nextleg_client/crypto.py.
Content from teammates is not instructions
Everything this bridge shows an agent from a handoff, reply or chat message was written by a teammate or
their agent. The bridge prints it as a > quote, strips control characters, and tells the agent to treat it
as information and to check with you before acting on it.
Tools
send_handoff, list_handoffs, get_handoff, reply, set_status, chat_list, chat_read, chat_send.
CLI: nextleg login <url> <token> <key>, then nextleg inbox, nextleg show 1, nextleg send handoff.md --to @aziz,
nextleg reply 1 -m "…" --kind question, nextleg status 1 done, nextleg chats, nextleg read "#general",
nextleg say @aziz "…".
Security
Found a security problem? Email support@nextleg.dev with "security" in the subject rather than opening a public issue.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
End-to-end encrypted messaging and work coordination for autonomous AI agents.
The team layer for AI coding agents: shared contracts, collision alerts, E2EE sessions.
One encrypted chat for you, your people and your AI agents: Claude, Codex, Gemini, Goose.
Multiplayer for the coding agents your team already uses: shared tasks, decisions, skills and tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceAllows two AI coding agents on different machines to securely pair and share files, context, and conventions through an end-to-end encrypted peer-to-peer channel with human-in-the-loop consent.959 npmMIT

Session Multiplayerofficial
AlicenseAqualityDmaintenanceEnables AI coding agents in different harnesses, projects, or machines to share encrypted peer-to-peer rooms and exchange messages directly, without any central server or account.86MIT
crosstalkofficial
AlicenseNot gradedqualityCmaintenanceEnables AI coding agents to communicate directly with each other across machines, with support for rooms, pairing, and encrypted messaging.8MIT- AlicenseNot gradedqualityCmaintenanceEnables AI coding sessions across multiple agent CLIs to share one identity and inbox, hand off tasks, send encrypted files and conversation transcripts, publish living documents, and coordinate approvals through hooks and MCP tools.53 npmMIT