Skip to main content
Glama

工具

工具

描述

list_keyword_searches

列出所有关键词搜索,并按状态过滤

keyword_search

创建关键词/标签搜索并在完成后返回结果

get_keyword_search

获取关键词搜索结果(状态、分析、帖子)

list_user_searches

列出所有用户搜索,并按状态过滤

user_search

创建用户资料搜索并在完成后返回结果

get_user_search

获取用户搜索结果(资料、指标、内容分析)

get_topic_tree

获取关键词搜索的对话主题树

get_keyword_search_posts

获取关键词搜索的原始帖子

get_user_search_posts

获取用户搜索的原始帖子

get_integration_setup

获取当前集成设置(Webhook URL、名称)

update_integration_setup

设置用于搜索完成通知的 Webhook URL

get_usage

获取 API 使用数据和各用户的明细

设置

你需要一个拥有 API 访问权限的 Rolli 账户。请从 rolli.ai 获取你的 API 令牌。

Claude Desktop / Claude Code / VS Code / Cursor / Windsurf

添加到你的 MCP 配置中(claude_desktop_config.json.vscode/mcp.json 或等效文件):

{
  "mcpServers": {
    "rolli": {
      "command": "npx",
      "args": ["-y", "@rolli/mcp"],
      "env": {
        "ROLLI_API_TOKEN": "your_token"
      }
    }
  }
}

ROLLI_USER_ID 是可选的,默认为 "rolli-mcp"。设置此项可覆盖为你自己的用户 ID。

可选环境变量

变量

默认值

描述

ROLLI_USER_ID

"rolli-mcp"

随 API 请求发送的用户 ID

ROLLI_POLL_INTERVAL_MS

5000

等待搜索结果时的轮询间隔(毫秒)

ROLLI_MAX_POLL_MS

600000

搜索超时前的最长等待时间(毫秒)(默认:10 分钟)

Smithery

此服务器包含一个用于通过 Smithery 部署的 smithery.yaml。它会在设置过程中提示你输入 API 令牌。

使用示例

在社交媒体上搜索关键词:

"Search for posts about 'artificial intelligence' on Twitter and Reddit from the last week"

分析用户资料:

"Look up @elonmusk on Twitter and analyze their recent posts"

获取主题细分:

"Show me the topic tree for my keyword search #123"

检查 API 使用情况:

"How many searches have I used this month?"

设置 Webhook:

"Set my webhook URL to https://myapp.com/rolli-callback"

开发

npm ci
npm run lint    # ESLint
npm run build   # TypeScript
npm test        # Vitest

CI 在每次推送到 master 分支和提交 PR 时运行。在 GitHub 上发布的版本会自动发布到 npm(需要 NPM_TOKEN 仓库密钥)。

许可证

MIT

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
1wRelease cycle
7Releases (12mo)

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/rolliinc/rolli-mcp'

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