# Hashnode MCP for AI Agents AI Agent Connect

> Hashnode MCP lets you manage your technical blog directly through your AI client. You can grab user profiles, pull content from specific publications, and publish or edit new posts with Markdown support without leaving your chat window.

## Overview
- **Category:** productivity
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_9HCFaBWZK9UIXHRrFSQLlRuMLlukyBUDj2MFjTLK/ai-agent-connect
- **Tags:** blogging, technical-writing, content-creation, developer-community, graphql, publishing

## Description

Hashnode MCP lets you manage your technical blog directly through your AI client. Managing a technical blog usually involves a tedious loop of jumping between a code editor, a markdown file, and a web browser just to hit a publish button. This Connector changes that by letting your AI agent handle the logistics of the Hashnode GraphQL API for you. You can stay in your flow while your agent handles the heavy lifting of content management. Instead of copy-pasting text into a web form, you just tell your agent to draft a new post or update a title. It's one of the many specialized tools available in the Vinkius catalog that turns a manual content pipeline into a conversation. You can pull in existing posts to use as references for new drafts or check out user profiles to see who is active in your community. It handles the specific requirements of Hashnode, like Markdown formatting and custom tags, so you can focus on the actual writing. You can quickly audit a publication's feed or modify a live post to fix a typo without ever leaving your chat interface. This setup removes the friction of content distribution, letting you treat your blog as an extension of your workspace. It's a significant shift for anyone who spends hours every week updating documentation or sharing tutorials. You get a direct line between your thoughts and your audience, making it much easier to keep your technical content current and accessible.

## Tools

### delete_draft
The author or publication admins can delete.

Soft-delete a draft

### create_draft
Requires Pro plan. If publicationId is omitted, auto-resolves from your publications.

Create a draft post without publishing

### create_image_upload_url
Content-Type must start with image/ (e.g., image/png). Max 8 MB. SVG rejected.

Get a presigned URL for uploading an image

### create_post
The create_post tool publishes a new blog post with Markdown support and custom tags. Use this to go live with new content instantly.

### get_feed
Use after cursor for pagination.

Get the global Hashnode feed

### get_me
Get the currently authenticated Hashnode user

### get_my_publications
Use this to find your Publication ID before creating posts or drafts.

List all publications owned by the authenticated user

### get_post_by_id
Get a single post by its ID

### get_post
The get_post tool retrieves a single post using its unique slug. This helps you grab specific content for quick reference.

### get_publication_posts
The get_publication_posts tool lists all posts from a specific publication using its domain. Use this to audit a specific feed.

### get_tag
g., javascript, graphql).

Get details about a Hashnode tag

### get_user
The get_user tool fetches detailed information about a Hashnode user by their handle. This is great for community research.

### publish_draft
The draft is soft-deleted after publishing.

Publish an existing draft as a post

### submit_draft_for_review
Used by contributors.

Submit a draft for editor review

### update_draft
All content fields are optional.

Update an existing draft

### update_post
The update_post tool modifies the title or content of an existing post. Use this to fix errors on live articles quickly.

## Prompt Examples

**Prompt:** 
```
Find the post 'Intro to MCP' on my blog.
```

**Response:** 
```
I found the post you were looking for. Here are the details:

| Title | Date | Summary |
| :--- | :--- | :--- |
| **Intro to MCP** | Oct 12, 2023 | A deep dive into the Model Context Protocol and how it connects agents to data. |
```

**Prompt:** 
```
Create a new post about 'Python Tips' with some Markdown.
```

**Response:** 
```
Successfully published your new post!

**Post Details:**
- **Title:** Python Tips for Beginners
- **Content:** Includes your Markdown formatting and headers.
- **Status:** Live
- **View it here:** [Link to your Hashnode publication]
```

**Prompt:** 
```
Who is the user 'dev_jane'?
```

**Response:** 
```
I've looked up the profile for 'dev_jane'. Here is what I found:

- **Name:** Jane Doe
- **Bio:** Full-stack developer and open-source enthusiast.
- **Followers:** 1,240
- **Blog:** jane.hashnode.dev
```

## Capabilities

### Publish new blog posts
Create and go live with Markdown content directly from your chat.

### Update existing content
Modify titles or body text on live posts without opening a browser.

### Fetch publication feeds
Pull a list of posts from a specific domain to audit a feed.

### Retrieve specific posts
Get full content and metadata using a slug for quick reference.

### Look up user profiles
Get details on any Hashnode user by their handle for community research.

## Use Cases

### Quickly fixing a typo in a live guide
A writer notices a mistake in a published post and asks their agent to use `update_post` to fix the title and body text immediately.

### Drafting a post based on old content
A developer asks the agent to pull content from an old post using `get_post` to use as a reference for a new tutorial.

### Publishing a new tutorial with Markdown
A technical writer finishes a guide and tells the agent to use `create_post` to put it live on their Hashnode blog with specific tags.

### Checking community member profiles
A community manager asks the agent to use `get_user` to find the bio and follower count of a specific contributor.

## Benefits

- Skip the browser: Use `create_post` to push content live from your chat interface instead of navigating to a web dashboard.
- Faster updates: Quickly fix typos or change titles on live content using `update_post` without opening multiple tabs.
- Better research: Pull specific content using `get_post` to give your agent context for new drafts or summaries.
- Community insights: Use `get_user` to quickly see profile details when researching contributors or community members.
- Content auditing: Use `get_publication_posts` to see what's live on a specific site and organize your feed in seconds.

## How It Works

The bottom line is you can manage your entire Hashnode content lifecycle through a simple chat interface.

1. Subscribe to the Connector and provide your Hashnode Personal Access Token.
2. Connect the Connector to your preferred client like Claude or Cursor.
3. Ask your agent to draft, update, or fetch posts using natural language.

## Frequently Asked Questions

**Can I use the Hashnode MCP to write my blog posts?**
Yes, you can use your agent to draft content and then use the Connector to publish it directly to your blog. It handles the Markdown formatting and tag application for you.

**Does the Hashnode MCP support Markdown?**
Yes, the Connector is designed to handle Markdown content when you create or update posts, making it perfect for technical documentation.

**Can I use this for my WordPress site?**
No, this specific MCP is built for the Hashnode platform. You would need a different tool for WordPress or other blogging platforms.

**How do I get my posts to show up on my site?**
Once you use the create tool to publish content, it will appear on your Hashnode publication. You can also use the publication feed tool to audit what is live.

**Can I update a title I already published?**
Yes, you can ask your agent to modify the title or body of any existing post, and it will update the live content on Hashnode for you.

**Is this Connector good for community management?**
Yes, it allows you to quickly look up user profiles and details by their handle, which is very helpful for interacting with your community.

**Can I fetch profile details for any Hashnode user?**
Yes! Use the `get_user` tool with the specific username handle. The agent will return their profile information, bio, and social links.

**Does the publishing tool support Markdown formatting?**
Absolutely. Both `create_post` and `update_post` accept `contentMarkdown`, allowing you to publish rich technical content with code blocks, headers, and links.

**How do I list posts from a specific blog domain?**
Use the `get_publication_posts` tool and provide the `host` domain (e.g., 'engineering.hashnode.dev' or your custom domain). It will return a list of recent posts from that publication.