otheroauth2

Hashnode MCP

Write, publish and manage Hashnode posts and drafts, review submissions, upload images, and read publications, series, comments, tags and users through Hashnode's official hosted MCP server.

Integration

Vendor
Hashnode MCP
Category
other
Auth
OAUTH2
Tools
32
Composio slug
hashnode_mcp

Tools

  • Confirm image upload

    Verify a PUT-uploaded image (from create_image_upload_url) is within the 8MB size limit, deleting it if not, and return its public CDN URL. Call this after a successful PUT to the presigned url.

  • Create draft

    Save a new unpublished draft to a publication. The target publication must be on the Pro plan. Returns the draft's id. Publish it later with publish_draft.

  • Create image upload url

    Get a one-time URL to PUT a local image file's raw bytes to, for uploading without inlining it into a tool call. Expires quickly, use it right away. After a successful PUT, call confirm_image_upload with the returned key to get the final CD

  • Create post

    Publish a new post directly to a Hashnode publication (via the publishPost mutation). The target publication must be on the Pro plan. Returns the new post's id, slug, and url.

  • Delete draft
    destructive

    Delete a draft. Only the draft's author or a publication admin can do this. This cannot be undone through the API.

  • Delete post
    destructive

    Soft-delete a Hashnode post (via the removePost mutation): marks it inactive, drops it from feeds and listings, and frees its slug. Only the post's author or a publication admin can do this, co-authors cannot. This cannot be undone through

  • Get draft

    Fetch a single draft by id: title, subtitle, slug, tags, series, author, and full markdown content. Only the draft's author or a publication admin can read it.

  • Get post

    Fetch a single post by id (via the post query): title, subtitle, slug, url, brief, tags, author, publish date, and full markdown/html content. Requires the publication to be on the Pro plan. Use this to find a post's current content or conf

  • Get post by slug

    Fetch a single post by its slug within a publication (via publication.post): title, subtitle, url, brief, tags, author, publish date, and full markdown content. Provide exactly one of publicationId or host.

  • Get publication

    Fetch a publication's details: title, URL, about text, follower and post counts, and pinned post. Requires the publication to be on the Pro plan. Provide exactly one of publicationId or host.

  • Get series

    Fetch a single series by its slug within a publication (via publication.series): id, name, description, and cover image. Provide exactly one of publicationId or host.

  • Get tag

    Fetch a tag's details by slug (via the tag query): id, name, tagline, info, follower and post counts.

  • Get user

    Fetch a user's public profile by username (via the user query): id, name, tagline, and follower counts. Use this to resolve a username to the user id a publishAs or coAuthors value needs.

  • List all drafts

    List every author's drafts in a Hashnode publication, most recently updated first. Requires the publication to be on the Pro plan and owner or admin rights. Provide exactly one of publicationId or host. Paginate with the cursor returned as

  • List all scheduled drafts

    List every author's drafts that are scheduled to publish later in a Hashnode publication. Requires the publication to be on the Pro plan and owner or admin rights. Provide exactly one of publicationId or host. Paginate with the cursor retur

  • List comments

    List the comments on a post, newest first. Requires the publication to be on the Pro plan. Paginate with the cursor returned as nextCursor.

  • List drafts

    List your own drafts in a Hashnode publication, most recently updated first. Requires the publication to be on the Pro plan. Provide exactly one of publicationId or host. Paginate with the cursor returned as nextCursor.

  • List members

    List a publication's members with their user id, username, and role (via publication.members). Use this to find the user id a publishAs value needs. Requires the publication to be on the Pro plan. Provide exactly one of publicationId or hos

  • List posts

    List posts in a Hashnode publication, newest first (via publication.posts). Requires the publication to be on the Pro plan. Provide exactly one of publicationId or host to identify the publication. Paginate with the cursor returned as nextC

  • List publications

    List the publications you own: id, title, URL, and whether it's a team publication. Paginate with the cursor returned as nextCursor.

  • List scheduled drafts

    List your own drafts that are scheduled to publish later in a Hashnode publication. Requires the publication to be on the Pro plan. Provide exactly one of publicationId or host. Paginate with the cursor returned as nextCursor.

  • List series

    List a publication's series with their id, name, and slug (via publication.seriesList). Use this to find the series id a seriesId value needs. Requires the publication to be on the Pro plan. Provide exactly one of publicationId or host.

  • List static pages

    List a publication's static pages (About, Contact, and so on) with their content. Requires the publication to be on the Pro plan. Provide exactly one of publicationId or host. Paginate with the cursor returned as nextCursor.

  • List submitted drafts

    List drafts submitted for review in a Hashnode publication, most recently updated first. Requires the publication to be on the Pro plan and owner or admin rights. Provide exactly one of publicationId or host. Paginate with the cursor return

  • Publish draft

    Publish an existing draft as a post. The draft needs a title and content. Requires owner or admin rights on the publication. Returns the new post's id, slug, and url.

  • Reject draft submission

    Send a draft that was submitted for review back to its author. Requires owner or admin rights on the publication. Team publications only.

  • Search posts

    Full-text search posts within a publication (via searchPostsOfPublication), newest first by default. Unlike list_posts, this only accepts publicationId, not host, and needs a search query. Use list_posts to list without one.

  • Submit draft for review

    Submit your own draft to the publication's owner and admins for review. Team publications only. The draft needs a title and content.

  • Top commenters

    List the users who comment most on a publication's posts. Requires the publication to be on the Pro plan.

  • Update draft

    Update an existing unpublished draft. Only include the fields you want to change; everything else is left as-is. Returns the draft's id.

  • Update post

    Update an existing, already-published Hashnode post (via the updatePost mutation). Only include the fields you want to change; everything else is left as-is. Returns the post's id, slug, and url.

  • Whoami

    Fetch the caller's own Hashnode profile (via the me query): id, username, name, email, tagline, and join date. Use this to find your own user id, e.g. to compare against list_members results.

Setup

  1. Create or open a Switchy Project.
  2. Open Integrations and connect Hashnode MCP.
  3. Authorise through oauth2. Switchy stores the connection against your org.
  4. Everyone in the Project can now @-mention the Hashnode MCP tools in chat.

What teammates see: by default, memories from Hashnode MCP are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Projects have used this MCP together with a given model.

How Switchy teams use it

Not enough Projects yet to publish anonymised usage stats (we require ≥ 50 Projects per week).

Starter prompts

Starter prompts for this model will land here soon.

More other MCPs

See all other MCPs →

Data last verified 12 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.