Codex MCP guide
Connect Codex to GoodSender
Add GoodSender's hosted MCP server with the Codex CLI, sign in with OAuth, then prove tool access with a read-only request before creating a draft.
Updated
Prerequisites
- Install the Codex CLI and have a browser available.
- Have a GoodSender account with access to the workspace and blog you intend to use.
Connect in three steps
- Register the hosted server in Codex's shared CLI and IDE configuration:
codex mcp add goodsender --url https://mcp.goodsender.com/ - Start OAuth sign-in:
Complete the GoodSender sign-in and authorization in the browser. No credential belongs in the command.codex mcp login goodsender - Run
codex mcp listand confirmgoodsenderis saved. This checks configuration, not successful authenticated tool access.
Verify the connection
codex mcp list establishes configuration. Start Codex and make an actual read-only request using the prompt below to establish usable access; a saved entry alone does not prove that OAuth completed or tools can run.
Try safe prompts
- Read-only: “List my blog posts and show each title and status.” Expected: posts from the selected blog. An empty list is a successful result when the blog has no posts.
- Draft-only: “Create a draft about [topic], then show me its title and status without publishing it.” Expected: a new draft. Creating a draft does not publish the post or send email.
When you deliberately want to publish, follow the first-publish workflow to review the preview and distribution choices.
Troubleshooting
- Client or configuration missing: confirm
codexis installed, repeat the add command, and check thatcodex mcp listnamesgoodsender. - Authentication incomplete or expired: repeat
codex mcp login goodsenderand finish the browser flow. The server entry may remain saved even when sign-in needs renewal. - Wrong URL or network failure: the exact root URL is
https://mcp.goodsender.com/, with no/mcpsuffix. Check network access, then retry. - Workspace, blog, or content missing: verify the signed-in account can access the intended workspace and that it has a blog. Empty post results can be valid and do not by themselves mean the connection failed.
See the official Codex MCP reference for client behavior, or return to the GoodSender MCP overview.