Skip to main content
Glama

Weibo MCP Server

by Selenium39
/** * 微博API请求的默认HTTP头 */ export const DEFAULT_HEADERS = { 'Content-Type': 'application/json' }; /** * 获取用户资料的URL模板 * {userId}将被替换为实际的用户ID */ export const PROFILE_URL = 'https://m.weibo.cn/api/container/getIndex?type=uid&value={userId}'; /** * 获取用户微博动态的URL模板 * {userId}: 用户的唯一标识符 * {containerId}: 用户动态的容器ID * {sinceId}: 分页信息,上一页最后一条动态的ID */ export const FEEDS_URL = 'https://m.weibo.cn/api/container/getIndex?type=uid&value={userId}&containerid={containerId}&since_id={sinceId}'; /** * 获取微博热搜榜的URL */ export const HOT_SEARCH_URL = 'https://m.weibo.cn/api/container/getIndex?containerid=106003type%3D25%26t%3D3%26disable_hot%3D1%26filter_type%3Drealtimehot'; /** * 搜索微博内容的URL模板 * {keyword}将被替换为要搜索的关键词 * {page}将被替换为页码 */ export const SEARCH_CONTENT_URL = 'https://m.weibo.cn/api/container/getIndex?containerid=100103type%3D1%26q%3D{keyword}&page_type=searchall&page={page}';

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/Selenium39/mcp-server-weibo'

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