Back to Browse

Sociallens MCP Server

Developer ToolsModerate6.1MCP RegistryLocal
Free

Server data from the Official MCP Registry

Rolli IQ social search and analytics: keyword, user and expert searches, agents, usage.

About

Rolli IQ social search and analytics: keyword, user and expert searches, agents, usage.

Security Report

6.1
Moderate6.1Moderate Risk

sociallens is a Rolli IQ social-media search client that requires ROLLI_API_TOKEN, fails closed when it is missing, and makes one request per tool call to the documented api.rolli.ai endpoints with no evidence of exfiltration, shell execution, or hardcoded secrets. Remaining concerns are minor: the API base URL can be overridden via SOCIALENS_API_URL so the Bearer token could be sent to an arbitrary host if that variable is misconfigured, and the token is attached to every request. Network access and the token env var match the server's stated purpose. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

8 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

ROLLI_API_TOKENRequired

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-cloudcorprecords-sociallens": {
      "env": {
        "ROLLI_API_TOKEN": "your-rolli-api-token-here"
      },
      "args": [
        "-y",
        "@reneturcios/sociallens"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

sociallens

sociallens talks to Rolli IQ's social-media search and analytics API: keyword, user, and expert searches and the posts they find, the topic tree, agent runs, agent schedules, integration setup, and account usage. One binary serves a command-line interface and a stdio MCP server.

An API token is required. Set ROLLI_API_TOKEN before use; when it is missing or blank, every tool fails with an error before any request is made. ROLLI_USER_ID is optional and defaults to rolli-mcp; its value is sent with every request. The API base URL can be overridden with SOCIALENS_API_URL; when it is not set, calls go to https://api.rolli.ai.

One difference from the original server is worth knowing up front: the original waits, polling until a search completes (which can take up to ten minutes). sociallens makes a single request per tool call and returns whatever status and results the API reports at that moment; call the matching get_* tool again to check on a search that is still running.

Install

npx @reneturcios/sociallens get_usage

Or run the container image:

docker run -i ghcr.io/cloudcorprecords/sociallens

The container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.

CLI

The subcommands mirror the MCP tool names:

export ROLLI_API_TOKEN=...

sociallens list_keyword_searches --status completed
sociallens keyword_search --query "electric vehicles" --platforms x,reddit
sociallens get_keyword_search --id ks1
sociallens get_keyword_search_posts --id ks1
sociallens list_user_searches
sociallens user_search --query "@someone"
sociallens list_expert_searches
sociallens expert_search --query "climate science"
sociallens get_topic_tree
sociallens list_agent_runs --status running
sociallens start_agent_run --agent-id ag1 --input "weekly roundup"
sociallens create_agent_schedule --agent-id ag1 --cron-expression "0 9 * * *" --name daily
sociallens pause_agent_schedule --id s1
sociallens list_agent_schedule_runs --id s1
sociallens get_integration_setup
sociallens update_integration_setup --platform slack --enabled true
sociallens get_usage

sociallens --version

Results print the upstream JSON payload. Exit codes: 0 on success, 1 when a call fails (including a missing token or an upstream API error), 2 for usage errors.

MCP server

One bin serves both faces. The mcp subcommand starts a stdio MCP server:

npx -y @reneturcios/sociallens mcp

MCP client configuration:

{
  "mcpServers": {
    "sociallens": {
      "command": "npx",
      "args": ["-y", "@reneturcios/sociallens", "mcp"],
      "env": { "ROLLI_API_TOKEN": "..." }
    }
  }
}

Tools

ToolInputWhat it does
list_keyword_searchesstatus (optional)List keyword searches.
keyword_searchquery (required), platforms, start_date, end_dateStart a keyword search.
get_keyword_searchid (required)Get one keyword search.
list_user_searchesstatus (optional)List user searches.
user_searchquery (required), platforms, start_date, end_dateStart a user search.
get_user_searchid (required)Get one user search.
list_expert_searchesstatus (optional)List expert searches.
expert_searchquery (required), platforms, start_date, end_dateStart an expert search.
get_expert_searchid (required)Get one expert search.
get_topic_tree(none)Get the topic tree.
get_keyword_search_postsid (required)Get a keyword search's posts.
get_user_search_postsid (required)Get a user search's posts.
list_agent_runsstatus (optional)List agent runs.
start_agent_runagent_id (required), inputStart an agent run.
get_agent_runid (required)Get one agent run.
cancel_agent_runid (required)Cancel an agent run.
rerun_agent_runid (required)Re-run an agent run.
update_agent_runid (required), name, statusUpdate an agent run.
delete_agent_runid (required)Delete an agent run.
list_agent_schedulesstatus (optional)List agent schedules.
create_agent_scheduleagent_id, cron_expression (both required), nameCreate an agent schedule.
get_agent_scheduleid (required)Get one agent schedule.
update_agent_scheduleid (required), name, cron_expression, agent_idUpdate an agent schedule.
delete_agent_scheduleid (required)Delete an agent schedule.
pause_agent_scheduleid (required)Pause an agent schedule.
resume_agent_scheduleid (required)Resume an agent schedule.
list_agent_schedule_runsid (required), statusList a schedule's runs.
get_integration_setup(none)Get the integration setup.
update_integration_setupplatform, webhook_url, enabledUpdate the integration setup.
get_usage(none)Get account usage.

platforms is an array of platform names. Dates use YYYY-MM-DD form as start_date / end_date.

Development

npm install
npm run build   # tsc -> dist/
npm test        # node test runner over test/*.test.ts, no network (fake fetch fixtures)
npm run dev     # run the CLI from source via tsx

License

MIT — see LICENSE.

Reviews

No reviews yet

Be the first to review this server!