VictoriaMetrics-mcp-server
VictoriaMetrics MCP 서버
VictoriaMetrics의 MCP 서버.
Smithery를 통해 설치
Smithery 를 통해 Claude Desktop용 VictoriaMetrics Server를 자동으로 설치하려면:
지엑스피1
디버그
npx @modelcontextprotocol/inspector -e VM_URL=http://127.0.0.1:8428 node src/index.js
엔피엑스
{
"mcpServers": {
"victoriametrics": {
"command": "npx",
"args": [
"-y",
"@yincongcyincong/victoriametrics-mcp-server"
],
"env": {
"VM_URL": "",
"VM_SELECT_URL": "",
"VM_INSERT_URL": ""
}
}
}
}📊 VictoriaMetrics 도구 API 문서
Related MCP server: ClickHouse MCP Server
1. vm_data_write
설명 : VictoriaMetrics 데이터베이스에 데이터를 씁니다.
입력 매개변수 :
매개변수 | 유형 | 설명 | 필수의 |
|
| 메트릭의 태그 | ✅ |
|
| 메트릭 값 배열 | ✅ |
|
| Unix 초 단위의 타임스탬프 배열 | ✅ |
2. vm_prometheus_write
설명 : Prometheus 설명 형식 데이터를 VictoriaMetrics로 가져옵니다.
입력 매개변수 :
매개변수 | 유형 | 설명 | 필수의 |
|
| Prometheus 설명 형식의 메트릭 | ✅ |
3. vm_query_range
설명 : 특정 시간 범위에 대한 시계열 데이터를 쿼리합니다.
입력 매개변수 :
매개변수 | 유형 | 설명 | 필수의 |
|
| PromQL 표현식 | ✅ |
|
| Unix 초 단위의 시작 타임스탬프 | ⛔️ |
|
| Unix 초 단위의 종료 타임스탬프 | ⛔️ |
|
| 쿼리 해결 단계 너비(예: | ⛔️ |
query만 필수이며, 다른 필드는 선택 사항입니다.
4. vm_query
설명 : 시계열의 현재 값을 쿼리합니다.
입력 매개변수 :
매개변수 | 유형 | 설명 | 필수의 |
|
| 평가할 PromQL 표현식 | ✅ |
|
| Unix 초 단위의 평가 타임스탬프 | ⛔️ |
5. vm_labels
설명 : 모든 고유한 레이블 이름을 가져옵니다.
입력 매개변수 : 없음
6. vm_label_values
설명 : 특정 라벨에 대한 모든 고유 값을 가져옵니다.
입력 매개변수 :
매개변수 | 유형 | 설명 | 필수의 |
|
| 값을 얻기 위한 레이블 이름 | ✅ |
Available Tools
6 toolsvm_data_writeC
Write data to the VM database
Inputs: metric (required), values (required), timestamps (required).
vm_labelsB
Get all unique label names
Inputs: no named parameters.
vm_label_valuesC
Get all unique values for a specific label
Inputs: label (required).
vm_prometheus_writeC
mport Prometheus exposition format data into VictoriaMetrics
Inputs: data (required).
vm_queryC
Query current value of a time series
Inputs: query (required), time.
vm_query_rangeC
Query time series over a time range
Inputs: query (required), start, end, step.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with no overlap: writing data, retrieving metadata about labels, querying current values, and querying over time ranges. The descriptions make it easy to differentiate between tools like vm_query (current value) and vm_query_range (time range).
All tools follow a consistent 'vm_' prefix with snake_case naming, using descriptive verb_noun patterns (e.g., vm_data_write, vm_query_range). There are no deviations in style or convention across the set.
With 6 tools, this is well-scoped for a VictoriaMetrics server, covering core operations like data ingestion, label exploration, and querying without being overwhelming. Each tool earns its place in the workflow.
The toolset covers essential CRUD-like operations for time series data: writing (vm_data_write, vm_prometheus_write), reading (vm_query, vm_query_range), and metadata exploration (vm_labels, vm_label_values). A minor gap might be the lack of explicit deletion or update tools, but agents can work around this given the domain's typical usage patterns.
Maintenance
Related MCP Connectors
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for interacting with Prometheus metrics and data.17MIT
- Apache 2.0
- AlicenseNot gradedqualityAmaintenanceThe implementation of Model Context Protocol (MCP) server for VictoriaMetrics248Apache 2.0
- AlicenseNot gradedqualityAmaintenanceThe implementation of Model Context Protocol (MCP) server for VictoriaLogs.112Apache 2.0