plainsignal
PlainSignal Official MCP Server
claude mcp add --transport stdio plainsignal-plainsignal-mcp npx -y @plainsignal/plainsignal-mcp \ --env PLAINSIGNAL_TOKEN="<YOUR_PLAINSIGNAL_TOKEN>"
How to use
PlainSignal MCP Server exposes tools to retrieve analytics reports and metrics from PlainSignal's analytics API via the MCP protocol. The server runs as an MCP-compatible endpoint that you can connect to with an MCP client, listing available tools such as getReport and getSubReport. You configure authentication with your Plainsignal access token, and optionally override the API base URL if you want to connect to a different Plainsignal instance or a staging environment. Typical usage involves starting the server and then invoking the tools to fetch domain- or domain-subset analytics data for specified time ranges. The tools are designed to be invoked through the MCP protocol, returning structured results that you can display or process in your application.
How to install
Prerequisites: Node.js 14+ and npm.
-
Install the MCP server from npm (recommended):
- Globally: npm install -g @plainsignal/plainsignal-mcp
- Locally in your project: npm install @plainsignal/plainsignal-mcp
-
If you prefer to run from source:
- Clone the repository
- Install dependencies: npm install
-
Run the MCP server (from npm):
- If installed globally: plainsignal-mcp --token <your_access_token>
- If installed locally (via npx): npx plainsignal-mcp --token <your_access_token>
- Alternatively, set token via environment variable: export PLAINSIGNAL_TOKEN=<your_access_token> plainsignal-mcp
-
Run from source:
- node src/index.js --token <your_access_token>
- Or with environment variable: export PLAINSIGNAL_TOKEN=<your_access_token> node src/index.js
-
Optional: override API base URL if needed using --api-base-url or API_BASE_URL environment variable.
Additional notes
Tips and notes:
- This server uses ES modules; ensure your Node.js version supports ESM (Node.js 14+).
- The server communicates with the Plainsignal API by default against https://app.plainsignal.com/api/v1; you can override this with --api-base-url or the API_BASE_URL env variable.
- To configure authentication securely, prefer passing the token via environment variable PLAINSIGNAL_TOKEN or using the --token flag.
- The MCP client can list available tools, call getReport and getSubReport with the required parameters (organizationID, domainID, periodFrom, periodTo, periodSelection, aggregationWindow, etc.).
- When running from source, you can customize the base URL with node src/index.js --token <token> --api-base-url <url>, or set API_BASE_URL in the environment.
- For debugging, check logs for token errors or API endpoint issues; ensure your token has the necessary permissions for the requested data.
Related MCP Servers
any-chat-completions
MCP Server for using any LLM as a Tool
bitbucket
Bitbucket MCP - A Model Context Protocol (MCP) server for integrating with Bitbucket Cloud and Server APIs
time
⏰ Time MCP Server: Giving LLMs Time Awareness Capabilities
unity-editor
An MCP server and client for LLMs to interact with Unity Projects
website-publisher
AI Website builder and publisher MCP. Quickly publish and deploy your AI generated code as real website URL. Support html, css, js, python etc.
xgmem
Global Memory MCP server, that manage all projects data.