loading…
Search for a command to run...
loading…
A FastMCP-based server providing a comprehensive toolset for the RunningHub AI application platform. It enables users to configure nodes, upload media, submit A
A FastMCP-based server providing a comprehensive toolset for the RunningHub AI application platform. It enables users to configure nodes, upload media, submit AI tasks, and manage task execution and results through persistent storage.
基于 FastMCP 框架的 MCP 服务,为 RunningHub AI 应用平台提供完整的工具集。
# 使用 uv(推荐)
cd runninghub-mcp
uv sync
# 或使用 pip
pip install -e .
通过环境变量配置服务:
| 环境变量 | 必需 | 默认值 | 说明 |
|---|---|---|---|
RUNNINGHUB_API_KEY |
是 | - | RunningHub API 密钥 |
RUNNINGHUB_API_HOST |
否 | www.runninghub.cn |
API 主机地址 |
RUNNINGHUB_TASK_STORE_PATH |
否 | ~/.runninghub/tasks.json |
任务持久化文件路径 |
Cursor / Claude Desktop (mcp.json)
{
"mcpServers": {
"runninghub": {
"command": "uv",
"args": ["--directory", "/path/to/runninghub-mcp", "run", "runninghub-mcp"],
"env": {
"RUNNINGHUB_API_KEY": "your-api-key"
}
}
}
}
| Tool | 说明 | 关键参数 |
|---|---|---|
get_node_info |
获取 AI 应用的可配置节点列表 | webapp_id |
upload_file |
上传文件到 RunningHub | file_path |
submit_task |
提交 AI 应用任务 | webapp_id, node_info_list |
query_task_outputs |
查询任务状态和输出结果 | task_id |
| Tool | 说明 |
|---|---|
run_task_and_wait |
提交任务并轮询等待完成,支持自定义超时和轮询间隔 |
| Tool | 说明 | 关键参数 |
|---|---|---|
list_tasks |
查询本地存储的任务列表 | status(可选), limit |
get_task_detail |
获取指定任务的详细信息 | task_id |
sync_task_status |
从 API 同步任务最新状态到本地 | task_id |
典型的使用流程如下:
get_node_info 获取 AI 应用的节点列表upload_file)run_task_and_wait 提交任务并等待结果(或分步使用 submit_task + query_task_outputs)list_tasks / get_task_detail 查看历史任务src/runninghub_mcp/
__init__.py # 包入口
server.py # FastMCP 服务实例 + Tool 定义 + 入口
api.py # RunningHub HTTP API 封装
storage.py # 任务持久化管理(JSON 文件)
models.py # 数据模型定义
# 安装开发依赖
uv sync
# 直接运行服务(STDIO 模式)
RUNNINGHUB_API_KEY=your-key uv run runninghub-mcp
# 使用 fastmcp dev 调试
RUNNINGHUB_API_KEY=your-key uv run fastmcp dev src/runninghub_mcp/server.py
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"runninghub-mcp-server": {
"command": "npx",
"args": []
}
}
}Transcripts, channel stats, search
AI image generation using various models.
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,