MCP setup
Give an agent access to the editorial workflow without giving it your dashboard session.
1. Choose how to connect
Interactive clients should use Jamwidgets sign-in so access follows your workspace role and can be disconnected later. For an unattended script, open Settings → Connections and create a scoped management key.
| Workflow | Scopes |
|---|---|
| Review | sites:read, inbox:read, posts:read, queue:read |
| Draft | Review scopes + posts:write |
| Publish | Draft scopes + posts:publish |
| Moderate | inbox:read, inbox:write |
Publishing is separate from writing because it makes content public and can trigger a site deploy. OAuth never grants full_access; management keys should avoid it unless the script genuinely needs every current and future scope.
2. Connect your client
For Codex CLI:
codex mcp add jamwidgets \
--url https://jamwidgets.com/api/manage/mcp
codex mcp login jamwidgetsThe login command opens Jamwidgets, where you choose a workspace and approve the requested permissions. Revoke the connection any time from Settings → Connections.
Scripts can keep using the same endpoint with Authorization: Bearer <management-key>. Store keys in a password manager or secret store; never commit them to MCP configuration.
Editorial workflow
- Call
list_sites. Post and queue tools require a site ID. - Use
list_inboxfor work needing attention, orlist_postswithneeds_review. - Create or update drafts with
create_postandupdate_post. - Review the title, body, excerpt, tags, and provenance before granting a publish action.
- Use
publish_postfor a new draft,republish_postfor pending edits to a live post, orschedule_postwith a future RFC 3339 timestamp. - Inspect
list_queue_tasksto see the deploy and notification work triggered by publication.
Static-site publishing
Publishing updates Jamwidgets immediately. A statically generated site also needs a deploy connection in its site settings so the new post is included in a fresh build. Queue success means Jamwidgets handed off the deploy; use your hosting or repository checks to confirm the build reached production.