#!/usr/bin/env python
"""
Script to run the Hashnode MCP server.
"""
import os
import sys
from dotenv import load_dotenv
# Add the current directory to the Python path
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
# Load environment variables from .env file
load_dotenv()
# Import the main function from the package
from hashnode_mcp.mcp_server import main
if __name__ == "__main__":
print("Starting Hashnode MCP server...")
main()
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbmagar13/hashnode-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server