MCP-SERVER
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP-SERVERadd a comment to post 5: 'Excellent article!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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-jsonplaceholder
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).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server that enables performing PostgreSQL database operations (create, read, update, delete) on User and Post entities through MCP tools.Last updated576MIT
- Alicense-qualityCmaintenanceWraps the JSONPlaceholder fake REST API to enable testing and prototyping with CRUD operations on posts, comments, and other resources via MCP.Last updated25MIT
- AlicenseAqualityDmaintenanceA production-ready MCP server for the DEV Community (Forem) API, enabling management of articles, comments, users, tags, organizations, reading list, and followers through any MCP-compatible client.Last updated16315MIT
- Alicense-qualityDmaintenanceEnables MCP client interaction via streamable HTTP, providing example tools (echo, getPostsByUser) and resources (posts, users) with pluggable authentication providers.Last updated5MIT
Related MCP Connectors
A basic MCP server to operate on the Postman API.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
JSONPlaceholder MCP — wraps JSONPlaceholder fake REST API (free, no auth)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/killuaa0-0/MCP-SERVER'
If you have feedback or need assistance with the MCP directory API, please join our Discord server