Skip to article

Coding agents

MCP

OpenCode

opencode mcp add posh --global -- posh mcp

Leave out --global to add it to the current project only. Check the connection with opencode mcp list.

Claude Code

claude mcp add --transport stdio --scope user posh -- posh mcp

Check the connection with /mcp inside Claude Code.

Codex

codex mcp add posh -- posh mcp

Other MCP clients

Add a local stdio server, keeping any existing servers:

{
  "mcpServers": {
    "posh": {
      "command": "posh",
      "args": ["mcp"]
    }
  }
}

Projects

The server uses the directory it starts in as its default project. The agent can pass a different project on any call.

Sync

If automatic sync is not configured, agent is able to update documentation on his own by running sync tool or posh sync command.