平台智能 MCP

XMCP服务器

X每月通过短篇文章、直播评论、视频和突发新闻讨论覆盖大约6亿用户,对于实时通信、媒体可见性和声誉响应至关重要。

MCP 版本: 1.0.0 38 MCP工具 身份验证
X

基本网址

https://mcp.pressmonitor.com/x/v1

身份验证

MCP 调用也使用 Bearer 令牌通过 JSON-RPC 2.0 请求。

Authorization: Bearer YOUR_TOKEN

发现工具

首先列出MCP服务器公开的工具。

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
tool autocomplete

自动完成

自动完成

参数

名称 类型 必填 描述
value string
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"autocomplete","arguments":{"value":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool comments

评论

评论

参数

名称 类型 必填 描述
pid string Pid
ranking_mode string 排名模式
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"comments","arguments":{"pid":"SOME_STRING_VALUE","ranking_mode":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool communityTopics

社区话题

社区话题

参数

名称 类型 必填 描述
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"communityTopics","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}'
tool CommunityTweets

社区推文

社区推文

参数

名称 类型 必填 描述
communityId string 社区 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"CommunityTweets","arguments":{"communityId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool fetchPopularCommunities

获取热门社区

获取热门社区

参数

名称 类型 必填 描述
topicId string 话题 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fetchPopularCommunities","arguments":{"topicId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool followers

关注者

关注者

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool followersIDs

关注者ID

关注者ID

参数

名称 类型 必填 描述
username string 用户名(屏幕名,无 @ 符号,例如 'elonmusk')
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followersIDs","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool followings

关注中

关注中

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followings","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool followingsIDs

关注中ID

关注中ID

参数

名称 类型 必填 描述
username string 用户名(屏幕名,无 @ 符号,例如 'elonmusk')
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followingsIDs","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool getUsers

获取用户

获取用户

参数

名称 类型 必填 描述
users string 用户
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"getUsers","arguments":{"users":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool groupTweets

群组推文

群组推文

参数

名称 类型 必填 描述
communityId string 社区 ID
rankingMode string 排名模式
searchType string 搜索类型
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"groupTweets","arguments":{"communityId":"SOME_STRING_VALUE","rankingMode":"SOME_STRING_VALUE","searchType":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool highlights

重点内容

重点内容

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"highlights","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool jobsDetails

职位详情

职位详情

参数

名称 类型 必填 描述
jobId string 职位 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsDetails","arguments":{"jobId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool jobsLocationsSuggest

职位地点建议

职位地点建议

参数

名称 类型 必填 描述
query string 搜索查询
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsLocationsSuggest","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool jobsSearch

职位搜索

职位搜索

参数

名称 类型 必填 描述
employment_type string 就业类型
job_location_id string 职位地点 ID
job_location_type string 职位地点类型
keyword string 关键词
seniority_level string 资历级别
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobsSearch","arguments":{"employment_type":"SOME_STRING_VALUE","job_location_id":"SOME_STRING_VALUE","job_location_type":"SOME_STRING_VALUE","keyword":"SOME_STRING_VALUE","seniority_level":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool likes

点赞

点赞

参数

名称 类型 必填 描述
pid string Pid
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"likes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool listDetails

列表详情

列表详情

参数

名称 类型 必填 描述
listId string 列表 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listDetails","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool listTimeline

列表时间线

列表时间线

参数

名称 类型 必填 描述
listId string 列表 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listTimeline","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool listTweets

列表推文

列表推文

参数

名称 类型 必填 描述
list_id string 列表 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"listTweets","arguments":{"list_id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool orgAffiliates

组织关联

组织关联

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"orgAffiliates","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool quotes

引用推文

引用推文

参数

名称 类型 必填 描述
pid string Pid
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"quotes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool retweets

转推

转推

参数

名称 类型 必填 描述
pid string Pid
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"retweets","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool searchCommunity

搜索社区

搜索社区

参数

名称 类型 必填 描述
query string 搜索查询
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchCommunity","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool searchLists

搜索列表

搜索列表

参数

名称 类型 必填 描述
query string 搜索查询
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchLists","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool searchold

旧搜索

旧搜索

参数

名称 类型 必填 描述
query string 搜索查询
type string 类型
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchold","arguments":{"query":"SOME_STRING_VALUE","type":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool spaces

语音空间

语音空间

参数

名称 类型 必填 描述
id string ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"spaces","arguments":{"id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool trendsLocations

趋势地点

趋势地点

参数

名称 类型 必填 描述
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"trendsLocations","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}'
tool tweet

推文

推文

参数

名称 类型 必填 描述
pid string Pid
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweet","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool tweetByIds

通过 ID 获取推文

通过 ID 获取推文

参数

名称 类型 必填 描述
tweetIDs string 推文 ID 列表
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweetByIds","arguments":{"tweetIDs":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool user

通过用户名查询用户档案。返回用户详情,包括数字用户 ID(rest_id)

通过用户名查询用户档案。返回用户详情,包括数字用户 ID(rest_id)

参数

名称 类型 必填 描述
username string 用户名(屏幕名,无 @ 符号,例如 'elonmusk')
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool userLikes

用户点赞

用户点赞

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userLikes","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool userMedia

用户媒体

用户媒体

参数

名称 类型 必填 描述
cusor string 游标
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userMedia","arguments":{"cusor":"SOME_STRING_VALUE","user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool userReplies

用户回复

用户回复

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userReplies","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool userRepliesV2

用户回复 V2

用户回复 V2

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userRepliesV2","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool userTweets

通过数字用户 ID 获取用户推文。要通过用户名获取推文,需先使用 'user' 端点查询用户 ID

通过数字用户 ID 获取用户推文。要通过用户名获取推文,需先使用 'user' 端点查询用户 ID

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"userTweets","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
tool verifiedFollowers

已验证关注者

已验证关注者

参数

名称 类型 必填 描述
user string 数字用户 ID(非用户名)。使用 'user' 端点通过用户名查询 ID
count string 返回结果数量
cursor string 下一页的分页游标

代码示例

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verifiedFollowers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'