hn-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HN_PASSWORD | Yes | Your Hacker News password | |
| HN_USERNAME | Yes | Your Hacker News username |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| hn_loginA | Login to Hacker News. Persists session cookies to disk so you stay logged in across restarts. |
| hn_submitA | Submit a story to Hacker News. Requires login first. For link posts: provide title + url. For Ask HN / text posts: provide title + text (no url). |
| hn_commentA | Post a comment on a Hacker News story or reply to a comment. Requires login. |
| hn_my_submissionsA | Get your recent HN submissions with their scores and comment counts. |
| hn_searchB | Search Hacker News stories via Algolia. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/booklib-ai/hn-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server