Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoLog startup, captured GraphQL op names, and scheduler activity to stderr.false
CACHE_TTL_MSNoIn-memory read-cache lifetime.30000
THREADS_DOMAINNoThreads domain (threads.net redirects here).threads.com
THREADS_HEADLESSNoKeep false — headless is detected.false
THREADS_PROFILE_DIRNoWhere the saved login lives.~/.threads-mcp/chrome-profile
THREADS_LOCK_TIMEOUT_MSNoCeiling on one browser operation; on timeout the page resets.120000
THREADS_MAX_MEDIA_BYTESNoLargest accepted media file (64 MB).67108864
THREADS_MEDIA_TIMEOUT_MSNoPer-download timeout for http(s) media.60000
THREADS_MIN_ACTION_INTERVAL_MSNoMinimum gap between write actions. Raise to be safer.8000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoamiA

Show which Threads account this server is signed in as (your @handle, user id, name, follower/following counts). Use this to confirm the active session before posting.

get_profileA

Get a Threads user's profile: display name, bio, follower count, verified status, and a few recent posts. Omit handle to get your own profile.

get_user_threadsB

Get a user's recent Threads posts (their profile feed).

get_threadA

Get a single Threads post with its stats. Provide the post url, or handle + code.

get_thread_repliesA

Get the replies to a Threads post. Provide the post url, or handle + code.

get_timelineA

Get your Threads home feed (the "For you" timeline).

searchA

Search Threads for posts or users matching a query.

get_notificationsA

Read your Threads Activity feed — who followed you, replies and mentions, and suggestions. This is how you find out what happened on your account; every other read tool looks outward. Optionally filter by kind.

get_followersA

Get a sample of a user's followers (opens the followers list and reads what loads). Threads does not expose a full follower dump; expect a partial list.

get_followingA

Get a sample of the accounts a user follows (opens their Following list and reads what loads). Threads does not expose a full dump; expect a partial list.

create_threadA

Post a new thread to YOUR Threads account — text and/or media (images & video). ⚠️ Real account — use sparingly; the server enforces a minimum gap between writes to avoid rate-limit/automation flags.

reply_to_threadA

Reply to a Threads post with text and/or media. Provide the post url, or handle + code. ⚠️ Real account — rate-limited.

like_threadA

Like a Threads post. Provide the post url, or handle + code. ⚠️ Real account — rate-limited.

repost_threadA

Repost a Threads post to your followers. Provide the post url, or handle + code. ⚠️ Real account — rate-limited.

quote_threadA

Quote-post a Threads post — repost it with your own comment (text and/or media). Provide the post url, or handle + code, plus your text and/or media. ⚠️ Real account — rate-limited.

follow_userA

Follow a Threads user by @handle. ⚠️ Real account — follow/unfollow bursts are a classic ban trigger, so this is rate-limited.

delete_threadA

Delete one of YOUR OWN Threads posts. Provide the post url, or handle + code. This is permanent.

unlike_threadA

Remove your like from a Threads post. Provide the post url, or handle + code. ⚠️ Real account — rate-limited.

unrepost_threadA

Remove your repost of a Threads post. Provide the post url, or handle + code. ⚠️ Real account — rate-limited.

unfollow_userA

Unfollow a Threads user by @handle. ⚠️ Real account — follow/unfollow bursts are a classic ban trigger, so this is rate-limited.

schedule_threadA

Schedule a text/media post to publish later. Give at (ISO datetime, e.g. "2026-07-14T20:00", interpreted in the server's local timezone unless you add an offset like "+07:00" or "Z") OR in (a duration like "30m", "2h", "1d"). ⚠️ The post only fires while THIS server is running; past-due jobs fire on the next startup. For long horizons, run the server as an always-on daemon. Local media file paths must still exist when the job fires.

list_scheduledA

List scheduled posts and their status (pending / done / failed / canceled).

cancel_scheduledA

Cancel a pending scheduled post by its id (from schedule_thread / list_scheduled).

doctorA

Check that this server can still drive Threads: session validity, and whether each DOM anchor the write tools depend on is still present. Run it when tools start failing oddly — Meta ships UI changes without notice, and a moved anchor otherwise shows up as a vague "could not confirm" from whichever tool happened to use it. Read-only: it opens the composer to inspect it but never posts, and discards any draft it would create.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/bintangtimurlangit/threads-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server