跳转到内容
RailWise KB已发布

MCP Server Overview

Overview of RAILWISE MCP (Model Context Protocol) Server, covering architecture, capabilities, integration methods, and use cases.

复核 2026-07-09入门公开可引用RailWise 技术团队
learning-path

MCP (Model Context Protocol) is an open protocol developed by Anthropic for connecting AI assistants with external data sources and tools. RAILWISE MCP Server allows AI assistants to access monitoring data, execute commands, and generate reports.

┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ AI Client │ ←→ │ MCP Server │ ←→ │ RailWise API │
│ (Claude/ │ │ (RailWise) │ │ (Backend) │
│ Cursor) │ │ │ │ │
└─────────────┘ └─────────────┘ └─────────────┘
Tool Name Description Parameters
query_data Query monitoring data project_id, point_id, date_range
generate_report Generate monitoring report project_id, report_type, date_range
analyze_trend Analyze data trend project_id, point_id, period
check_alert Check warning status project_id, level
export_data Export monitoring data project_id, format, date_range
Resource Description Access Method
project://{id} Project information Read
data://{project_id}/{point_id} Monitoring data Read
report://{project_id}/{report_id} Monitoring report Read
standard://{code} Standard document Read
  1. Install RAILWISE MCP Server
  2. Configure Claude Desktop settings
  3. Add MCP server configuration
{
"mcpServers": {
"railwise": {
"command": "npx",
"args": ["@railwise/mcp-server"],
"env": {
"RAILWISE_API_KEY": "your_api_key"
}
}
}
}
  1. Open Cursor Settings
  2. Go to Features > MCP
  3. Add MCP server
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
const client = new Client({
name: "my-client",
version: "1.0.0"
});
await client.connect(transport);
// List available tools
const tools = await client.listTools();
// Call tool
const result = await client.callTool({
name: "query_data",
arguments: {
project_id: "proj-001",
point_id: "JC-01",
date_range: "2024-01-01,2024-01-31"
}
});
User: "Query the settlement data of point JC-01 in the last 7 days"
AI: Calls query_data tool → Returns data → Displays results
User: "Generate a weekly report for project proj-001"
AI: Calls generate_report tool → Returns report → Displays report
User: "Analyze the settlement trend of point JC-01"
AI: Calls analyze_trend tool → Returns analysis → Displays trend chart

MCP Server uses API Key authentication. All requests must include a valid API Key.

MCP Server inherits the permissions of the API Key. Only authorized data and operations can be accessed.

  • MCP Server does not store conversation content
  • All data access is through the RailWise API
  • Data transmission uses HTTPS encryption

RailWise · Smart Monitoring — Engineering Surveying and Safety Monitoring Digital Solutions