Surfmeter MCP Server
A Model Context Protocol server for the AVEQ Surfmeter management API. It exposes typed tools for clients, measurements, anomalies, groups, ISPs, users, keys, capabilities, settings, license usage, and the built-in AI assistant.
README
Surfmeter MCP Server
A Model Context Protocol server for the AVEQ Surfmeter management API. It exposes typed tools for clients, measurements, anomalies, groups, ISPs, users, keys, capabilities, settings, license usage, and the built-in AI assistant.
Requirements
- Node.js 20 or newer
- A Surfmeter management API key beginning with
client_admin- - A reachable Surfmeter server
Installation
Install the MCP server globally:
pnpm add --global @aveq-research/surfmeter-mcp
Configuration
The server requires two environment variables:
API_ENDPOINT: Either the Surfmeter server origin, such ashttps://surfmeter-server.demo-analytics.aveq.info, or the complete management endpoint, such ashttps://surfmeter-server.demo-analytics.aveq.info/client_admin_api/v1.API_KEY: A Surfmeter management API key. It is sent in theX-API-KEYrequest header.API_TIMEOUT_MS: Optional request timeout in milliseconds. The default is 30000.
Do not put a real key in source control. .env is ignored, but MCP clients should normally inject the values through their server configuration.
MCP client configuration
Configure your MCP client to launch the installed surfmeter-mcp executable:
{
"mcpServers": {
"surfmeter": {
"command": "surfmeter-mcp",
"env": {
"API_ENDPOINT": "https://surfmeter-server.demo-analytics.aveq.info",
"API_KEY": "client_admin-replace-me"
}
}
}
}
Tool surface
The server advertises ten tools. Five common operations are promoted directly:
surfmeter_get_clients: list clients or get one clientsurfmeter_update_client: update client labels, tags, or groupssurfmeter_search_measurements: query and aggregate measurementssurfmeter_search_anomalies: query and aggregate anomaly episodessurfmeter_get_system_status: read version, measurement options, license usage, or AI status
The complete management API remains available through a searchable internal action catalog:
surfmeter_search_actions: find operations from a natural-language intentsurfmeter_describe_action: retrieve one operation's exact parameter schemasurfmeter_execute_read_action: execute discovered read-only operationssurfmeter_execute_write_action: execute discovered non-destructive mutationssurfmeter_execute_destructive_action: execute deletes, revocations, merges, and client disabling
For example:
{
"query": "create a registration key",
"category": "write"
}
The result identifies the action, its parameter names, and the correct executor. Use surfmeter_describe_action when the exact schema is needed, then pass the selected action to that executor:
{
"action_id": "surfmeter_create_registration_key",
"params": {
"comment": "Video probes",
"capability_id": 12
}
}
The server validates params against the selected action's internal Zod schema. It rejects action/executor category mismatches. Read, write, and destructive executors have separate MCP annotations so compatible hosts can apply the correct confirmation behavior.
The internal catalog covers clients, groups, ISP contracts, ISPs, users, API keys, registration keys, capabilities, measurements, anomalies, tuning overrides, settings, license usage, and Surfmeter's built-in AI assistant.
Magic-link and session endpoints are intentionally not exposed. They are browser authentication mechanisms and are neither needed nor appropriate when the MCP server already authenticates with a management API key.
Elasticsearch searches
surfmeter_search_measurements and surfmeter_search_anomalies accept Elasticsearch Query DSL under body.
Use .keyword for exact matching, aggregations, and sorting on text fields:
{
"body": {
"size": 0,
"query": {
"term": {
"type.keyword": "VideoMeasurement"
}
},
"aggs": {
"by_client": {
"terms": {
"field": "client_label.keyword"
}
}
}
}
}
The server parses normal JSON and Elasticsearch NDJSON scroll responses. Prefer server-side filtering and aggregation to downloading and filtering large datasets in the agent.
Agent skill
The companion Surfmeter skills repository teaches compatible coding agents how to invoke the API directly, and how to construct Elasticsearch requests. Skills are orthogonal to MCP servers. You may choose to not load an MCP server's heavy tool definition in all sessions; skills are a good, lightweight alternative to that.
Development
See DEVELOPERS.md for contributor setup, build instructions, implementation notes, and testing.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。