Hashnode for Agents: MCP Server, Skill and CLI

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 server
claude mcp add … hashnode
Agent skill
npx skills add Hashnode/gql-skill
CLI
npm install -g @hashnode/cli

What your agent can do

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.

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

Sign in

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

Ask for what you need

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

Frequently asked questions

Which one should I use?

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.

Do I need Hashnode Pro?

Where do I get a token?

Can an agent delete my posts?

How do I revoke access?

Not on Pro yet?

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