752 B
752 B
Quickstart: MCP Server for Repo Maintenance
- Prereqs: Nix with flakes enabled and Codex CLI installed locally.
- Install:
nix profile install .#nixos-mcp(ornix develop .#mcpfor a dev shell). - Run tests:
./scripts/mcp-server/run-tests.sh. - Launch MCP server:
nixos-mcp(stdio mode). - Connect Codex CLI: Ensure
.codex/config.tomlpoints tonixos-mcpand.codex/requirements.tomlallowlists it, then list tools via the MCP client to verify catalog. - Docs alignment: If adding/updating tools, run
sync-docsto confirm docs match; updatedocs/MCP section accordingly. - CI behavior: Gitea runs lint/format/tests when
scripts/**ordocs/**change; fix failures before merging.