• DRAFTS
  • LIVE
  • REVISIONS
  • HUMAN

How to publish markdown posts with your AI

Connect your AI to Hashnode to turn raw markdown files into published technical content without switching tabs.

Ask AI about this page

Short answer

How can I turn my markdown notes into Hashnode posts using AI?

Your AI client uses the Hashnode MCP to send markdown content directly to your account. You can choose to save work as a draft or push it live immediately. This breakdown shows how to move from a local file to a published article.

Where your content lands.

Direct paths for your notes.

The AI handles the heavy lifting of the API calls so you can stay in your editor.

DRAFTS

Saved as drafts

The AI uses create_draft to stage your markdown. This keeps your ideas in your Hashnode dashboard for later refinement.

LIVE

Published immediately

Use create_post to skip the staging phase. Your content goes live on your Hashnode blog the moment the AI finishes the task.

REVISIONS

Updated content

If you need to fix a typo or add a code block, the AI uses update_draft to modify existing entries in your dashboard.

HUMAN

Manual review

You retain full control. The AI only performs the actions you explicitly request, leaving the final formatting and publishing decisions to you.

The workflow

What your AI does when markdown arrives.

The AI acts as the bridge between your local text and the Hashnode API.

  1. Stage your work

    The AI takes your markdown text and prepares it for your Hashnode account.

    create_draft
  2. Go live

    When you are ready to share, the AI sends the content directly to your blog.

    create_post
  3. Refine drafts

    The AI can modify a previously created draft to fix errors or update details.

    update_draft
  4. Finalize publishing

    You can tell the AI to take a pending draft and make it public.

    publish_draft

Try it

Copy these to start.

Use these prompts to trigger the Hashnode tools.

Starting points

Swap the bracketed text for your specific file names or blog titles.

Hashnode Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_9HCFaBWZK9UIXHRrFSQLlRuMLlukyBUDj2MFjTLK/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Hashnode capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "hashnode-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_9HCFaBWZK9UIXHRrFSQLlRuMLlukyBUDj2MFjTLK/mcp"
    }
  }
}
Copy into chat04
  • Create a draft on Hashnode using this markdown: [paste markdown here]

  • Publish this technical note as a new post on my Hashnode blog: [paste markdown here]

  • Update my existing Hashnode draft titled '[title]' with this new section: [paste text]

  • Take my current draft '[title]' and publish it now.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Hashnode once, then ask.

Follow the link to authorize the connection. Your credentials stay encrypted, and you can start using the tools immediately.

Connect Hashnode to your AI

FAQ

How the Hashnode task behaves.

  • 01

    Can the AI publish a post without me asking?

    No. The AI only triggers a post or draft creation when you explicitly give it a command.

  • 02

    Will the AI delete my existing Hashnode posts?

    No. There are no tools available to delete content, so your existing posts are safe.

  • 03

    Can I edit the post in the Hashnode editor after it is published?

    Yes. The AI handles the transfer of content, but you can always log in to Hashnode to make manual changes.

  • 04

    Does the AI handle image uploads?

    No. The AI works with the markdown text provided; you will need to manage image hosting or URLs within your markdown.

  • 05

    Can the AI create a folder for my posts?

    No. The AI can only create, update, or publish posts and drafts.

  • More questions about Hashnode? The Connector page answers them. See everything the Hashnode Connector can do

Connect Hashnode to Claude, Cursor, ChatGPT & more