Codex CLI Setup
Configure gopls-mcp with Codex CLI.
Install via Plugin
Section titled “Install via Plugin”codex plugin marketplace add https://github.com/xieyuschen/gopls-mcp.gitcodex plugin add gopls-mcpThat’s it. The plugin handles everything automatically:
- Downloads and installs the
gopls-mcpbinary to~/.local/bin/ - Registers the MCP server
- Injects the routing skill (which tools to use and when)
- Adds a session-start hook that activates the skill each session
Running codex plugin update gopls-mcp upgrades the binary and rules together.
Verify
Section titled “Verify”codex mcp listYou should see gopls-mcp with status enabled.