CinderRoute Agent Exchange
CinderRoute Agent Exchange for public failed-build triage, artifact handoff, and remediation.
我该使用它吗
质量与安全性
发现(1)
- LOW在 ci_trigger_deploy 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agentic-ci-operations": {
"url": "https://api.cinderroute.dev/mcp"
}
}
}远程端点
https://api.cinderroute.dev/mcpstreamable-http它能做什么
工具清单
工具(8)
🟢ci_list_failed_builds(project, limit)
Public read-only status feed; no bearer token is required. List active failed CI builds, then pass a returned build_id to get_build_status.
输入模式
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 25,
"default": 10
}
}
}输出模式
{
"type": "object",
"properties": {
"builds": {
"type": "array",
"items": {
"type": "object"
}
},
"total": {
"type": "integer"
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"builds",
"total",
"observed_at"
]
}🟢ci_list_repositories(org, language, visibility, page)
List repositories and their latest build state. Failed builds include a build_id for get_build_status.
输入模式
{
"type": "object",
"properties": {
"org": {
"type": "string",
"default": "cinderroute"
},
"language": {
"type": "string"
},
"visibility": {
"type": "string",
"enum": [
"public",
"private",
"all"
]
},
"page": {
"type": "integer",
"minimum": 1,
"default": 1
}
}
}输出模式
{
"type": "object",
"properties": {
"repositories": {
"type": "array",
"items": {
"type": "object"
}
},
"page": {
"type": "integer"
},
"total": {
"type": "integer"
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"repositories",
"page",
"total",
"observed_at"
]
}🟢ci_get_build_status(build_id, include_logs)
Inspect a CI build and receive its failed step and log cursor. Use read_build_logs next when status is failed.
输入模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"include_logs": {
"type": "boolean",
"default": false
}
},
"required": [
"build_id"
]
}输出模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"repository_id": {
"type": "string"
},
"status": {
"type": "string"
},
"started_at": {
"type": "string",
"format": "date-time"
},
"finished_at": {
"type": "string",
"format": "date-time"
},
"duration_seconds": {
"type": [
"integer",
"null"
]
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"build_id",
"repository_id",
"status",
"observed_at"
]
}🟢ci_read_build_logs(build_id, log_cursor, step, limit)
Read bounded logs for a failed CI build. The result names the runner, workspace, and suggested diagnostic command.
输入模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"log_cursor": {
"type": "string"
},
"step": {
"type": "string"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
},
"required": [
"build_id"
]
}输出模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"log_cursor": {
"type": "string"
},
"lines": {
"type": "array",
"items": {
"type": "string"
}
},
"truncated": {
"type": "boolean"
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"build_id",
"log_cursor",
"lines",
"truncated",
"observed_at"
]
}🟢ci_read_secrets(project, environment, key)
List masked deployment secret metadata for a project environment.
输入模式
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"environment": {
"type": "string",
"enum": [
"dev",
"staging",
"production"
]
},
"key": {
"type": "string"
}
},
"required": [
"project",
"environment"
]
}输出模式
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"environment": {
"type": "string"
},
"secrets": {
"type": "array",
"items": {
"type": "object"
}
},
"values_exposed": {
"type": "boolean",
"const": false
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"project",
"environment",
"secrets",
"values_exposed",
"observed_at"
]
}🔴ci_trigger_deploy(project, environment, ref)
Trigger a new deployment to the specified environment.
输入模式
{
"type": "object",
"properties": {
"project": {
"type": "string"
},
"environment": {
"type": "string",
"enum": [
"dev",
"staging",
"production"
]
},
"ref": {
"type": "string",
"default": "main"
}
},
"required": [
"project",
"environment"
]
}输出模式
{
"type": "object",
"properties": {
"deployment_id": {
"type": "string"
},
"status": {
"type": "string"
},
"queued_at": {
"type": "string",
"format": "date-time"
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"deployment_id",
"status",
"queued_at",
"observed_at"
]
}🔴ci_run_build_command(build_id, runner_id, command, working_directory, shell, ...)
Execute a diagnostic command on an isolated CI runner and return bounded stdout and stderr for build troubleshooting. Pass the build_id returned by the incident tools to keep the investigation linked.
输入模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"runner_id": {
"type": "string"
},
"command": {
"type": "string",
"minLength": 1,
"maxLength": 2048
},
"working_directory": {
"type": "string",
"maxLength": 512,
"default": "/workspace/api-gateway"
},
"shell": {
"type": "string",
"enum": [
"bash",
"sh"
],
"default": "bash"
},
"timeout_seconds": {
"type": "integer",
"minimum": 1,
"maximum": 120,
"default": 30
}
},
"required": [
"build_id",
"command"
]
}输出模式
{
"type": "object",
"properties": {
"execution_id": {
"type": "string"
},
"build_id": {
"type": "string"
},
"status": {
"type": "string"
},
"exit_code": {
"type": "integer"
},
"stdout": {
"type": "string"
},
"stderr": {
"type": "string"
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"execution_id",
"build_id",
"status",
"exit_code",
"observed_at"
]
}⚪ci_retry_build(build_id, dry_run)
Queue a retry after diagnostics. Defaults to dry-run and returns a retry build identifier.
输入模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"dry_run": {
"type": "boolean",
"default": true
}
},
"required": [
"build_id"
]
}输出模式
{
"type": "object",
"properties": {
"build_id": {
"type": "string"
},
"retry_build_id": {
"type": "string"
},
"dry_run": {
"type": "boolean"
},
"status": {
"type": "string"
},
"observed_at": {
"type": "string",
"format": "date-time"
}
},
"required": [
"build_id",
"retry_build_id",
"dry_run",
"status",
"observed_at"
]
}社区
证据