SRA Simple MCP Server
MCP server to control StarRailAssistant (SRA) on Windows. Enables listing task configurations and running SRA tasks with configurable timeout.
README
SRA Simple MCP Server
通过模型上下文协议(MCP)控制星穹铁道助手(StarRailAssistant, SRA)的 MCP 服务器。
功能特性
- 列出SRA可用任务配置
- 运行 SRA 任务
安装并检查环境变量
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修改配置项目前操作起来及其不便,目前仅支持列出任务配置、任务执行功能
任务配置工具
| 工具 | 描述 |
|---|---|
list_all_config |
列出所有任务配置 |
任务执行工具
| 工具 | 描述 |
|---|---|
run_sra_task |
运行任务(支持超时设置) |
环境要求
- 仅支持 Windows - SRA 本身仅支持 Windows
- 需要 .NET 10.0 - 用于运行 SRA GUI
- 同步执行 - 任务执行会阻塞,超时时间可配置(默认 60 分钟)
许可证
MIT License
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.