
Sisense Mcp Server
io.github.sisense由 GitHub 账号 sisense 发布v0.2.2更新于 Nov 3, 2026
MCP server leveraging Sisense Intelligence for actionable insights and analytics.
发布方自己的服务:Sisense
概览
将助手连接到 Sisense 分析实例,可列出数据模型与字段,并根据自然语言提示生成图表。
- 可以做什么
- 列出 Sisense 数据源与数据模型
- 查看指定数据源可用的字段
- 根据自然语言提示构建图表,在支持 MCP Apps 的客户端中以交互视图呈现,或输出为图片
- 在启用相应功能开关后,可选地执行分析查询
- 在图表响应中附带自然语言叙述与洞察
- 适用场景
- 适用于使用 Sisense 部署、希望让助手探索数据模型并自动生成图表或查询的场景。注意该仓库已标注为弃用且不再维护,Sisense 2026.3.1 起提供基于 OAuth 的托管端点。
- 运行要求
- 以本地 Node.js 进程运行(需 Node.js 18 及以上,项目脚本使用 Bun),从 npm 包启动后默认在 3001 端口提供 streamable HTTP 端点。需要一个可访问 API 的 Sisense 实例、SISENSE_URL 与 SISENSE_TOKEN 的值,并为自然语言工具启用 Cloud-Linked Features。安装时会自动安装 Playwright Chromium。
安装
在 SourceWeft 中
- 打开 控制台中的 Sisense Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Sisense MCP Server
[!WARNING] Deprecated. This repository is no longer maintained and will be archived. The Sisense MCP Server is now a hosted endpoint with OAuth 2.1, available in Sisense 2026.3.1. See the Sisense MCP Server documentation to set it up. This repository will not receive further features or fixes.
A Model Context Protocol (MCP) server that provides integration with Sisense analytics platform. This server enables LLMs to interact with Sisense data models and create charts programmatically.
Features
- Transport: Streamable HTTP (
streamable-http) for HTTP-based MCP clients (for example Claude Desktop, Cursor) - MCP tools (three by default; optional fourth when enabled):
getDataSources: Retrieve Sisense data sources (or data models)getDataSourceFields: List all available fields for a specific data sourcebuildChart: Build charts from natural language promptsbuildQuery(optional): Run analytics queries whenTOOL_BUILD_QUERY_ENABLED/toolBuildQueryEnabledis enabled
- MCP Apps: When used in MCP Apps–capable clients (for example Claude),
buildChartexposes an interactive View that renders the chart in an iframe within the app. - Per-session authentication: Sisense credentials via URL parameters and/or server environment variables
- TypeScript: Full type safety and modern ESM support
- Lightweight: Pure Node.js HTTP server, no heavy frameworks
- Fast: Optimized for Bun runtime, also runs on Node.js
Documentation
- Quick start — clone,
.env, run, MCP client setup - Configuration — credentials, tunneling, feature flags, URL examples
- FAQ — common questions and troubleshooting
- Usage examples — prompts and workflows
Prerequisites
- Node.js >= 18.0.0 (required for local development and
npm) - Bun for running project scripts (
dev,build,start, tests): thebunpackage is a devDependency, so afternpm installorbun installthe Bun binary is available undernode_modules/.bin—a global Bun install is not required. A global Bun install is optional. - Sisense instance with API access
- Sisense API token
- Cloud-Linked Features enabled on your Sisense instance (and an LLM provider configured if using Bring Your Own Key (BYOK)). Required for natural-language tools such as
buildChartandbuildQuery. See Generative AI (Cloud-Linked Features). This is separate from your MCP client's LLM (e.g. Claude in Cursor). - Playwright Chromium (installed automatically by
bun install/npm installviapostinstall)
Installation
Usage
Start the server:
Sessions are in-memory — chart state is lost if the server restarts.
The server prints something like the following (port defaults to 3001, or PORT if set):
Connecting your MCP client
Use an MCP streamable HTTP URL. For Cursor, Claude Desktop, and similar clients, add a server entry with the MCP path (not a shell command such as bun run dev or npm run dev).
If SISENSE_URL and SISENSE_TOKEN are set in the server environment (for example in .env loaded by the process that runs bun run dev or npm run dev), the client URL does not need to include credentials:
Note: Depending on your network or client environment, the localhost HTTP setup may not connect. In those cases, you will need to expose your local server publicly via HTTPS using a proxy service such as ngrok. Point the client at your HTTPS tunnel URL with the same /mcp path (and query parameters if you are not using server env credentials).
Credentials: If you do not use server env vars, put sisenseUrl and sisenseToken on the MCP URL as query parameters (URL params take precedence over env when both are present). Always percent-encode each value — see Configuration: URL encoding for details and examples.
Alternative connection patterns (placeholders only; use encoded values for real credentials):
With SISENSE_URL and SISENSE_TOKEN in the server environment only:
Behind a public HTTPS tunnel (example):
Claude (claude.ai and Desktop): Sisense CORS for interactive charts
In MCP App mode (the default), Anthropic Claude renders charts inside the MCP content UI—on claude.ai or Claude Desktop. The browser loads your Sisense instance from origins under *.claudemcpcontent.com, so Sisense must allow those origins or the widget fails with a network or CORS error.
In your Sisense instance, go to Admin → Security Settings → CORS Allowed Origins and add:
https://*.claudemcpcontent.com
Use this subdomain wildcard form. A single origin such as https://claudemcpcontent.com (no *.) may not match the actual frame origins and charts can still fail to load.
More context: FAQ: Claude MCP App charts and CORS.
Configuration
The server automatically derives its public base URL from request headers, so it works correctly behind proxies like ngrok. For how to build encoded MCP URLs, see URL encoding for query parameters.
Optional feature-flag query parameters
Defaults suit most setups; change flags when you need a specific client behavior. For when to use each flag, copy-paste URL patterns, and env vs query string, see docs/guides/configuration.md.
These query params override the corresponding env vars on a per-connection basis. Accepted values: true, false, 1, 0 (case-insensitive).
Example URL with all three overrides (encode sisenseUrl and sisenseToken values when they are not simple alphanumeric placeholders):
Development
Security Considerations
⚠️ NEVER commit credentials to version control
⚠️ Use secret managers or vaults - NOT environment variables in production
⚠️ NEVER bind to 0.0.0.0 in production - use 127.0.0.1 or Unix socket
⚠️ Recommended: Use dev or staging Sisense when you have them. Autonomous AI clients can issue many API calls, and prompts can be ambiguous. Non-production reduces the impact of mistakes and surprises.
⚠️ Enable authentication - never run without auth
⚠️ Approve EVERY tool call - review all parameters before execution
⚠️ Create dedicated Sisense service account with minimum required permissions
⚠️ Rotate credentials regularly (every 90 days recommended)
来源:README.md,提交 2f7337d
工具
0版本历史
1- v0.2.2最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。