Skip to main content
Glama
ThinkCol

Lenx MCP Server

by ThinkCol

Lenx MCP Server

MCP server bridging AI agents to the Lenx.ai social media monitoring API.

Installation

Run directly via npx (no local installation required):

npx @fastaai/lenx-mcp

Or install globally:

npm install -g @fastaai/lenx-mcp
lenx-mcp

Configuration

The server requires two environment variables:

Variable

Required

Description

LENX_API_KEY

Yes

Your Lenx API key

LENX_USER_ID

Yes

Your Lenx user ID

LENX_BASE_URL

No

API base URL (default: https://open.lenx.ai)

Claude Code

Add to your Claude Code MCP configuration:

{
  "mcpServers": {
    "lenx": {
      "command": "npx",
      "args": ["-y", "@fastaai/lenx-mcp"],
      "env": {
        "LENX_API_KEY": "your-api-key",
        "LENX_USER_ID": "your-user-id",
        "LENX_BASE_URL": "https://open.lenx.ai"
      }
    }
  }
}

OpenCode

Add to your ~/.config/opencode/opencode.json:

{
  "mcpServers": {
    "lenx": {
      "command": "npx",
      "args": ["-y", "@fastaai/lenx-mcp"],
      "env": {
        "LENX_API_KEY": "your-api-key",
        "LENX_USER_ID": "your-user-id"
      }
    }
  }
}

Available Tools

Tool

Description

lenx_list_tasks

List monitoring tasks with pagination

lenx_get_task

Get task details by ID

lenx_create_task

Create a new live or adhoc task

lenx_update_task

Update task name and/or search query

lenx_delete_task

Delete a monitoring task

lenx_get_task_data

Get paginated post data for a task

lenx_export_task_data

Request CSV/XLSX export via email

Development

# Install dependencies
npm install

# Run tests
npm test

# Build
npm run build

# Watch mode
npm run watch

License

MIT

Install Server
F
license - not found
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/ThinkCol/lenx-mcp'

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