Labsco
MCP SERVER

Hashnode MCP Server

by sbmagar13

Draft, publish and correct Hashnode articles from the assistant you already write with.

CMS & Blog Publishing
Summary
Writing and publishing in the same window.

Markdown drafted in the conversation goes to Hashnode as a real article and comes back for edits without a trip through the dashboard. The search and detail reads make it useful for tidying a blog you already have, not only for posting to it.

What it is

A Python server over Hashnode's GraphQL API. It creates and updates articles, searches published content by keyword, pulls one article's details, reads user profiles and fetches the latest posts from a publication.

What you get
  • New articles created from a title and a markdown body, published or held back as a draft (create_article)
  • Existing articles edited in place — title, body, tags, published state (update_article)
  • Keyword search across articles (search_articles)
  • One article's full details pulled back (get_article_details)
  • The latest posts from a publication (get_latest_articles)
  • Profile information for a Hashnode user (get_user_info)
  • A connection check before you rely on any of it (test_api_connection)
Requirements

Python with the repo's requirements installed, and a Hashnode personal access token plus the API URL in a .env file. It listens on localhost over SSE by default, or your client can launch mcp_server.py in the repository root for you.