MetorialDocs

Set up Hashnode in Metorial for Claude, ChatGPT and Cursor

Share Hashnode with your team in Claude, ChatGPT and Cursor through Metorial: personal access token sign-in, 14 tools (7 read-only).

To give your team Hashnode in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Hashnode integration in a Metorial portal, and each person connects with a personal access token. Agents can manage blog posts, drafts, publications, and static pages on Hashnode's developer blogging platform. The integration has 14 tools, 7 read-only, 6 write and 1 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Hashnode in a portal and how each person connects
  • What Hashnode asks for when you connect, and where to find it
  • How to keep the 7 read-only tools and reject the other 7

Before you start

Sign-in method

MethodTypeWhat a person provides
Personal Access TokenAPI tokentoken

Personal Access Token

To connect, a person enters:

  • token: Hashnode Personal Access Token (PAT). Generate one at https://hashnode.com/settings/developer

Setup settings

Setup also asks for:

  • publicationHost: The host of your Hashnode publication, e.g. "yourblog.hashnode.dev" or your custom domain

Admin: share Hashnode 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 Hashnode. For how members connect, choose Each person connects so everyone enters their own personal access token, or Shared connection to enter one personal access token for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Hashnode.

Choose who gets it

Add the access groups that should see Hashnode. 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 Hashnode integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search hashnode

Employee: connect Hashnode

In the portal

Open Hashnode in the catalog

Sign in to your portal and open Hashnode. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your personal access token (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search hashnode
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Hashnode 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.

metorial list hashnode
metorial client list
metorial install <client-identifier> <integration-id>

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 7 read-only tools, such as get_post and get_user, and lose the 6 write tools, such as update_post or manage_draft, and the destructive tool delete_post.

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 list hashnode
metorial tools <integration-id>
metorial call <integration-id> get_publication -d '{}'

metorial tools lists the 14 tools, minus any you rejected. get_publication takes no input. It retrieves details about the configured Hashnode publication, including title, description, URL, author, and branding information.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (7)

  • search_posts: Search for posts within the configured publication by keyword. Needs query.
  • list_static_pages: List static pages in the configured publication (e.g.
  • get_user: Retrieve a Hashnode user's public profile by username, or get the authenticated user's profile (including email).
  • get_publication: Retrieve details about the configured Hashnode publication, including title, description, URL, author, and branding information.
  • list_posts: List published blog posts from the configured publication with pagination support.
  • get_post: Retrieve a single blog post with its full content, metadata, and author information.
  • list_publications: Discover publications owned by the authenticated user, with exact IDs and URLs.

Write tools (6)

  • manage_comments: List a page of post comments and up to 20 replies per comment. Needs action.
  • update_post: Update an existing published blog post. Needs postId.
  • manage_series: Read a series by slug or list a page of series in the selected publication. Needs action.
  • manage_draft: Create, retrieve, list, update, soft-delete, or publish drafts. Needs action.
  • subscribe_newsletter: Legacy newsletter subscription operation, unavailable through the current public API. Needs email.
  • publish_post: Publish a new blog post to the configured Hashnode publication. Needs title and contentMarkdown.

Destructive tools (1)

  • delete_post: Soft-remove a published post from active feeds and listings. Needs postId.

Triggers

Hashnode has 2 triggers, which fire on events in Hashnode:

  • static_page_events: Triggered when a static page is published, edited, or deleted in the publication.
  • post_events: Triggered when a blog post is published, updated, or deleted in the publication.

Next steps