loading…
Search for a command to run...
loading…
Enables Claude to manage blog posts via MCP, supporting CRUD operations, search, and statistics with Express and MongoDB.
Enables Claude to manage blog posts via MCP, supporting CRUD operations, search, and statistics with Express and MongoDB.
Demo MCP Server kết nối Claude với ứng dụng Blog (Express + MongoDB).
# Start MongoDB + App
docker compose -p trunglyson-mcp-blog up -d
Server sẽ chạy tại:
http://localhost:3000/sse
| Tool | Description |
|---|---|
list_posts |
Lấy danh sách bài viết (filter: status, author, tag) |
get_post |
Lấy chi tiết bài viết theo ID hoặc slug |
create_post |
Tạo bài viết mới |
update_post |
Cập nhật bài viết |
delete_post |
Xóa bài viết |
search_posts |
Tìm kiếm bài viết theo keyword |
get_blog_stats |
Thống kê tổng quan blog |
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/posts |
List posts |
| GET | /api/posts/:id |
Get post detail |
| POST | /api/posts |
Create post |
| PUT | /api/posts/:id |
Update post |
| DELETE | /api/posts/:id |
Delete post |
| GET | /api/posts/stats/overview |
Blog statistics |
# List posts
curl http://localhost:3000/api/posts
# Create post
curl -X POST http://localhost:3000/api/posts \
-H "Content-Type: application/json" \
-d '{"title":"Test Post","content":"Hello World","author":"Test"}'
# Search
curl "http://localhost:3000/api/posts?search=node"
mcp-blog-demo/
├── docker-compose.yml
├── Dockerfile
├── package.json
├── src/
│ ├── index.js # Entry point
│ ├── config/
│ │ └── db.js # MongoDB connection
│ ├── models/
│ │ └── post.model.js # Mongoose schema
│ ├── routes/
│ │ └── post.routes.js # Express routes
│ ├── seed/
│ │ └── seed.js # Fake data seeder
│ └── mcp/
│ └── server.js # MCP Server (SSE)
Sau khi kết nối MCP với Claude, thử các câu hỏi:
Run in your terminal:
claude mcp add mcp-blog-demo -- npx Yes, Blog Demo MCP is free — one-click install via Unyly at no cost.
No, Blog Demo runs without API keys or environment variables.
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
Open Blog Demo on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolProvides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzNot sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs