GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Bug0 - The AI-native e2e QA regression testing
  • Hackathons
  • Changelog
  • Brand
  • @hashnode on X
  • Hashnode on LinkedIn
  • Code of Conduct
  • Terms
  • Privacy
  • Sitemap

This view

  • Original page
  • New address

GeezerVison is showing hashnode.com — Use Hashnode from your agent

  • Home
  • Feed
Extend
  • Hashnode Pro
  • Hashnode for Agents
Resources
  • The foreword
  • Hashnode gql skill
  • Sign in

Search Hashnode

Search posts, tags, users, and pages

Hashnode for Agents

Publish from your agent, not the editor

Tell your agent what to publish. It reads the file, uploads the images, and saves the draft. Connect it with the MCP server, the agent skill, or the CLI. All three use the same API.

Set up your agent

Needs Hashnode Pro on the publication you write to

MCP serverclaude mcp add … hashnode
Agent skillnpx skills add Hashnode/gql-skill
CLInpm install -g @hashnode/cli
GraphQL API

Example

“Publish docs/launch.md to my blog as a draft, with cover.png as the cover.”

  • Read docs/launch.md
  • Uploaded cover.png
  • Created the draft "Launch notes"

What your agent can do

  • Publish postsPublish markdown with tags, a cover image, and a series, in one request.
  • Edit published postsChange a title, subtitle, slug, or tags. Everything else stays as it is.
  • Draft firstSave a draft, review it, then publish it when you are ready.
  • Upload imagesUpload a local image and get a CDN URL for your cover or your post.
  • Search and readSearch your posts, open one by slug, and list your drafts and series.
  • Review team draftsSubmit a draft for review and see what is waiting on your team.

Set it up

Use the MCP server if you chat with Claude or Cursor. Use the skill if your coding agent works from files in a repo. Use the CLI for scripts and cron jobs.

  1. 1

    Add the server

    In Claude Code, run this. In other clients, add a remote MCP server with the same URL.

    claude mcp add --transport http hashnode https://mcp.hashnode.com/mcp
  2. 2

    Sign in

    Your client opens Hashnode. Log in and approve access. There is no token to paste.

  3. 3

    Ask for what you need

    The server has tools for posts, drafts, series, comments, and image uploads.

Try asking

  • Who am I on Hashnode?
  • Which drafts do I have on my blog?
  • Find my posts about GraphQL
  • Read the MCP server announcement
  1. 1

    Install the skill

    Works with Claude Code, Cursor, GitHub Copilot, and other agents that support skills.

    npx skills add Hashnode/gql-skill
  2. 2

    Export your token

    export HASHNODE_PAT=your-token
  3. 3

    Ask your agent

    The skill loads when you mention your Hashnode blog or the API. It knows the Pro rules, page limits, and the image upload flow.

Try asking

  • Publish this post to my Hashnode blog
  • Save this as a draft so I can review it first
  • Upload cover.png and use it as the cover
  • Read the agent skill announcement
  • gql-skill on GitHub
  1. 1

    Install and sign in

    Needs Node.js 20 or later. hashnode login shows a code and opens your browser. Type the code there and allow access. In CI, set HASHNODE_PAT instead.

    npm install -g @hashnode/cli
    hashnode login
  2. 2

    Find your publication id

    hashnode --host myblog.hashnode.dev publication get
  3. 3

    Create a post

    Long content comes from a file or stdin. Add --json to any command for JSON output.

    hashnode --publication-id <id> post create \
      --title "Hello" \
      --content-file post.md \
      --tag javascript
  • @hashnode/cli on npm

Frequently asked questions

Use the MCP server if you chat with Claude or Cursor. Use the skill if your coding agent works from files in a repo. Use the CLI for scripts and cron jobs.

Not on Pro yet?

Every tool here needs Pro on the publication you write to.

See Hashnode Pro
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.