Set up Ghost in Metorial for Claude, ChatGPT and Cursor
Share Ghost with your team in Claude, ChatGPT and Cursor through Metorial: staff access token or admin API key sign-in, 18 tools (11 read-only).
To give your team Ghost in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Ghost integration in a Metorial portal, and each person connects with a staff access token. Agents can read and manage Ghost posts, pages, tags, members, newsletters, promotional offers and webhooks; browse tiers and staff users. The integration has 18 tools, 11 read-only and 7 write, plus 5 triggers.
What you'll learn
- How an admin shares Ghost in a portal and how each person connects
- What Ghost asks for when you connect, and where to find it
- How to keep the 11 read-only tools and reject the other 7
Before you start
- A portal with at least one access group
- A staff access token from Ghost for each person, or one for a shared connection
- For the CLI steps: the Metorial CLI, signed in to your portal
Sign-in methods
| Method | Type | What a person provides |
|---|---|---|
| Staff Access Token (default) | API token | staffToken and contentApiKey |
| Admin API Key | Custom credentials | adminApiKey and contentApiKey |
Also available: Content API Key.
The portal and metorial setup use Staff Access Token unless someone picks another method.
Staff Access Token
To connect, a person enters these values:
staffToken: Staff access token from your Ghost user settings pagecontentApiKey(optional): Content API key from Ghost Custom Integration (optional, for read-only content access)
Admin API Key
To connect, a person enters these values:
adminApiKey: Admin API key from Ghost Custom Integration (format: {id}:{secret})contentApiKey(optional): Content API key from Ghost Custom Integration (optional, for read-only content access)
Setup settings
Whichever method you pick, setup also asks for:
adminDomain: The Ghost site domain (e.g., "mysite.ghost.io" or "blog.example.com"). Do not include the protocol (https://).
Admin: share Ghost in a portal
In the dashboard
Open Shared Resources
Open Workforce, choose the portal, and select Shared Resources under Access.
Share a new integration
Select Share a Resource, then New Integration, and choose Ghost. Under Auth Method, keep Staff Access Token or pick another. For how members connect, choose Each person connects so everyone enters their own staff access token, or Shared connection to enter one staff access token for everyone.
Limit the tools
Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Ghost.
Choose who gets it
Add the access groups that should see Ghost. When a person asks for access from the portal, the request appears under Access Requests.
With the CLI
The CLI cannot create the per-user Ghost integration. Once it exists, check which groups have it:
Employee: connect Ghost
In the portal
Open Ghost in the catalog
Sign in to your portal and open Ghost. The status reads Available.
Authenticate
Under Quick setup, select Authenticate. In the setup window, enter your staff access token (staffToken).
Confirm
The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.
With the CLI
catalog search prints the catalog item ID. metorial setup uses Staff Access Token. To connect with Admin API Key instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.
Add it to your AI client
metorial install adds your Ghost connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.
For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.
Make it read-only
Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 11 read-only tools, such as get_site and browse_tags, and lose the 7 write tools, such as manage_tag or manage_page.
Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.
Check it worked
metorial tools lists the 18 tools, minus any you rejected. get_site takes no input. It retrieves site-level metadata and configuration from your Ghost instance, including title, description, logo, language, and other global settings.
To see every input a tool takes, run metorial schema <integration-id> <tool-key>.
Tools
Read-only tools (11)
browse_newsletters: List newsletters configured on your Ghost site.browse_tags: List tags from your Ghost site.browse_members: List and search members (subscribers) of your Ghost site.browse_users: List staff users of your Ghost site.browse_pages: List and search static pages from your Ghost site.browse_posts: List and search posts from your Ghost site.get_site: Retrieve site-level metadata and configuration from your Ghost instance, including title, description, logo, language, and other global settings.browse_tiers: List membership tiers configured on your Ghost site.export_content: Download a bounded local HTML or JSON snapshot of one exact post or page.get_resource: Read one membership tier or staff user by its exact native ID.get_current_context: Validate the configured Ghost credential with an authenticated content read and show its site and credential type.
Write tools (7)
manage_tag: Create, read, update, or delete a tag. Needsaction.manage_offer: Create, read, update, or browse promotional offers. Needsaction.manage_page: Create, read, update, or delete a static page on your Ghost site. Needsaction.manage_newsletter: Create, read, or update a newsletter on your Ghost site. Needsaction.manage_post: Create, read, update, or delete a post on your Ghost site. Needsaction.manage_webhook: Create, update, or delete a webhook on your Ghost site. Needsaction.manage_member: Create, read, update, or delete a member (subscriber) on your Ghost site. Needsaction.
Triggers
Ghost has 5 triggers, which fire on events in Ghost:
site_changed: Triggered whenever any content changes in site data or settings.member_events: Triggered when members (subscribers) are added, edited, or deleted.page_events: Triggered when pages are created, edited, deleted, published, unpublished, scheduled, or when tags are attached/detached from pages.post_events: Triggered when posts are created, edited, deleted, published, unpublished, scheduled, or when tags are attached/detached from posts.tag_events: Triggered when tags are created, edited, or deleted on your Ghost site.
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Ghost there
- Tool permissions: tool filters and what employees see
- Ghost on metorial.com: the integration overview