SRA Simple MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SRA Simple MCP Server run daily farming task with 30 minute timeout"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SRA Simple MCP Server
通过模型上下文协议(MCP)控制星穹铁道助手(StarRailAssistant, SRA)的 MCP 服务器。
功能特性
列出SRA可用任务配置
运行 SRA 任务
Related MCP server: algorithmaide-mcp
安装并检查环境变量
pip install .检查Python的脚本目录是否存在于环境变量中
{Python安装目录}\Scripts配置
在 sra_simple_mcp 目录下的 config.json中配置StarRailAssistant的路径
{
"sra_path": "D:\\Software\\StarRailAssistant" // StarRailAssistant的安装路径
}MCP 客户端配置
在 Claude Code 的settings.json中添加:
{
"mcpServers": {
"SRA_MCP": {
"command": "sra-mcp" // 如果没有配置Python脚本目录的环境变量,要使用完整路径 {Python安装目录}\Scripts\sra-mcp
}
}
}可用工具
MCP修改配置项目前操作起来及其不便,目前仅支持列出任务配置、任务执行功能
任务配置工具
工具 | 描述 |
| 列出所有任务配置 |
任务执行工具
工具 | 描述 |
| 运行任务(支持超时设置) |
环境要求
仅支持 Windows - SRA 本身仅支持 Windows
需要 .NET 10.0 - 用于运行 SRA GUI
同步执行 - 任务执行会阻塞,超时时间可配置(默认 60 分钟)
许可证
MIT License
Available Tools
2 toolslist_all_configA
List all available task config names.
Returns: List of config names (e.g., ["Default", "MyConfig"])
Inputs: no named parameters. Returns: result
run_sra_taskA
Run an SRA task asynchronously.
Args: config_name: Name of the config to use (e.g., "Default") timeout: Timeout in seconds (default 3600 = 60 minutes) admin: Start SRA with admin or not
Returns: Dict with keys: pid, started_at, cmd, thread, timeout
Raises: Exception: If a task is already running, or if config/Popen cannot be loaded.
Inputs: config_name (required), timeout, admin. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one lists configuration names, the other runs an SRA task. There is no overlap or ambiguity.
Both tools follow a consistent verb_noun pattern in snake_case: 'list_all_config' and 'run_sra_task'. This is clear and predictable.
With only 2 tools, the server feels minimal but might be appropriate for a very simple use case. However, most MCP servers for task execution have more tools to manage the lifecycle.
The server lacks essential operations for managing SRA tasks, such as stopping a running task, checking task status, or retrieving results. These gaps will cause agent failures.
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for Hailuo (MiniMax) AI video generation
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server for Hotkeyless AHK HTTP API. It lets your agent control your whole computer using hotkeys.42MIT
- AlicenseCqualityDmaintenanceAn MCP server for real-device Android reversing workflows, wrapping AlgorithmAide config writes, AppSwitch/logList sync, LSPosed scope sync, Frida script injection, and runtime log queries into a stable MCP toolset.2315MIT
- FlicenseAqualityDmaintenanceMCP server that lets AI agents drive HMCL (Hello Minecraft! Launcher) programmatically to install Minecraft versions, search/download/import modpacks from Modrinth/CurseForge, and launch/stop the game.132-
- AlicenseNot gradedqualityCmaintenanceMCP server for managing and playing a running SillyTavern instance, enabling AI coding assistants to read/write character cards, worldbooks, and chats, and to interact as a player via the full generation pipeline.34MIT