Threads API MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| THREADS_USER_ID | No | User ID (Optional, default: "me") | me |
| THREADS_ACCESS_TOKEN | Yes | Meta Threads User Access Token (Required) | |
| THREADS_API_BASE_URL | No | API Base URL (Optional) | https://graph.threads.net/v1.0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_profile_infoA | Fetch the authenticated Threads user's profile information. Returns: JSON string containing user id, username, bio, avatar URL, and profile link. |
| list_recent_postsA | Fetch recent posts from the authenticated user's Threads account. Args: limit: Number of posts to retrieve (1 to 100, default 25). after: Pagination cursor for fetching subsequent posts page. before: Pagination cursor for fetching previous posts page. Returns: JSON string with list of posts (id, text, media_type, timestamp, permalink) and pagination cursors. |
| get_post_detailsA | Fetch detailed metadata for a single Threads post. Args: media_id: Unique Threads post/media ID. Returns: JSON string with post content, author username, timestamp, permalink, and media info. |
| get_post_analyticsA | Fetch engagement analytics (views, likes, replies, reposts, quotes) for a specific post. Args: media_id: Unique Threads post/media ID. Returns: JSON string containing numeric metrics (views, likes, replies, reposts, quotes) and raw data. |
| get_account_analyticsA | Fetch aggregated engagement metrics for the account over a specified time window. Args: metric_types: List of metrics (e.g. ["views", "likes", "reposts", "quotes", "followers_count"]). days_back: Number of past days to query (default: 7). Returns: JSON string containing aggregated metric totals. |
| fetch_post_repliesA | Fetch replies and comments attached to a specific Threads post. Args: media_id: Unique Threads post/media ID. reverse_sort: If True, returns newest replies first. If False, returns chronological order. limit: Max replies to fetch (default 50). after: Pagination cursor for next page of replies. Returns: JSON string containing list of replies (id, text, timestamp, username, permalink) and cursors. |
| export_postsA | Export recent posts formatted as a clean flat JSON list for archiving, analysis, or vector embeddings. Args: limit: Number of posts to export (default 50, max 100). Returns: JSON string containing flat simplified post items with ID, text, timestamp, and URL. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/VladMontana/treads-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server