Run:AI MCP Server
Provides tools to control NVIDIA Run:AI infrastructure, including searching and calling Run:AI REST APIs, resolving entity names to IDs, and executing CLI commands for workload management, diagnostics, port-forwarding, and logs.
Click on "Install 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., "@Run:AI MCP Servershow me the status of my training workloads"
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.
Run:AI MCP Server
NVIDIA Run:AI 인프라를 LLM 에이전트가 제어하는 MCP(Model Context Protocol) 서버.
426개 Run:AI API를 4개 메타 도구 + BM25 검색 엔진으로 동적 검색·실행합니다.
도구
도구 | 설명 |
| OpenAPI 스펙 BM25 검색 — 엔드포인트, 메서드, 스키마 반환 |
| REST API 호출 (인증 자동, DELETE 시 confirm 필요) |
| 엔티티 이름 → ID 변환 (cluster, project, workload 등) |
| CLI 전용 작업 (port-forward, exec, logs, attach, diagnostics) |
Related MCP server: SecPipe
워크플로우
search_runai_api_spec("create training workload")
→ resolve_runai_names([{ type: "project", name: "my-project" }])
→ call_runai_api({ method: "POST", path: "/api/v1/workloads/trainings", ... })설치
npm install
npm run build인증
Run:AI UI에서 Application (서비스 계정) 생성 → clientID + clientSecret 발급.
서버가 자동으로 POST /api/v1/token (client_credentials grant)으로 JWT를 발급·갱신합니다.
cp .env.example .env
# RUNAI_CLIENT_ID, RUNAI_CLIENT_SECRET 설정정적 토큰(RUNAI_API_TOKEN)도 지원하나, JWT는 만료되므로 서비스 계정 방식을 권장합니다.
Claude Code MCP 설정
~/.claude/mcp.json:
{
"mcpServers": {
"runai": {
"command": "node",
"args": ["/path/to/runai-mcp-server/dist/index.js"],
"env": {
"RUNAI_API_BASE_URL": "https://your-instance.run.ai",
"RUNAI_CLIENT_ID": "your-client-id",
"RUNAI_CLIENT_SECRET": "your-client-secret"
}
}
}
}개발
npm run dev # ts-node 개발 실행
npm test # 전체 테스트
npm run build # 프로덕션 빌드아키텍처
Registry Builder: OpenAPI 3.0.3 스펙을 파싱하여 413개 OperationDescriptor 생성, $ref 자동 해결
BM25 Search: IDF 기반 키워드 검색 + 동의어 확장 (job→workload, remove→delete 등)
Adaptive Schema: 검색 결과 1-2개면 requestBody 스키마 포함, 3개+면 summary만 (토큰 절약)
Safety: DELETE는 confirm_destructive 필수, CLI는 화이트리스트 + 쉘 인젝션 방어
라이선스
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sejongjeong/runai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server