MCP-SERVER
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Server (Streamable HTTP)
MCP server that exposes the Posts & Comments API as tools over Streamable HTTP. No auth on /mcp.
Requires Node 18+ (MCP SDK and Hono depend on it).
Setup
Start the main API (Posts server) first, e.g. on port 3000:
cd .. && MONGO_URI="mongodb://..." npm startInstall and start the MCP server (default port 3001):
npm install npm start
Related MCP server: MCP Server for Ollama Blog
Configuration
API_BASE_URL– Base URL of the Posts API (default:http://localhost:3000).MCP_PORT– Port for this MCP server (default:3001).
Endpoint
POST /mcp– MCP Streamable HTTP endpoint (no authentication).
MCP clients send JSON-RPC here; the server handles initialization and tool calls.GET /mcp– Returns405 Method Not Allowed(stateless server, no SSE session).
Tools (with validation)
All tools call the main API and apply the same validation rules.
Tool | Description | Validation |
| Create a post | title ≥5, author ≥3, category ∈ tech/finance/lifestyle, body ≥50 |
| List all posts | — |
| Get one post by ID | — |
| Update a post | Same as create_post |
| Delete a post (and its comments) | — |
| Add comment to a post | text ≥10, commenter required |
| List comments for a post | — |
Validation errors (e.g. invalid category, body too short) are returned as tool errors with clear messages. If the API returns 404 (e.g. post not found), the tool returns that as an error.
Flow
MCP client sends
POST /mcpwith JSON-RPC (e.g.initialize, thentools/call).Server uses Streamable HTTP transport (stateless, new server + transport per request).
Tool handlers validate arguments (Zod + custom rules), then
fetch()the Posts API.API response is returned as the tool result (or an error).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Streamable HTTP MCP gateway for NV oOS fleets — one API key, namespaced tools, quotas and policy.
Streamable HTTP MCP server exposing planner flows, tasks, and squads.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Host any HTTP API as MCP tools with a tamper-evident cross-agent settlement ledger.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP client interaction via streamable HTTP, providing example tools (echo, getPostsByUser) and resources (posts, users) with pluggable authentication providers.6MIT
- AlicenseNot gradedqualityDmaintenanceExposes a blog CRUD API (posts and comments) as MCP tools, with an integrated AI chatbot agent powered by Ollama Gemma2 for natural language interaction.2 npmISC
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible clients to securely interact with the BlogWarp REST API via Streamable HTTP, providing read-only access to posts, notifications, timeline, conversations, and following, plus mutating operations such as drafting, publishing, replying, following, and marking notifications read with explicit confirmation.MIT
- AlicenseNot gradedqualityCmaintenanceIt enables developers to run a Streamable HTTP MCP endpoint with example tools, a README resource, and a REST API route as a customizable foundation for MCP server projects.MIT