Sensors MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SA_URL | Yes | 神策分析服务器地址 | |
| SA_API_KEY | Yes | API Key,在神策后台「项目管理 → 数据接口」中获取 | |
| SA_PROJECT | Yes | 神策分析项目名称 | |
| SA_API_SECRET | No | API Secret(可选) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_sensors_configA | 获取当前的神策配置信息(仅用于调试) |
| verify_sensors_configB | 验证神策 OpenAPI 配置是否正确 |
| list_events_allC | 获取神策分析事件列表 (元数据) |
| list_event_tagsA | 获取神策分析事件标签列表 (元数据) |
| get_event_propertiesB | 获取指定事件的属性列表 |
| list_event_properties_allC | 获取所有事件的属性列表 (可能比较慢) |
| query_segmentation_reportC | 查询事件分析报告。参数直接对应神策 OpenAPI 的 SegmentationReportRequest 结构。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct aspect: specific event properties vs all properties, events vs tags, config retrieval vs verification, and a single query report. No overlapping purposes.
All tools follow a consistent verb_noun pattern in English using snake_case: get_, list_, query_, verify_. The verbs appropriately reflect the action.
7 tools is well-scoped for a Sensors analytics server, covering configuration, metadata listing, and a core reporting function without excess or deficiency.
Covers essential operations: config management, event/property/tag listing, and a segmentation report query. Minor gap in other report types, but core workflows are complete.