threads-mcp
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
developers.facebook.com → App → thêm sản phẩm Threads API.
Cấp quyền:
threads_basic,threads_content_publish.Qua luồng OAuth Threads → lấy access token + THREADS_USER_ID.
Host API:
graph.threads.net(khác Facebook/Instagram).
Import vào Evose (STDIO / npx)
{
"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.
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/Maz1n0-zzz/threads-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server