MCP Blog Demo
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 Blog DemoSearch for posts about Node.js"
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 Blog Demo
Demo MCP Server kết nối Claude với ứng dụng Blog (Express + MongoDB).
🚀 Quick Start
Chạy với Docker (Recommended)
# Start MongoDB + App
docker compose -p trunglyson-mcp-blog up -dServer sẽ chạy tại:
🔌 Kết nối với Claude
Claude Code (MCP URL)
http://localhost:3000/sse🛠 MCP Tools Available
Tool | Description |
| Lấy danh sách bài viết (filter: status, author, tag) |
| Lấy chi tiết bài viết theo ID hoặc slug |
| Tạo bài viết mới |
| Cập nhật bài viết |
| Xóa bài viết |
| Tìm kiếm bài viết theo keyword |
| Thống kê tổng quan blog |
📝 API Endpoints
Method | Endpoint | Description |
GET |
| List posts |
GET |
| Get post detail |
POST |
| Create post |
PUT |
| Update post |
DELETE |
| Delete post |
GET |
| Blog statistics |
🧪 Test với cURL
# 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"📁 Project Structure
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)🎯 Demo Scenarios
Sau khi kết nối MCP với Claude, thử các câu hỏi:
"Cho tôi xem danh sách tất cả bài viết"
"Tìm bài viết về Node.js"
"Tạo bài viết mới về React với tiêu đề 'React Hooks Guide'"
"Thống kê blog có bao nhiêu bài viết?"
"Publish bài viết có ID xyz"
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/trungls1706/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server