sco-mcp
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., "@sco-mcp list my recent ACP training jobs"
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.
sco-mcp
MCP server that exposes the SenseCore SCO CLI (sco)
as typed tools: ACP training jobs, CCI container apps, AEC2 clusters, AFS storage
and CCR images — without re-implementing any HTTP API.
The CLI stays the source of truth. Every tool composes an argv array, runs it without a shell, and returns both human-readable text and structured output.
MCP host ── stdio ──▶ sco-mcp ── argv ──▶ sco ──▶ SenseCore APIsRequirements
Node.js ≥ 20.11
A working
scobinary with credentials configured (sco config listsucceeds)
Verified against SCO CLI 2.0.5 (Runtime: launcher) with sco config list
reporting an active profile.
The CLI is not always on
PATH— a self-updating install lives at~/.sco/bin/sco. SetSCO_BINto the absolute path when in doubt.
Known CLI quirks this server handles
Behaviour | Handling |
| timeouts signal the whole process group, then settle on a deadline instead of waiting for EOF (a surviving child would otherwise hold the pipes open forever) |
|
|
| returns |
| mapped explicitly, not derived from the flag name |
Related MCP server: nc-tools-mcp
Install
npm install
npm run buildPoint an MCP host at the built entry point. For OpenCode:
{
"mcp": {
"sco": {
"type": "local",
"command": ["node", "/absolute/path/to/sco-mcp/dist/src/index.js"],
"environment": {
"SCO_WORKSPACE": "e87cb6db-863c-4392-b6c7-31c04e91d462",
"SCO_AEC2": "e4a32c09-2eda-4b2e-a5ed-f73e11330a20"
}
}
}
}For Claude Desktop, use the same command under mcpServers with
"command": "node" and "args": ["/absolute/path/to/sco-mcp/dist/src/index.js"].
Check the wiring with the sco_doctor tool: it reports the binary, version,
config and available profiles in one call.
Configuration
Variable | Purpose | Default |
| CLI executable (name or absolute path) |
|
| default workspace id for workspace-scoped tools | unset |
| default cluster name | unset |
| default | unset |
| default | unset |
| default | unset |
| per-invocation timeout |
|
| captured stdout/stderr cap |
|
| reject every mutating tool |
|
| register the |
|
Explicit tool arguments always win over environment defaults.
Tools
All tools are prefixed sco_. Every result carries structuredContent with
command, exitCode, stdout, stderr, truncated, dryRun, durationMs
and, when stdout parses as JSON, the parsed json payload.
Diagnostics (7)
sco_version · sco_doctor · sco_capabilities · sco_config_list ·
sco_config_get · sco_config_profiles_list · sco_config_profiles_describe
sco_capabilities probes sco <group> --help and reports which subcommands
this installation actually accepts. Reach for it when a documented command
fails: components ship independently, so sco ccr builds is absent on
sco-ccr v1.2.0 even though it exists in the docs.
ACP jobs (9)
sco_acp_job_create · sco_acp_job_list · sco_acp_job_describe ·
sco_acp_job_workers · sco_acp_job_logs · sco_acp_job_copy ·
sco_acp_job_start · sco_acp_job_stop · sco_acp_job_delete
acp_job_exec is deliberately absent: it allocates a TTY and hands over an
interactive shell, which an MCP call cannot own. Use a CCI app when you need a
long-lived box to poke at.
CCI apps (7)
sco_cci_app_create · sco_cci_app_list · sco_cci_app_describe ·
sco_cci_app_update · sco_cci_app_start · sco_cci_app_stop ·
sco_cci_app_delete
AEC2 (3)
sco_aec2_cluster_list · sco_aec2_cluster_describe · sco_aec2_workerspec_list
Read-only on purpose: creating clusters or attaching nodes is a console task, not something an agent should do unattended.
AFS (8)
sco_afs_volume_list · sco_afs_volume_ls · sco_afs_dir_quota_list ·
sco_afs_dir_quota_create · sco_afs_dir_quota_update ·
sco_afs_dir_quota_delete · sco_afs_dir_acl_list · sco_afs_dir_acl_create
CCR (10)
sco_ccr_image_list · sco_ccr_namespace_list · sco_ccr_namespace_get ·
sco_ccr_build_create · sco_ccr_build_list · sco_ccr_build_get ·
sco_ccr_build_log · sco_ccr_label_list · sco_ccr_label_get ·
sco_ccr_label_update
Escape hatch (opt-in)
sco_raw is registered only when SCO_ALLOW_RAW=1. It takes an argv array,
never a shell string. Verbs are classified: anything mutating
(create, delete, update, start, stop, copy, exec, activate,
rename, node operations) requires confirm: true and is refused under
SCO_READ_ONLY=1. --follow is rejected because it would block until the
timeout.
Safety model
Mutating tools need
confirm: true. Without it they returnSCO_CONFIRM_REQUIREDand the exact argv that would have run, so the caller can show the user before retrying.dryRun: truereturns the argv without executing anything, and works before confirming (that is how a caller inspects what it is being asked to approve). It also works underSCO_READ_ONLY=1and, for CCI app creation, echoes the generated YAML.SCO_READ_ONLY=1rejects mutations before the process is spawned.Commands are spawned without a shell: no quoting bugs, no injection.
Each call has a timeout (
SIGTERM, thenSIGKILL, then a final deadline) and a byte cap per stream.Recognizable failures carry a
structuredContent.hintnaming the next step: missing subcommand, missing subscription, rejected credentials, missing permission.
Examples
Submit a job, using the configured workspace and cluster:
{
"name": "sco_acp_job_create",
"arguments": {
"jobName": "train-llama",
"image": "registry.example.com/team/trainer:v1",
"trainingFramework": "pytorch",
"workerNodes": 4,
"workerSpec": "1x8-3090",
"command": "bash train.sh",
"storageMounts": [{ "volumeId": "vol-123", "path": "/data" }],
"confirm": true
}
}Preview a CCI app before creating it:
{
"name": "sco_cci_app_create",
"arguments": {
"appName": "debug-box",
"dryRun": true,
"spec": {
"resourcePool": { "name": "pool-1" },
"resourceSpec": { "name": "1x8-3090" },
"containers": [
{
"name": "main",
"image": "registry.example.com/team/dev:latest",
"cpu": 8,
"memory": "32Gi",
"command": ["sleep", "infinity"],
"mounts": [{ "id": "vol-123", "mountPath": "/data" }]
}
]
}
}
}Development
npm run typecheck # tsc --noEmit
npm test # build, then node --test over dist/testNo sco installation is required for tests: test/helpers/fake-sco.mjs is a
controllable stub that records every argv to $SCO_FAKE_LOG. The suite covers
the arg builder, config resolution, process runner, every tool's argv, the
safety guards, and a full stdio round trip through a spawned server.
src/
cli/ argv builder, process runner, errors, YAML emitter
tools/ one module per SCO area + shared result/schema helpers
config.ts environment resolution
server.ts tool registration
index.ts stdio entry point
test/ unit, in-memory integration, stdio end-to-end
docs/PLAN.md feature plan and delivery logLicense
MIT
Available Tools
44 toolssco_acp_job_copyCopy an ACP jobADestructive
Create a new job from an existing job's configuration (sco acp jobs copy). Requires confirm: true.
Inputs: jobName (required), copyJobName (required), dryRun, confirm, +1 more.
sco_acp_job_createCreate ACP training jobADestructive
Submit a training/batch job to an AEC2 cluster (sco acp jobs create). Requires confirm: true. Use sco_aec2_workerspec_list to discover valid workerSpec values.
Inputs: image (required), command (required), jobName (required), workerSpec (required), +15 more.
sco_acp_job_deleteDelete ACP jobADestructiveIdempotent
Permanently delete a job (sco acp jobs delete). Requires confirm: true.
Inputs: jobId (required), dryRun, confirm, workspace.
sco_acp_job_describeDescribe an ACP jobARead-onlyIdempotent
Show full details for one job, including status, workers and events (sco acp jobs describe).
Inputs: jobId (required), format, workspace.
sco_acp_job_listList ACP jobsARead-onlyIdempotent
List jobs in a workspace with optional state/user/time filters (sco acp jobs list -o json). Each entry carries a full resource id (use its trailing segment, e.g. om-59u5pwy4) and a display_name; the CLI resolves job ids and job names, not display names.
Inputs: state, pageSize, userName, pageToken, +3 more.
sco_acp_job_logsFetch ACP job logsARead-onlyIdempotent
Return a snapshot of a job's logs (sco acp jobs stream-logs). Streaming mode is never used because a tool call must terminate; rerun to poll.
Inputs: jobId (required), workspace, workerName, containerName.
sco_acp_job_startStart ACP jobADestructive
Start or restart a stopped job (sco acp jobs start). Requires confirm: true.
Inputs: jobId (required), dryRun, confirm, workspace.
sco_acp_job_stopStop ACP jobADestructiveIdempotent
Stop a running job (sco acp jobs stop). Requires confirm: true.
Inputs: jobId (required), dryRun, confirm, workspace.
sco_acp_job_workersList ACP job workersARead-onlyIdempotent
List the pods/workers of a job with their status (sco acp jobs get-workers). Call this before requesting worker-specific logs.
Inputs: jobId (required), workspace.
sco_aec2_cluster_describeDescribe an AEC2 clusterB
Fetch one elastic compute cluster (sco aec2 clusters describe). Defaults to SCO_AEC2.
Inputs: aec2Name.
sco_aec2_cluster_listList AEC2 clustersA
List elastic compute clusters visible to the account (sco aec2 clusters list).
Inputs: no named parameters.
sco_aec2_workerspec_listList AEC2 worker specsA
List the worker specifications a cluster offers (sco aec2 clusters list-workerspec). Use the returned names as workerSpec in sco_acp_job_create.
Inputs: aec2Name, workspace.
sco_afs_dir_acl_createCreate an AFS directory ACLB
Grant read or read-write access on a directory to users and/or groups (sco afs dir-acl create). Requires confirm: true.
Inputs: dirPath (required), volumeId (required), permission (required), users, +3 more.
sco_afs_dir_acl_listList AFS directory ACLsB
List ACL rules for a volume, optionally filtered by dirPath (sco afs dir-acl list).
Inputs: volumeId (required), dirPath.
sco_afs_dir_quota_createCreate an AFS directory quotaA
Create a directory quota rule (sco afs dir-quota create). Requires confirm: true.
Inputs: dirPath (required), volumeId (required), files, dryRun, +2 more.
sco_afs_dir_quota_deleteDelete an AFS directory quotaB
Remove a directory quota rule (sco afs dir-quota delete). Requires confirm: true.
Inputs: dirPath (required), volumeId (required), dryRun, confirm.
sco_afs_dir_quota_listList AFS directory quotasB
List quota rules for a volume, optionally filtered by dirPath (sco afs dir-quota list).
Inputs: volumeId (required), dirPath.
sco_afs_dir_quota_updateUpdate an AFS directory quotaC
Update a directory quota rule (sco afs dir-quota update). Requires confirm: true.
Inputs: dirPath (required), volumeId (required), files, dryRun, +2 more.
sco_afs_volume_listList AFS volumesA
List shared filesystem volumes, or describe one when volumeId is given (sco afs volume list).
Inputs: volumeId.
sco_afs_volume_lsList an AFS volume's directoriesB
List directories in a volume, optionally rooted at dirPath (sco afs volume ls).
Inputs: volumeId (required), dirPath.
sco_capabilitiesProbe installed CLI capabilitiesA
Report which subcommands this sco installation actually exposes for each area (sco <group> --help). Use it when a command fails with unknown command: the packaged components are versioned separately, so a documented subcommand may be missing (e.g. sco ccr builds on sco-ccr v1.2.0).
Inputs: groups.
sco_cci_app_createCreate CCI appA
Create a Cloud Container Instance app (sco cci apps create). Pass either configPath (existing YAML) or spec (rendered to a temporary YAML file). Requires confirm: true.
Inputs: spec, ports, dryRun, appName, +3 more.
sco_cci_app_deleteDelete CCI appsB
Delete one or more Cloud Container Instances (sco cci apps delete). Requires confirm: true.
Inputs: appNames (required), dryRun, confirm, workspace.
sco_cci_app_describeDescribe a CCI appB
Fetch one Cloud Container Instance (sco cci apps describe).
Inputs: appName (required), format, workspace.
sco_cci_app_listList CCI appsB
List Cloud Container Instances in a workspace (sco cci apps list). Filters are applied by the CLI; this subcommand prints a table and has no -o json flag.
Inputs: state, keyword, aec2Name, pageSize, +2 more.
sco_cci_app_startStart a CCI appB
Start a Cloud Container Instance (sco cci apps start). Requires confirm: true.
Inputs: appName (required), dryRun, confirm, workspace.
sco_cci_app_stopStop a CCI appA
Stop a Cloud Container Instance (sco cci apps stop). Requires confirm: true.
Inputs: appName (required), dryRun, confirm, workspace.
sco_cci_app_updateUpdate a CCI appA
Change one property of a CCI app (sco cci apps update). The CLI accepts exactly one of replicas, displayName or ports per call. Requires confirm: true.
Inputs: appName (required), ports, dryRun, confirm, +3 more.
sco_ccr_build_createCreate a CCR image buildA
Trigger a remote image build from a local Dockerfile (sco ccr builds create). Requires confirm: true. The context may be a local directory or an https tarball. Needs a ccr component that ships builds (absent on sco-ccr v1.2.0 — check sco_capabilities first).
Inputs: tag (required), namespace (required), dockerfile (required), dryRun, +2 more.
sco_ccr_build_getGet a CCR buildB
Fetch build details (sco ccr builds get). Needs a ccr component that ships builds — check sco_capabilities.
Inputs: buildId (required), namespace (required).
sco_ccr_build_listList CCR buildsA
List image builds in a namespace (sco ccr builds list). Needs a ccr component that ships builds — check sco_capabilities.
Inputs: namespace (required).
sco_ccr_build_logRead a CCR build logA
Fetch the log of an image build (sco ccr builds log). Logs are returned as-is, not parsed. Needs a ccr component that ships builds — check sco_capabilities.
Inputs: buildId (required), namespace (required).
sco_ccr_image_listList CCR imagesA
List container images for the account (sco ccr images list). Set publicOnly to inspect platform images instead of private ones.
Inputs: publicOnly.
sco_ccr_label_getGet CCR image labelsC
Fetch the labels of one image (sco ccr labels get).
Inputs: imageName (required), namespace (required).
sco_ccr_label_listList CCR image labelsB
List image labels for the account (sco ccr labels list).
Inputs: no named parameters.
sco_ccr_label_updateUpdate CCR image labelsB
Set label dimensions on an image (sco ccr labels update). Only the dimensions present in tags are sent. Requires confirm: true.
Inputs: tags (required), imageName (required), namespace (required), dryRun, +1 more.
sco_ccr_namespace_getGet a CCR namespaceC
Fetch one registry namespace (sco ccr namespaces get).
Inputs: name (required).
sco_ccr_namespace_listList CCR namespacesB
List registry namespaces for the tenant (sco ccr namespaces list).
Inputs: no named parameters.
sco_config_getRead one SCO configuration propertyARead-onlyIdempotent
Read a single configuration property, e.g. aec2.subscription or zone. Equivalent to sco config get SECTION.PROPERTY.
Inputs: property (required).
sco_config_listList SCO CLI configurationARead-onlyIdempotent
Show the active sco configuration (profiles, subscription, workspace defaults). Equivalent to sco config list.
Inputs: no named parameters.
sco_config_profiles_describeDescribe an SCO CLI profileBRead-onlyIdempotent
Show the properties of one profile. Equivalent to sco config profiles describe PROFILE_NAME.
Inputs: profileName (required).
sco_config_profiles_listList SCO CLI profilesARead-onlyIdempotent
List configured CLI profiles. Equivalent to sco config profiles list.
Inputs: no named parameters.
sco_doctorDiagnose the SCO environmentARead-onlyIdempotent
Run a fast health check: CLI version, active configuration and profile list. Returns a combined report plus per-check exit codes and stderr, and never mutates state.
Inputs: no named parameters.
sco_versionSCO CLI versionARead-onlyIdempotent
Print the installed sco CLI version. Use this first when diagnosing connectivity or compatibility problems.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 44 tools
Most tools map to a distinct resource+action pair within clearly separated product groups (acp jobs, cci apps, aec2 clusters, afs, ccr), so an agent can usually pick correctly. The main soft spots are sco_afs_volume_list (which also describes a volume when volumeId is given, with no separate describe tool) versus sco_afs_volume_ls (lists directories inside a volume), and the config quartet (sco_config_list, sco_config_get, sco_config_profiles_list, sco_config_profiles_describe) which requires careful reading to distinguish.
The dominant pattern is sco_<product>_<resource>_<verb> with the verb last (sco_acp_job_create, sco_cci_app_list, sco_aec2_cluster_describe, sco_afs_dir_quota_update), which is predictable and readable. Minor deviations exist: sco_version/sco_doctor/sco_capabilities are top-level with no group or verb, sco_config_get lacks a resource segment, and sco_afs_volume_ls uses 'ls' where every other listing tool uses 'list'.
44 tools is heavy for a single server and sits well past the comfortable range, but it is a faithful wrapper over a broad multi-product CLI (config, acp, cci, aec2, afs, ccr), so each tool corresponds to a real subcommand rather than filler. It is borderline: coverage of six product areas justifies breadth, yet an agent must carry a large surface just to do routine work.
Lifecycle coverage is strong in some areas (acp jobs have create/list/describe/workers/logs/copy/start/stop/delete; cci apps have full CRUD plus start/stop) but notable gaps remain elsewhere: config is read-only with no set, ccr has no namespace create/delete and no image get/delete, builds have no delete/cancel, and dir-acl supports list/create but no update/delete. These are workable gaps but will cause dead ends for common admin workflows.
Maintenance
Related MCP Connectors
Scoped agent execution. Server-side credentials, policy, budgets and verifiable receipts.
MCP facade over the Nebelus Construction API. ~48 tools give full agent build parity: create/update/probe agents, edit graphs, attach knowledge and vector stores, wire connectors, set governance policies and locked guardrails, enable grounding-trace, and read deployment wiring. Purpose-built for regulated industries: data residency is enforced per region (EU / GCC-KSA), with PII controls and an audit trail. Agents are created as drafts — no deploy tool is exposed over MCP by design; publishing happens in the Nebelus console.
Plan, run and inspect AI-agent drills with synthetic users, hosted tools and cloud worlds.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
Related MCP Servers
- AlicenseAqualityBmaintenanceWraps Google Antigravity CLI into 11 typed MCP tools, enabling any MCP client to invoke agy for code review, prototyping, execution, and long-running tasks.1125MIT
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to perform file, search, patch, git, process, test, package, network, and system operations through 60 typed MCP tools with structured inputs/outputs, structured errors, and a full event journal, replacing terminal use with a typed machine API.MIT
- AlicenseNot gradedqualityBmaintenanceExposes typed MCP tools for driving herdr terminal fleets, letting an agent list, create, focus, and close workspaces, tabs, and panes, send text or key presses, and run commands locally or over remote machines. It also starts, prompts, waits on, renames, and reads AI agents, returning either raw pane output or a normalized structured transcript.MIT
- AlicenseAqualityBmaintenanceLets AI agents create and drive Claude Code cloud sessions natively over stdio, exposing typed tools to start a session from a task description, queue follow-up messages into an existing session, and check the CLI's sign-in state. Each tool maps to a fixed Claude Code CLI invocation with strict schemas and structured JSON results, so agents never write shell commands or run local sessions.770 npmMIT