Ghostwriter MCP
Use this skill when the user wants to configure or verify Ghostwriter MCP access from Codex, list Ghostwriter projects, select an operation log, or troubleshoot Ghostwriter MCP startup.
Runtime Requirements
Codex should be configured directly with a mcp_servers.ghostwriter entry that runs the external Ghostwriter MCP server, for example uv --directory /path/to/GhostWriterMCP run python -m ghostwritermcp.server.
Required environment:
GHOSTWRITER_URLGHOSTWRITER_API_KEYGHOSTWRITER_CA_BUNDLEwhen the Ghostwriter deployment uses a private CA
Workflow
- If MCP tools are unavailable, check whether Codex has a direct
mcp_servers.ghostwriterentry with the correctcommand,args, and environment values. - If the server is missing, tell the user to install or clone GhostWriterMCP and configure Codex to run it directly.
- Verify credentials with the Ghostwriter MCP
whoamitool when available. - For project selection, use
list_projectswith active projects first and summarize project ID, codename, client, and dates. - For oplog selection, inspect the selected project's oplogs and return the chosen oplog ID/name.
- Tell the user to export or configure the chosen values for downstream oplog workflows:
GHOSTWRITER_PROJECT_IDGHOSTWRITER_OPLOG_IDGHOSTWRITER_OPERATOR
Troubleshooting
- Missing
uv: installuvand restart Codex. - Missing server command or checkout: install or clone GhostWriterMCP and update
mcp_servers.ghostwriter. - Authentication failure: verify
GHOSTWRITER_URL,GHOSTWRITER_API_KEY, and CA bundle settings. - Private CA failures: set
GHOSTWRITER_CA_BUNDLEto the CA bundle path used by the Ghostwriter deployment.