createPost
Create and publish a post directly
How to use it
createPost is exposed by the Hashnode MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the createPost tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Hashnode MCP
npm install -g hashnode-mcpOther tools in Hashnode MCP (21)
Add a post to an existing series
Cancel a scheduled draft
Create a new draft for a publication
Get current authenticated user information
Retrieve drafts for the authenticated user
Retrieve published posts for the authenticated user
Get a specific post by its slug
Retrieve publication information by domain
Fetch posts from a publication with pagination
Get series information by slug
Retrieve posts from a series with pagination
Get a static page by its slug
Retrieve user profile information
Publish a draft to make it a live post
Remove/delete a published post
Reschedule a previously scheduled draft
Restore a previously removed post
Schedule a draft for future publication
Search for posts within a publication
Update an existing draft
Update an existing published post