threads-mcp
by Maz1n0-zzz
README.md
# Threads MCP Server
MCP đăng & quản lý nội dung Threads qua Meta Threads API. Chạy STDIO (npx từ GitHub). Ai cũng dùng được — chỉ điền 2 biến môi trường.
**9 tools:** get_profile, post_text, post_image, post_video, post_carousel, list_threads, get_thread, get_replies, reply.
> Đăng theo quy trình container (tạo → chờ xử lý nếu có video → publish).
## Biến môi trường
| Biến | Bắt buộc | Mô tả |
|------|:--:|------|
| THREADS_USER_ID | ✅ | ID tài khoản Threads |
| THREADS_ACCESS_TOKEN | ✅ | Access Token (quyền threads_content_publish) |
| THREADS_GRAPH_VERSION | ❌ | Mặc định v1.0 |
## Lấy token
1. developers.facebook.com → App → thêm sản phẩm **Threads API**.
2. Cấp quyền: `threads_basic`, `threads_content_publish`.
3. Qua luồng OAuth Threads → lấy access token + THREADS_USER_ID.
4. Host API: `graph.threads.net` (khác Facebook/Instagram).
## Import vào Evose (STDIO / npx)
```json
{
"mcpServers": {
"threads": {
"command": "npx",
"args": ["-y", "github:<user>/threads-mcp"],
"env": {
"THREADS_USER_ID": "...",
"THREADS_ACCESS_TOKEN": "..."
}
}
}
}
```
Thay `<user>` bằng GitHub username. Execution Timeout để 120s.
## Ghi chú
- Ảnh/video đăng từ URL công khai. License MIT.TDQS
B3/5.0
Scored across 9 tools
Disambiguation5/5
Each tool targets a distinct action: posting types (text, image, video, carousel), retrieval (list, get), and interaction (reply, get_replies, get_profile). No overlap in functionality.
Naming Consistency5/5
All tools follow a clear verb_noun pattern (e.g., post_text, get_thread, list_threads) with consistent snake_case. No deviations or mixed conventions.
Tool Count5/5
9 tools cover key Threads operations (posting multiple formats, reading, replying) without bloat or deficiency. Well-scoped for a social media API.
Completeness4/5
Core workflows are complete: create (text, image, video, carousel), read (list, get, get_replies, profile), and reply. Minor gaps: no delete or update operations, but these are not essential for basic usage.
Maintenance
ActivityStale
ResponsivenessNo issues