Skip to main content
Glama
fuhaooo

mcp-twitterio

by fuhaooo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWITTER_API_KEYYesYour Twitter API key from twitterapi.io

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

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_user_info_by_usernameA

根据用户名Handle获取用户信息

Args:
    username: Twitter用户名Handle(不含@符号)

Returns:
    包含用户信息的字典
batch_get_users_by_idsA

根据用户ID批量获取用户信息

Args:
    user_ids: 用逗号分隔的用户ID列表,例如:"1234567890,1234567891,1234567892"

Returns:
    包含多个用户信息的字典
get_user_last_tweetsB

获取用户最新的推文

Args:
    userId: 用户ID (推荐使用,更稳定更快)
    userName: 用户名称(screen name)
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含用户推文的字典
get_user_followersA

获取用户的粉丝列表

Args:
    userName: 用户名称(screen name)(必需)
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含用户粉丝列表的字典,每页返回最多200个粉丝
get_user_followingsA

获取用户的关注列表

Args:
    userName: 用户名称(screen name)(必需)
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含用户关注列表的字典,每页返回最多200个关注用户
get_user_mentionsA

获取用户的提及

Args:
    userName: 用户名称(screen name)(必需)
    sinceTime: 在指定的unix时间戳(秒)之后
    untilTime: 在指定的unix时间戳(秒)之前
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含用户提及的推文列表,每页返回最多20条提及
get_tweets_by_idsA

通过推文ID获取推文

Args:
    tweet_ids: 推文ID列表,多个ID用逗号分隔,例如"1846987139428634858,1866332309399781537"

Returns:
    包含推文列表的字典
get_tweet_repliesA

获取推文的回复

Args:
    tweetId: 推文ID(必须是原始推文,非回复)
    sinceTime: 在指定的unix时间戳(秒)之后
    untilTime: 在指定的unix时间戳(秒)之前
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含回复推文的字典,每页返回最多20条回复
get_tweet_quotationsA

获取引用推文的推文

Args:
    tweetId: 推文ID
    sinceTime: 在指定的unix时间戳(秒)之后
    untilTime: 在指定的unix时间戳(秒)之前
    includeReplies: 是否包含回复,默认为True
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含引用推文的字典,每页返回最多20条引用
get_tweet_retweetersA

获取转发推文的用户

Args:
    tweetId: 推文ID
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含转发用户列表的字典,每页返回约100个用户
advanced_search_tweetsA

高级搜索推文

Args:
    query: 搜索查询语句,例如 "AI OR Twitter from:elonmusk since:2021-12-31_23:59:59_UTC"
    queryType: 搜索类型,可选 "Latest" 或 "Top",默认为 "Latest"
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含搜索结果的字典,每页返回约20条推文
get_list_tweetsA

获取列表中的推文

Args:
    listId: 列表ID
    sinceTime: 在指定的unix时间戳(秒)之后
    untilTime: 在指定的unix时间戳(秒)之前
    includeReplies: 是否包含回复,默认为True
    cursor: 用于分页的游标,第一页为空字符串

Returns:
    包含列表推文的字典,每页返回最多20条推文

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/fuhaooo/mcp-twitterio'

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