Nimbus BCI is an MCP server published by io.github.nimbusbci, hosted at nimbus-mcp.fly.dev. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 63 tools, including account.whoami, catalog.nodes, catalog.node_schema, catalog.templates, catalog.template.
BCI/EEG toolkit: public MOABB/BNCI datasets, pipeline build/validate, hosted training, BIDS export.
Nothing else in the archive shares these values.
Inferred from the host name and headers: what a server runs on, not who runs it.
Who you are authenticated as: account email, plan (isPro / pioneer), this month's free-run quota, and — with a hosted token — the token name and days until it expires. Call this first when setup guidance appears or to check which credential a session uses. In anonymous Local Free mode there is no account: the response says so (mode/tier) instead of demanding a login.
No parameters.
{
"name": "account.whoami",
"title": "Who Am I",
"description": "Who you are authenticated as: account email, plan (isPro / pioneer),\nthis month's free-run quota, and — with a hosted token — the token name\nand days until it expires. Call this first when setup guidance appears\nor to check which credential a session uses. In anonymous Local Free\nmode there is no account: the response says so (mode/tier) instead of\ndemanding a login.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
List Nimbus pipeline node types (data, preprocessing, features, models...). Use catalog.node_schema(node_type) for one node's full config schema and ports.
| Parameter | Type | Description |
|---|---|---|
| category | any | Optional filter by category id — e.g. "data", "preprocessing", "feature", "model" (singular ids; plurals such as "models"/"features" are accepted). An unknown category is an error that lists the valid ids. |
{
"name": "catalog.nodes",
"title": "List Pipeline Nodes",
"description": "List Nimbus pipeline node types (data, preprocessing, features, models...).\n\nUse catalog.node_schema(node_type) for one node's full config schema and ports.",
"inputSchema": {
"type": "object",
"properties": {
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional filter by category id — e.g. \"data\",\n\"preprocessing\", \"feature\", \"model\" (singular ids; plurals such\nas \"models\"/\"features\" are accepted). An unknown category is an\nerror that lists the valid ids."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Full config JSON schema + input/output ports for one node type.
| Parameter | Type | Description |
|---|---|---|
| node_type * | string | Node id from catalog.nodes (e.g. "csp", "nimbus_lda"). |
{
"name": "catalog.node_schema",
"title": "Node Config Schema",
"description": "Full config JSON schema + input/output ports for one node type.",
"inputSchema": {
"type": "object",
"required": [
"node_type"
],
"properties": {
"node_type": {
"type": "string",
"description": "Node id from catalog.nodes (e.g. \"csp\", \"nimbus_lda\")."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List built-in starter pipelines (MI/P300/SSVEP...). catalog.template(id) returns the graph. Each row carries ``datasetId`` (catalog id, e.g. "BNCI2014_001" — the id catalog.leaderboard and catalog.datasets use) and ``paradigm`` when the template loads a public dataset.
| Parameter | Type | Description |
|---|---|---|
| dataset | any | Only templates on this dataset id (e.g. "BNCI2014_001"); case-insensitive. |
| paradigm | any | Only templates with this paradigm (e.g. "motor_imagery", "p300", "ssvep"). |
{
"name": "catalog.templates",
"title": "List Pipeline Templates",
"description": "List built-in starter pipelines (MI/P300/SSVEP...).\ncatalog.template(id) returns the graph. Each row carries ``datasetId``\n(catalog id, e.g. \"BNCI2014_001\" — the id catalog.leaderboard and\ncatalog.datasets use) and ``paradigm`` when the template loads a public dataset.",
"inputSchema": {
"type": "object",
"properties": {
"dataset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only templates on this dataset id (e.g. \"BNCI2014_001\"); case-insensitive."
},
"paradigm": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only templates with this paradigm (e.g. \"motor_imagery\", \"p300\", \"ssvep\")."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Full template incl. the 'train' execGraph needed by execution.run/pipeline.validate.
| Parameter | Type | Description |
|---|---|---|
| template_id * | string | Template id from catalog.templates (e.g. "mi_csp_lda"). |
{
"name": "catalog.template",
"title": "Get Pipeline Template",
"description": "Full template incl. the 'train' execGraph needed by execution.run/pipeline.validate.",
"inputSchema": {
"type": "object",
"required": [
"template_id"
],
"properties": {
"template_id": {
"type": "string",
"description": "Template id from catalog.templates (e.g. \"mi_csp_lda\")."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Curated public EEG datasets (MOABB packs) available to pipelines.
| Parameter | Type | Description |
|---|---|---|
| only_on_disk | boolean | Only return datasets whose data packs are present on this backend (True by default; False also lists known-but-missing sets). |
{
"name": "catalog.datasets",
"title": "List Datasets",
"description": "Curated public EEG datasets (MOABB packs) available to pipelines.",
"inputSchema": {
"type": "object",
"properties": {
"only_on_disk": {
"type": "boolean",
"default": true,
"description": "Only return datasets whose data packs are present on this\nbackend (True by default; False also lists known-but-missing sets)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Public benchmark leaderboard: pipeline rankings per dataset. Two tracks: the top-level ``within_session`` block (curated suite pipelines) and ``crossSubject`` (leave-one-subject-out — curated pipelines plus BYO ``python_model`` submissions; BYO rows carry ``kind: "byo"`` and an ``owner`` name). Within each dataset, ``rows`` sort desc by ``meanAccuracyPct`` (95% CI in ``ciLoPct``/``ciHiPct``). ``packFingerprint`` identifies the exact dataset pack behind the scores; ``updated`` marks each dataset's most recent run. The ``pretrainedFewTrial`` efficiency track means: accuracy at a protocol-fixed 100-trials-per-subject budget — the frozen-backbone / few-parameter rows that matter when calibration data is scarce (``paramsTrained`` shown per row so cost is readable next to accuracy). ``submittableDatasets`` is the set open for ``leaderboard.submit``; a dataset can appear under ``crossSubject`` and still be closed for new submissions.
| Parameter | Type | Description |
|---|---|---|
| dataset_id | any | Optional dataset id. When set, every track is filtered to that dataset. Omit it for the full board. |
{
"name": "catalog.leaderboard",
"title": "Leaderboard",
"description": "Public benchmark leaderboard: pipeline rankings per dataset.\n\nTwo tracks: the top-level ``within_session`` block (curated suite\npipelines) and ``crossSubject`` (leave-one-subject-out — curated\npipelines plus BYO ``python_model`` submissions; BYO rows carry\n``kind: \"byo\"`` and an ``owner`` name). Within each dataset, ``rows``\nsort desc by ``meanAccuracyPct`` (95% CI in ``ciLoPct``/``ciHiPct``).\n``packFingerprint`` identifies the exact dataset pack behind the\nscores; ``updated`` marks each dataset's most recent run. The\n``pretrainedFewTrial`` efficiency track means: accuracy at a\nprotocol-fixed 100-trials-per-subject budget — the frozen-backbone /\nfew-parameter rows that matter when calibration data is scarce\n(``paramsTrained`` shown per row so cost is readable next to\naccuracy). ``submittableDatasets`` is the set open for\n``leaderboard.submit``; a dataset can appear under ``crossSubject``\nand still be closed for new submissions.",
"inputSchema": {
"type": "object",
"properties": {
"dataset_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional dataset id. When set, every track is filtered\nto that dataset. Omit it for the full board."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Submit a BYO python_model to a leaderboard track for server-side scoring. Nimbus scores it server-side under the track's fixed protocol — you submit code, never results. Poll ``leaderboard.status`` with the returned ``submissionId``; scoring takes minutes (classical) to tens of minutes (deep). Requirements must be plain PyPI names/specs (max 20, no URLs). Identical code resubmission is idempotent per track (``deduplicated: true``). Verification contract (tier model X10): ``verification="verified"`` (default) is the server-side-scored submission above — on the hosted backend it is Pro-only; free accounts get a structured tier response. ``verification="unverified_local"`` names the designed Account-Free lane for locally-computed results; the backend has no unverified submission kind yet (see the response it returns — nothing is stored, and no row is faked). Anonymous callers get a structured login prompt: a submission needs an identity. Local (desktop/dev) backends keep their existing server-side quota behaviour.
| Parameter | Type | Description |
|---|---|---|
| code | any | Python source defining a class with fit(X, y, info) and predict(X) (<=256KB; validate first with python.validate). Required unless backbone_repo is set. |
| name * | string | Display name on the board (<=100 chars). |
| track | string | "cross_subject" (default — full-data leave-one-subject-out, seed 42) or "pretrained_few_trial" (efficiency track: LOSO with a protocol-fixed 100-trials-per-subject cap; code that imports torch must declare its trained parameter count as a class attribute — PARAMS_TRAINED = <int> — which becomes the … |
| class_name | any | Contract class to instantiate; omit to auto-detect. |
| dataset_id * | string | A dataset id from catalog.leaderboard ``submittableDatasets`` (e.g. "BNCI2014_001"). A dataset can appear under crossSubject and still be closed for submission (BNCI2014_008 is scored there and is not in the open set). |
| requirements | any | Optional PyPI requirements (e.g. ["sklearn>=1.4"]). |
| verification | string | "verified" (default; server-side scored, Pro on the hosted backend) or "unverified_local" (Account-Free locally-computed lane; see the tool description for its current backend status). |
| backbone_kind | any | Checkpoint family for the BYO backbone lane — one of the zoo's supported kinds (e.g. "cbramod", "labram"). |
| backbone_repo | any | HF 'org/name' repo id for the BYO backbone lane. |
| backbone_license | any | License declared for the backbone checkpoint. |
| backbone_revision | any | Full 40-char commit SHA pinning the backbone. |
{
"name": "leaderboard.submit",
"title": "Submit to Leaderboard",
"description": "Submit a BYO python_model to a leaderboard track for server-side scoring.\n\nNimbus scores it server-side under the track's fixed protocol — you\nsubmit code, never results. Poll ``leaderboard.status`` with the\nreturned ``submissionId``; scoring takes minutes (classical) to tens\nof minutes (deep). Requirements must be plain PyPI names/specs (max\n20, no URLs). Identical code resubmission is idempotent per track\n(``deduplicated: true``).\n\nVerification contract (tier model X10): ``verification=\"verified\"``\n(default) is the server-side-scored submission above — on the hosted\nbackend it is Pro-only; free accounts get a structured tier response.\n``verification=\"unverified_local\"`` names the designed Account-Free\nlane for locally-computed results; the backend has no unverified\nsubmission kind yet (see the response it returns — nothing is\nstored, and no row is faked). Anonymous callers get a structured\nlogin prompt: a submission needs an identity. Local (desktop/dev)\nbackends keep their existing server-side quota behaviour.",
"inputSchema": {
"type": "object",
"required": [
"dataset_id",
"name"
],
"properties": {
"code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Python source defining a class with fit(X, y, info) and\npredict(X) (<=256KB; validate first with python.validate).\nRequired unless backbone_repo is set."
},
"name": {
"type": "string",
"description": "Display name on the board (<=100 chars)."
},
"track": {
"enum": [
"cross_subject",
"pretrained_few_trial"
],
"type": "string",
"default": "cross_subject",
"description": "\"cross_subject\" (default — full-data leave-one-subject-out,\nseed 42) or \"pretrained_few_trial\" (efficiency track: LOSO with\na protocol-fixed 100-trials-per-subject cap; code that imports\ntorch must declare its trained parameter count as a class\nattribute — PARAMS_TRAINED = <int> — which becomes the row's\nparamsTrained and is cross-checked when computable)."
},
"class_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Contract class to instantiate; omit to auto-detect."
},
"dataset_id": {
"type": "string",
"description": "A dataset id from catalog.leaderboard\n``submittableDatasets`` (e.g. \"BNCI2014_001\"). A dataset can\nappear under crossSubject and still be closed for submission\n(BNCI2014_008 is scored there and is not in the open set)."
},
"requirements": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Optional PyPI requirements (e.g. [\"sklearn>=1.4\"])."
},
"verification": {
"enum": [
"verified",
"unverified_local"
],
"type": "string",
"default": "verified",
"description": "\"verified\" (default; server-side scored, Pro on\nthe hosted backend) or \"unverified_local\" (Account-Free\nlocally-computed lane; see the tool description for its\ncurrent backend status)."
},
"backbone_kind": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Checkpoint family for the BYO backbone lane — one\nof the zoo's supported kinds (e.g. \"cbramod\", \"labram\")."
},
"backbone_repo": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "HF 'org/name' repo id for the BYO backbone lane."
},
"backbone_license": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "License declared for the backbone checkpoint."
},
"backbone_revision": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Full 40-char commit SHA pinning the backbone."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Fetch one of your leaderboard submissions (owner-only). Returns status (queued | scoring | done | failed), metrics when done (meanAccuracyPct + CI, same shape as leaderboard rows), or the error that failed it.
| Parameter | Type | Description |
|---|---|---|
| submission_id * | string | The submissionId returned by leaderboard.submit. |
{
"name": "leaderboard.status",
"title": "Leaderboard Submission Status",
"description": "Fetch one of your leaderboard submissions (owner-only).\n\nReturns status (queued | scoring | done | failed), metrics when done\n(meanAccuracyPct + CI, same shape as leaderboard rows), or the error\nthat failed it.",
"inputSchema": {
"type": "object",
"required": [
"submission_id"
],
"properties": {
"submission_id": {
"type": "string",
"description": "The submissionId returned by leaderboard.submit."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}List your leaderboard submissions (newest first), all datasets.
No parameters.
{
"name": "leaderboard.mine",
"title": "My Leaderboard Submissions",
"description": "List your leaderboard submissions (newest first), all datasets.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Validate a pipeline graph before running. ExecGraphSnapshot: {nodes: [{id, type, config}], connections: [{from, to}]}. Build it from catalog.template(id).train or from scratch using catalog.nodes().
| Parameter | Type | Description |
|---|---|---|
| train_graph * | object | The graph to validate ({nodes, connections}). |
{
"name": "pipeline.validate",
"title": "Validate Pipeline",
"description": "Validate a pipeline graph before running.\nExecGraphSnapshot: {nodes: [{id, type, config}], connections: [{from, to}]}.\nBuild it from catalog.template(id).train or from scratch using catalog.nodes().",
"inputSchema": {
"type": "object",
"required": [
"train_graph"
],
"properties": {
"train_graph": {
"type": "object",
"description": "The graph to validate ({nodes, connections}).",
"additionalProperties": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Validate one node's config (schema + semantic checks). Catches the same value errors as pipeline.validate for a single node (inverted bandpass, CSP components vs channel count when dataset is set).
| Parameter | Type | Description |
|---|---|---|
| config * | object | The node's config object to check. |
| dataset | any | Optional MOABB pack id (e.g. "BNCI2014_001") so CSP/Nyquist checks can use channel count and sampling rate. Omitted → those context checks are skipped; inverted-band checks still run. |
| node_type * | string | Node type id from catalog.nodes (e.g. "csp", "bandpass_filter"). |
{
"name": "pipeline.validate_node",
"title": "Validate Node Config",
"description": "Validate one node's config (schema + semantic checks).\n\nCatches the same value errors as pipeline.validate for a single node\n(inverted bandpass, CSP components vs channel count when dataset is set).",
"inputSchema": {
"type": "object",
"required": [
"node_type",
"config"
],
"properties": {
"config": {
"type": "object",
"description": "The node's config object to check.",
"additionalProperties": true
},
"dataset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional MOABB pack id (e.g. \"BNCI2014_001\") so CSP/Nyquist\nchecks can use channel count and sampling rate. Omitted → those\ncontext checks are skipped; inverted-band checks still run."
},
"node_type": {
"type": "string",
"description": "Node type id from catalog.nodes (e.g. \"csp\", \"bandpass_filter\")."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Start a pipeline run (NON-BLOCKING). Returns executionId — poll with execution.get() until status is completed/failed, then execution.results(). If an identical graph is already running for you, the run still starts but the response carries a ``warning`` + ``duplicateOf`` ids (cancel one with execution.cancel to avoid paying twice). The server runs a limited number of executions at once (3 by default); when all slots are busy the call fails immediately with 429 nimbus.execution.queue_full and a retryAfter (seconds) — wait, then retry.
| Parameter | Type | Description |
|---|---|---|
| name | any | Display name for the run (shown in the Runs list). |
| layout | any | Optional canvas positions {nodes: {id: {x, y}}}; a deterministic grid is synthesized when omitted. |
| subject | any | Optional dataset subject code (e.g. "S01") recorded with the run. |
| description | any | Optional longer description of the experiment. |
| train_graph * | object | Pipeline graph {nodes: [{id, type, config}], connections: [{from, to}]} as built by catalog.template/pipeline.validate. |
{
"name": "execution.run",
"title": "Run Pipeline",
"description": "Start a pipeline run (NON-BLOCKING). Returns executionId — poll with\nexecution.get() until status is completed/failed, then execution.results().\nIf an identical graph is already running for you, the run still starts but\nthe response carries a ``warning`` + ``duplicateOf`` ids (cancel one with\nexecution.cancel to avoid paying twice).\nThe server runs a limited number of executions at once (3 by default); when\nall slots are busy the call fails immediately with 429\nnimbus.execution.queue_full and a retryAfter (seconds) — wait, then retry.",
"inputSchema": {
"type": "object",
"required": [
"train_graph"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Display name for the run (shown in the Runs list)."
},
"layout": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Optional canvas positions {nodes: {id: {x, y}}}; a deterministic\ngrid is synthesized when omitted."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional dataset subject code (e.g. \"S01\") recorded with the run."
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional longer description of the experiment."
},
"train_graph": {
"type": "object",
"description": "Pipeline graph {nodes: [{id, type, config}], connections:\n[{from, to}]} as built by catalog.template/pipeline.validate.",
"additionalProperties": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Cancel a running execution.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | The run to terminate (from execution.run/execution.list). |
{
"name": "execution.cancel",
"title": "Cancel Run",
"description": "Cancel a running execution.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "The run to terminate (from execution.run/execution.list)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Permanently delete one of your finished runs (completed/failed/cancelled) with its results. Running runs must be cancelled first (409 nimbus.execution.delete_not_terminal). Owner only.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | MUST be true to delete — the explicit user go-ahead. |
| execution_id * | string | The run to delete (from execution.run/execution.list). |
{
"name": "execution.delete",
"title": "Delete Run",
"description": "Permanently delete one of your finished runs (completed/failed/cancelled)\nwith its results. Running runs must be cancelled first (409\nnimbus.execution.delete_not_terminal). Owner only.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true to delete — the explicit user go-ahead."
},
"execution_id": {
"type": "string",
"description": "The run to delete (from execution.run/execution.list)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Execution status summary (status: running/completed/failed/cancelled). Summary fields: ``dataset`` is the human-readable display label (e.g. "BCIIV2a"); ``datasetId`` is the catalog id (e.g. "BNCI2014_001") accepted by other tools (data.inspect_dataset, public_data.dataset). ``title`` is the run name shown in Studio.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | The run to check (from execution.run/execution.list). |
{
"name": "execution.get",
"title": "Get Run",
"description": "Execution status summary (status: running/completed/failed/cancelled).\n\nSummary fields: ``dataset`` is the human-readable display label\n(e.g. \"BCIIV2a\"); ``datasetId`` is the catalog id (e.g. \"BNCI2014_001\")\naccepted by other tools (data.inspect_dataset, public_data.dataset).\n``title`` is the run name shown in Studio.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "The run to check (from execution.run/execution.list)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Recent executions. Optional status filter (running/completed/failed/cancelled). Per-run fields: ``dataset`` is the human-readable display label (e.g. "BCIIV2a"); ``datasetId`` is the catalog id (e.g. "BNCI2014_001") accepted by other tools (data.inspect_dataset, public_data.dataset). ``title`` is the run name shown in Studio.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Maximum number of runs to return (default 20). |
| status | enum | Filter by run status: running/completed/failed/cancelled. |
{
"name": "execution.list",
"title": "List Runs",
"description": "Recent executions. Optional status filter (running/completed/failed/cancelled).\n\nPer-run fields: ``dataset`` is the human-readable display label\n(e.g. \"BCIIV2a\"); ``datasetId`` is the catalog id (e.g. \"BNCI2014_001\")\naccepted by other tools (data.inspect_dataset, public_data.dataset).\n``title`` is the run name shown in Studio.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 20,
"description": "Maximum number of runs to return (default 20)."
},
"status": {
"enum": [
"running",
"completed",
"failed",
"cancelled",
null
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Filter by run status: running/completed/failed/cancelled."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Metrics for a completed run. Trimmed by default (accuracy, kappa, ITR, confusion matrix, per-class); full=True returns the complete result object.
| Parameter | Type | Description |
|---|---|---|
| full | boolean | Return the backend's complete result object (all fields). |
| execution_id * | string | The completed run to fetch metrics for. |
{
"name": "execution.results",
"title": "Run Results",
"description": "Metrics for a completed run. Trimmed by default (accuracy, kappa, ITR,\nconfusion matrix, per-class); full=True returns the complete result object.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"full": {
"type": "boolean",
"default": false,
"description": "Return the backend's complete result object (all fields)."
},
"execution_id": {
"type": "string",
"description": "The completed run to fetch metrics for."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Start a guided subject calibration session (NON-BLOCKING; confirm-gated — the device goes on a human's head). The Nimbus Studio app shows the cues on its calibration dashboard automatically; poll calibration.status. Requires a Pro plan (hosted token or Pro session): calibration nodes and custom-data training are gated by the freemium node policy; local X-MCP-Key principals pass only when the desktop app flags the signed-in Pro session (MCP_LOCAL_IS_PRO).
| Parameter | Type | Description |
|---|---|---|
| name | any | Display name recorded on the execution. |
| port | any | Serial/COM port for wired devices. |
| classes | any | Override class list [{id,label,cue}] (MI default: left/right hand). |
| confirm | boolean | MUST be true — explicit user go-ahead for a session on their head. |
| ip_port | any | Port for network devices. |
| paradigm | string | mi | p300 | sart | target_hit. |
| source_id | any | LSL source id. |
| ip_address | any | Device IP for network/wifi devices. |
| device_type | any | Device id from device.list (omit → template default synthetic). |
| mac_address | any | Bluetooth MAC (BT devices). |
| stream_name | any | LSL stream name (LSL devices). |
| serial_number | any | Device serial (some BLE stacks). |
| connection_type | any | Device selector when several exist (e.g. serial vs wifi). |
| trials_per_class | any | Override the template's trial count (minimum 5). |
{
"name": "calibration.start",
"title": "Start Calibration",
"description": "Start a guided subject calibration session (NON-BLOCKING; confirm-gated —\nthe device goes on a human's head). The Nimbus Studio app shows the cues on\nits calibration dashboard automatically; poll calibration.status.\nRequires a Pro plan (hosted token or Pro session): calibration nodes and\ncustom-data training are gated by the freemium node policy; local\nX-MCP-Key principals pass only when the desktop app flags the signed-in\nPro session (MCP_LOCAL_IS_PRO).",
"inputSchema": {
"type": "object",
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Display name recorded on the execution."
},
"port": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Serial/COM port for wired devices."
},
"classes": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"default": null,
"description": "Override class list [{id,label,cue}] (MI default: left/right hand)."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true — explicit user go-ahead for a session on their head."
},
"ip_port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Port for network devices."
},
"paradigm": {
"type": "string",
"default": "mi",
"description": "mi | p300 | sart | target_hit."
},
"source_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "LSL source id."
},
"ip_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device IP for network/wifi devices."
},
"device_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device id from device.list (omit → template default synthetic)."
},
"mac_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bluetooth MAC (BT devices)."
},
"stream_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "LSL stream name (LSL devices)."
},
"serial_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device serial (some BLE stacks)."
},
"connection_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device selector when several exist (e.g. serial vs wifi)."
},
"trials_per_class": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Override the template's trial count (minimum 5)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Live snapshot of a calibration session (phase, current trial, progress, paused). Once complete, carries the recorded upload — call calibration.train to turn it into the subject's own classifier.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | The calibration run to inspect (from calibration.start). |
{
"name": "calibration.status",
"title": "Calibration Status",
"description": "Live snapshot of a calibration session (phase, current trial, progress,\npaused). Once complete, carries the recorded upload — call\ncalibration.train to turn it into the subject's own classifier.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "The calibration run to inspect (from calibration.start)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Pause a running calibration between trials (cues hold; resume anytime).
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | The calibration run to pause. |
{
"name": "calibration.pause",
"title": "Pause Calibration",
"description": "Pause a running calibration between trials (cues hold; resume anytime).",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "The calibration run to pause."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Resume a paused calibration session.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | The calibration run to resume. |
{
"name": "calibration.resume",
"title": "Resume Calibration",
"description": "Resume a paused calibration session.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "The calibration run to resume."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Train the subject's own classifier from a COMPLETED calibration session (NON-BLOCKING). Fetches the recorded upload, wires it into a train pipeline as a custom_data source, and starts the run. Requires a Pro plan (custom_data training is freemium-gated). The calibrate→train handoff resolves on every backend, desktop-local included; only recordings made before the desktop execution-linkage build resolve no upload — rerun calibration.start for those.
| Parameter | Type | Description |
|---|---|---|
| name | any | Display name recorded on the training run. |
| paradigm | string | Paradigm of the recording (mi | p300 | sart | target_hit); mi and p300 have default train templates. |
| template_id | any | Train template to use (e.g. from catalog.templates); required for sart/target_hit (mi defaults to mi_headband_csp_lda, p300 to p300_hardware_xdawn_lda). |
| train_graph | any | Explicit train graph instead of a template; its first data node (custom_data/public_data) is rewired onto the recording. |
| execution_id * | string | The COMPLETED calibration run (from calibration.start). |
{
"name": "calibration.train",
"title": "Train Calibration Model",
"description": "Train the subject's own classifier from a COMPLETED calibration session\n(NON-BLOCKING). Fetches the recorded upload, wires it into a train\npipeline as a custom_data source, and starts the run. Requires a Pro\nplan (custom_data training is freemium-gated). The calibrate→train\nhandoff resolves on every backend, desktop-local included; only\nrecordings made before the desktop execution-linkage build resolve\nno upload — rerun calibration.start for those.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Display name recorded on the training run."
},
"paradigm": {
"type": "string",
"default": "mi",
"description": "Paradigm of the recording (mi | p300 | sart | target_hit);\nmi and p300 have default train templates."
},
"template_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Train template to use (e.g. from catalog.templates);\nrequired for sart/target_hit (mi defaults to mi_headband_csp_lda,\np300 to p300_hardware_xdawn_lda)."
},
"train_graph": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"default": null,
"description": "Explicit train graph instead of a template; its first\ndata node (custom_data/public_data) is rewired onto the recording."
},
"execution_id": {
"type": "string",
"description": "The COMPLETED calibration run (from calibration.start)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Run 1-25 pipelines as ONE paced experiment (NON-BLOCKING). Returns an experimentId immediately; a background thread submits at most 2 runs at a time (min(max_concurrent, 2)), retries queue-full up to 3 times per run, and polls each execution to completion. Poll experiment.get() for per-run status and, once finished, aggregated metrics. PORTABILITY: the experiment record is written through to the Nimbus server under your account (at start and at completion), so experiment.get works from ANY entry point — local stdio, hosted gateway, another machine — signed in with the same account/token. If the server is unreachable when the experiment starts it still runs and polls locally, but other entry points cannot read it until a write-through succeeds (#518).
| Parameter | Type | Description |
|---|---|---|
| runs * | array | 1-25 entries, each {name: str, train_graph: {nodes, connections}} (same graph shape as execution.run's train_graph). |
| max_concurrent | integer | Parallel submissions cap, clamped to 1-2 (default 2). |
{
"name": "experiment.run",
"title": "Run Experiment",
"description": "Run 1-25 pipelines as ONE paced experiment (NON-BLOCKING). Returns an\nexperimentId immediately; a background thread submits at most 2 runs at\na time (min(max_concurrent, 2)), retries queue-full up to 3 times per\nrun, and polls each execution to completion. Poll experiment.get() for\nper-run status and, once finished, aggregated metrics.\n\nPORTABILITY: the experiment record is written through to the\nNimbus server under your account (at start and at completion), so\nexperiment.get works from ANY entry point — local stdio, hosted\ngateway, another machine — signed in with the same account/token.\nIf the server is unreachable when the experiment starts it still\nruns and polls locally, but other entry points cannot read it\nuntil a write-through succeeds (#518).",
"inputSchema": {
"type": "object",
"required": [
"runs"
],
"properties": {
"runs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "1-25 entries, each {name: str, train_graph: {nodes, connections}}\n(same graph shape as execution.run's train_graph)."
},
"max_concurrent": {
"type": "integer",
"default": 2,
"description": "Parallel submissions cap, clamped to 1-2 (default 2)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Delete one of your experiment records (server + this machine's local cache). Its individual runs are kept — delete them with execution.delete. A still-running experiment cannot be deleted.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | MUST be true to delete — the explicit user go-ahead. |
| experiment_id * | string | The experiment to delete (from experiment.run). |
{
"name": "experiment.delete",
"title": "Delete Experiment",
"description": "Delete one of your experiment records (server + this machine's local\ncache). Its individual runs are kept — delete them with execution.delete.\nA still-running experiment cannot be deleted.",
"inputSchema": {
"type": "object",
"required": [
"experiment_id"
],
"properties": {
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true to delete — the explicit user go-ahead."
},
"experiment_id": {
"type": "string",
"description": "The experiment to delete (from experiment.run)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Experiment snapshot: status (running/completed/failed), per-run rows ({name, executionId, status, error?, metrics?, evaluationKind?}) and, once finished, aggregates over completed runs only: per-metric {mean, std, best, n}, plus ``pooledExecutionIds`` / ``pooledRunNames`` / ``kindBreakdown`` (per-subject vs LOSO etc. — each row has kind, n, mean, std, executionIds, runNames; #470). Pooled headline means are unchanged; kindBreakdown labels what was pooled. std is population; None below 2 values. kindBreakdown is always present when aggregates exist (including single-kind experiments). PORTABILITY: experiment records are stored on the Nimbus server under your account, so any entry point (local stdio, hosted gateway, another machine) signed in with the same account/token can read them; the serving process and the local ~/.nimbus/experiments store remain as fast-path caches. Experiments run before server-side storage landed exist only in the origin machine's local store and read as unknown elsewhere (#518).
| Parameter | Type | Description |
|---|---|---|
| experiment_id * | string | The experiment to inspect (from experiment.run). |
{
"name": "experiment.get",
"title": "Get Experiment",
"description": "Experiment snapshot: status (running/completed/failed), per-run rows\n({name, executionId, status, error?, metrics?, evaluationKind?}) and,\nonce finished, aggregates over completed runs only: per-metric\n{mean, std, best, n}, plus ``pooledExecutionIds`` / ``pooledRunNames``\n/ ``kindBreakdown`` (per-subject vs LOSO etc. — each row has kind, n,\nmean, std, executionIds, runNames; #470). Pooled headline means are\nunchanged; kindBreakdown labels what was pooled. std is population;\nNone below 2 values. kindBreakdown is always present when aggregates\nexist (including single-kind experiments).\n\nPORTABILITY: experiment records are stored on the Nimbus server\nunder your account, so any entry point (local stdio, hosted\ngateway, another machine) signed in with the same account/token\ncan read them; the serving process and the local\n~/.nimbus/experiments store remain as fast-path caches.\nExperiments run before server-side storage landed exist only in\nthe origin machine's local store and read as unknown elsewhere\n(#518).",
"inputSchema": {
"type": "object",
"required": [
"experiment_id"
],
"properties": {
"experiment_id": {
"type": "string",
"description": "The experiment to inspect (from experiment.run)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Trained artifacts (models/filters, e.g. *.pkl) saved by an execution.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | Run whose artifacts to list. |
{
"name": "execution.artifacts",
"title": "List Run Artifacts",
"description": "Trained artifacts (models/filters, e.g. *.pkl) saved by an execution.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "Run whose artifacts to list."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Download one artifact file. Local/stdio: saved to NIMBUS_EXPORT_DIR/executions/<id>/ and its path returned. Hosted gateway: returned inline as ``contentBase64`` (up to 1 MB of base64); larger files point to Nimbus Studio. Nothing is written on the gateway.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | Run that produced the artifact. |
| artifact_name * | string | File name from execution.artifacts (e.g. "nimbus_lda.pkl"). |
{
"name": "execution.download_artifact",
"title": "Download Run Artifact",
"description": "Download one artifact file.\n\nLocal/stdio: saved to NIMBUS_EXPORT_DIR/executions/<id>/ and its path returned.\nHosted gateway: returned inline as ``contentBase64`` (up to 1 MB of base64);\nlarger files point to Nimbus Studio. Nothing is written on the gateway.",
"inputSchema": {
"type": "object",
"required": [
"execution_id",
"artifact_name"
],
"properties": {
"execution_id": {
"type": "string",
"description": "Run that produced the artifact."
},
"artifact_name": {
"type": "string",
"description": "File name from execution.artifacts (e.g. \"nimbus_lda.pkl\")."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Export the pipeline as a standalone runnable Python bundle (zip). Local/stdio: the zip is saved under NIMBUS_EXPORT_DIR/exports and its path returned. Hosted gateway: the zip is returned inline as ``contentBase64`` (up to 1 MB of base64). UI-only nodes (interactive_application) are left out and listed in ``exportNotes``.
| Parameter | Type | Description |
|---|---|---|
| name | any | Optional name recorded inside the bundle. |
| train_graph * | object | Pipeline graph {nodes, connections} to export. |
{
"name": "pipeline.export",
"title": "Export Pipeline",
"description": "Export the pipeline as a standalone runnable Python bundle (zip).\n\nLocal/stdio: the zip is saved under NIMBUS_EXPORT_DIR/exports and its path\nreturned. Hosted gateway: the zip is returned inline as ``contentBase64``\n(up to 1 MB of base64). UI-only nodes (interactive_application) are left out and\nlisted in ``exportNotes``.",
"inputSchema": {
"type": "object",
"required": [
"train_graph"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional name recorded inside the bundle."
},
"train_graph": {
"type": "object",
"description": "Pipeline graph {nodes, connections} to export.",
"additionalProperties": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Export a Nimbus dataset as a BIDS-layout zip (local: saved to NIMBUS_EXPORT_DIR/bids/; hosted gateway: inline ``contentBase64``, up to 1 MB). Continuous sources (EDF/BDF uploads, stream recordings) export as BIDS-raw (EDF byte-passthrough; recordings converted HDF5→EDF with events.tsv). Epoched sources (MOABB packs, trial-table uploads) export as BIDS-derivatives (data passthrough + descriptive trial_index/label/session/run events — no fabricated onsets). The zip embeds nimbus_export_manifest.json with sha256s.
| Parameter | Type | Description |
|---|---|---|
| kind | enum | Optional explicit source kind: pack|upload|recording (default auto). |
| dataset * | string | Dataset id — a MOABB pack id (e.g. "BNCI2014_001"), an upload path (as returned by data.upload), or a recording name. Auto-detected. |
| subjects | any | Pack exports only — subject filter (e.g. ["S01", "S03"]) to bound zip size; default exports all installed subjects. |
{
"name": "bids.export_dataset",
"title": "Export Dataset as BIDS",
"description": "Export a Nimbus dataset as a BIDS-layout zip (local: saved to\nNIMBUS_EXPORT_DIR/bids/; hosted gateway: inline ``contentBase64``, up to 1 MB).\n\nContinuous sources (EDF/BDF uploads, stream recordings) export as BIDS-raw\n(EDF byte-passthrough; recordings converted HDF5→EDF with events.tsv).\nEpoched sources (MOABB packs, trial-table uploads) export as BIDS-derivatives\n(data passthrough + descriptive trial_index/label/session/run events — no\nfabricated onsets). The zip embeds nimbus_export_manifest.json with sha256s.",
"inputSchema": {
"type": "object",
"required": [
"dataset"
],
"properties": {
"kind": {
"enum": [
"auto",
"pack",
"upload",
"recording",
null
],
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional explicit source kind: pack|upload|recording (default auto)."
},
"dataset": {
"type": "string",
"description": "Dataset id — a MOABB pack id (e.g. \"BNCI2014_001\"), an upload\npath (as returned by data.upload), or a recording name. Auto-detected."
},
"subjects": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"default": null,
"description": "Pack exports only — subject filter (e.g. [\"S01\", \"S03\"]) to\nbound zip size; default exports all installed subjects."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Export an execution's results as a BIDS-derivative zip (metrics.json, per-subject participants.tsv, protocol.json, full pipeline_snapshot.json, predictions.tsv when stored, provenance/execution.json). Local: saved to NIMBUS_EXPORT_DIR/bids/. Hosted gateway: inline ``contentBase64`` (up to 1 MB of base64); larger zips point to Nimbus Studio.
| Parameter | Type | Description |
|---|---|---|
| execution_id * | string | Run whose results to export (from execution.run). |
{
"name": "bids.export_execution",
"title": "Export Run as BIDS",
"description": "Export an execution's results as a BIDS-derivative zip (metrics.json,\nper-subject participants.tsv, protocol.json, full pipeline_snapshot.json,\npredictions.tsv when stored, provenance/execution.json). Local: saved to\nNIMBUS_EXPORT_DIR/bids/. Hosted gateway: inline ``contentBase64`` (up to\n1 MB of base64); larger zips point to Nimbus Studio.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"execution_id": {
"type": "string",
"description": "Run whose results to export (from execution.run)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}EEG devices supported by this backend (OpenBCI, Muse, BrainBit, LSL, PiEEG...).
No parameters.
{
"name": "device.list",
"title": "List EEG Devices",
"description": "EEG devices supported by this backend (OpenBCI, Muse, BrainBit, LSL, PiEEG...).",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Test a device connection WITHOUT starting a stream (safe, no confirm needed).
| Parameter | Type | Description |
|---|---|---|
| port | any | Serial/COM port for wired devices. |
| ip_port | any | Port for network devices. |
| source_id | any | LSL source id. |
| ip_address | any | Device IP for network/wifi devices. |
| device_type * | string | Device id from device.list (e.g. "brainbit", "muse"). |
| mac_address | any | Bluetooth MAC (BT devices). |
| stream_name | any | LSL stream name (LSL devices). |
| serial_number | any | Device serial (some BLE stacks). |
| connection_type | any | Device-specific selector when several exist (e.g. serial vs wifi). |
{
"name": "device.test",
"title": "Test EEG Device",
"description": "Test a device connection WITHOUT starting a stream (safe, no confirm needed).",
"inputSchema": {
"type": "object",
"required": [
"device_type"
],
"properties": {
"port": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Serial/COM port for wired devices."
},
"ip_port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Port for network devices."
},
"source_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "LSL source id."
},
"ip_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device IP for network/wifi devices."
},
"device_type": {
"type": "string",
"description": "Device id from device.list (e.g. \"brainbit\", \"muse\")."
},
"mac_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bluetooth MAC (BT devices)."
},
"stream_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "LSL stream name (LSL devices)."
},
"serial_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device serial (some BLE stacks)."
},
"connection_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device-specific selector when several exist (e.g. serial vs wifi)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Connect an EEG device and START a live streaming session on the user's head. Requires confirm=True; call device.test first. Track with stream.status(). Idle watchdog: if no stream.status()/stream.telemetry() poll happens for idle_timeout_sec (default 900), the session is stopped and the device disconnected automatically — an abandoned stream never keeps running on the user's head. Any poll resets the timer; idle_timeout_sec=0 disables the watchdog.
| Parameter | Type | Description |
|---|---|---|
| port | any | Serial/COM port for wired devices. |
| confirm | boolean | MUST be true to start — the explicit user go-ahead for a live session on their head; anything else is refused with zero requests. |
| ip_port | any | Port for network devices. |
| source_id | any | LSL source id. |
| chunk_size | integer | Samples per streamed chunk (default 125). |
| ip_address | any | Device IP for network/wifi devices. |
| n_channels | integer | Channel count to open (default 8). |
| session_id | any | Optional existing session to resume/reuse. |
| device_type * | string | Device id from device.list (e.g. "brainbit"). |
| mac_address | any | Bluetooth MAC (BT devices). |
| stream_name | any | LSL stream name (LSL devices). |
| serial_number | any | Device serial (some BLE stacks). |
| connection_type | any | Device-specific selector (e.g. serial vs wifi). |
| idle_timeout_sec | integer | Watchdog: stop+disconnect after this many seconds without a status poll (default 900; 0 disables). |
{
"name": "stream.start",
"title": "Start EEG Stream",
"description": "Connect an EEG device and START a live streaming session on the user's head.\nRequires confirm=True; call device.test first. Track with stream.status().\nIdle watchdog: if no stream.status()/stream.telemetry() poll happens for\nidle_timeout_sec (default 900), the session is stopped and the device\ndisconnected automatically — an abandoned stream never keeps running on\nthe user's head. Any poll resets the timer; idle_timeout_sec=0 disables\nthe watchdog.",
"inputSchema": {
"type": "object",
"required": [
"device_type"
],
"properties": {
"port": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Serial/COM port for wired devices."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true to start — the explicit user go-ahead for a live\nsession on their head; anything else is refused with zero requests."
},
"ip_port": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Port for network devices."
},
"source_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "LSL source id."
},
"chunk_size": {
"type": "integer",
"default": 125,
"description": "Samples per streamed chunk (default 125)."
},
"ip_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device IP for network/wifi devices."
},
"n_channels": {
"type": "integer",
"default": 8,
"description": "Channel count to open (default 8)."
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional existing session to resume/reuse."
},
"device_type": {
"type": "string",
"description": "Device id from device.list (e.g. \"brainbit\")."
},
"mac_address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Bluetooth MAC (BT devices)."
},
"stream_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "LSL stream name (LSL devices)."
},
"serial_number": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device serial (some BLE stacks)."
},
"connection_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Device-specific selector (e.g. serial vs wifi)."
},
"idle_timeout_sec": {
"type": "integer",
"default": 900,
"description": "Watchdog: stop+disconnect after this many seconds\nwithout a status poll (default 900; 0 disables)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Live snapshot of a streaming session (running, deviceConnected). Polling this also feeds the idle watchdog: each call resets the session's idle timer (see stream.start's idle_timeout_sec).
| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The streaming session to inspect. |
{
"name": "stream.status",
"title": "EEG Stream Status",
"description": "Live snapshot of a streaming session (running, deviceConnected).\nPolling this also feeds the idle watchdog: each call resets the\nsession's idle timer (see stream.start's idle_timeout_sec).",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"description": "The streaming session to inspect."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Stop a streaming session and disconnect the device (always safe to call). Also removes the session from the idle watchdog so it cannot fire after an explicit stop.
| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The streaming session to stop. |
{
"name": "stream.stop",
"title": "Stop EEG Stream",
"description": "Stop a streaming session and disconnect the device (always safe to call).\nAlso removes the session from the idle watchdog so it cannot fire after\nan explicit stop.",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"description": "The streaming session to stop."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Confusion-matrix figure for one execution: heatmap with trial counts + per-class accuracy bars, rendered as a PNG the assistant can see. Use it right after execution.results to eyeball WHICH classes are confused, not just the accuracy number.
| Parameter | Type | Description |
|---|---|---|
| save | boolean | Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return its path. Ignored on the hosted gateway (the image is returned inline). |
| matrix | string | "eval" (held-out, default) or "train" (fit-set / cross-validation). CV and evaluation-plan runs often have no eval matrix — use "train". |
| execution_id * | string | Run to plot (from execution.run / execution.results). |
{
"name": "plots.confusion",
"title": "Plot Confusion Matrix",
"description": "Confusion-matrix figure for one execution: heatmap with trial\ncounts + per-class accuracy bars, rendered as a PNG the assistant can\nsee. Use it right after execution.results to eyeball WHICH classes are\nconfused, not just the accuracy number.",
"inputSchema": {
"type": "object",
"required": [
"execution_id"
],
"properties": {
"save": {
"type": "boolean",
"default": false,
"description": "Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return\nits path. Ignored on the hosted gateway (the image is returned inline)."
},
"matrix": {
"type": "string",
"default": "eval",
"description": "\"eval\" (held-out, default) or \"train\" (fit-set / cross-validation).\nCV and evaluation-plan runs often have no eval matrix — use \"train\"."
},
"execution_id": {
"type": "string",
"description": "Run to plot (from execution.run / execution.results)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"meta": {
"type": "object",
"description": "Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block).",
"additionalProperties": true
},
"title": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": "string"
},
"savedPath": {
"type": "string",
"description": "Set when save=true."
},
"sizeBytes": {
"type": "integer",
"description": "Set when save=true."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Figure over an EEG data source — the visual companion to data.inspect_dataset. kind=psd (Welch, channel mean bold), kind=bandpower (channel × band dB heatmap), kind=topomap (band-power scalp map), kind=spectrogram (time-frequency for one channel). Sources are the same ones inspect uses: MOABB packs, uploads, local files.
| Parameter | Type | Description |
|---|---|---|
| band | string | Band for kind=topomap: delta|theta|alpha|beta|gamma (default alpha). |
| kind * | string | Figure type: psd | topomap | bandpower | spectrogram. |
| mode | string | Pack split to load: training | evaluation | all (source=dataset). |
| path | any | Upload path (source=upload) or absolute local path (source=local). |
| save | boolean | Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return its path. Ignored on the hosted gateway (the image is returned inline). |
| source * | string | "dataset" (MOABB pack), "upload" (path from data.upload), or "local" (absolute path, local backend only). |
| dataset | any | MOABB dataset id, e.g. "BNCI2014_001" (source=dataset). |
| subject | any | Subject id, e.g. "S01" (source=dataset). |
| channel_idx | integer | 0-based channel for kind=spectrogram (default 0). |
{
"name": "plots.dataset",
"title": "Plot Dataset",
"description": "Figure over an EEG data source — the visual companion to\ndata.inspect_dataset. kind=psd (Welch, channel mean bold),\nkind=bandpower (channel × band dB heatmap), kind=topomap (band-power\nscalp map), kind=spectrogram (time-frequency for one channel). Sources\nare the same ones inspect uses: MOABB packs, uploads, local files.",
"inputSchema": {
"type": "object",
"required": [
"kind",
"source"
],
"properties": {
"band": {
"enum": [
"delta",
"theta",
"alpha",
"beta",
"gamma"
],
"type": "string",
"default": "alpha",
"description": "Band for kind=topomap: delta|theta|alpha|beta|gamma (default alpha)."
},
"kind": {
"enum": [
"psd",
"topomap",
"bandpower",
"spectrogram"
],
"type": "string",
"description": "Figure type: psd | topomap | bandpower | spectrogram."
},
"mode": {
"enum": [
"training",
"evaluation",
"all"
],
"type": "string",
"default": "all",
"description": "Pack split to load: training | evaluation | all (source=dataset)."
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Upload path (source=upload) or absolute local path (source=local)."
},
"save": {
"type": "boolean",
"default": false,
"description": "Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return\nits path. Ignored on the hosted gateway (the image is returned inline)."
},
"source": {
"enum": [
"dataset",
"upload",
"local"
],
"type": "string",
"description": "\"dataset\" (MOABB pack), \"upload\" (path from data.upload), or\n\"local\" (absolute path, local backend only)."
},
"dataset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MOABB dataset id, e.g. \"BNCI2014_001\" (source=dataset)."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Subject id, e.g. \"S01\" (source=dataset)."
},
"channel_idx": {
"type": "integer",
"default": 0,
"description": "0-based channel for kind=spectrogram (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"meta": {
"type": "object",
"description": "Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block).",
"additionalProperties": true
},
"title": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": "string"
},
"savedPath": {
"type": "string",
"description": "Set when save=true."
},
"sizeBytes": {
"type": "integer",
"description": "Set when save=true."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}ERP butterfly figure from epoched data: one subplot per class, all channel means (thin) + across-channel mean (bold), time-locked to the trial event. Shows whether class-conditioned evoked structure exists BEFORE training anything.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Pack split to load: training | evaluation | all (source=dataset). |
| path | any | Upload path (source=upload) or absolute local path (source=local). |
| save | boolean | Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return its path. Ignored on the hosted gateway (the image is returned inline). |
| source * | string | "dataset" (MOABB pack), "upload" (path from data.upload), or "local" (absolute path, local backend only). |
| dataset | any | MOABB dataset id, e.g. "BNCI2014_001" (source=dataset). |
| subject | any | Subject id, e.g. "S01" (source=dataset). |
| max_channels | integer | Channels drawn per class subplot (default 16, max 64). |
{
"name": "plots.erp",
"title": "Plot ERP",
"description": "ERP butterfly figure from epoched data: one subplot per class, all\nchannel means (thin) + across-channel mean (bold), time-locked to the\ntrial event. Shows whether class-conditioned evoked structure exists\nBEFORE training anything.",
"inputSchema": {
"type": "object",
"required": [
"source"
],
"properties": {
"mode": {
"enum": [
"training",
"evaluation",
"all"
],
"type": "string",
"default": "all",
"description": "Pack split to load: training | evaluation | all (source=dataset)."
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Upload path (source=upload) or absolute local path (source=local)."
},
"save": {
"type": "boolean",
"default": false,
"description": "Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return\nits path. Ignored on the hosted gateway (the image is returned inline)."
},
"source": {
"enum": [
"dataset",
"upload",
"local"
],
"type": "string",
"description": "\"dataset\" (MOABB pack), \"upload\" (path from data.upload), or\n\"local\" (absolute path, local backend only)."
},
"dataset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MOABB dataset id, e.g. \"BNCI2014_001\" (source=dataset)."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Subject id, e.g. \"S01\" (source=dataset)."
},
"max_channels": {
"type": "integer",
"default": 16,
"description": "Channels drawn per class subplot (default 16, max 64)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"meta": {
"type": "object",
"description": "Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block).",
"additionalProperties": true
},
"title": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": "string"
},
"savedPath": {
"type": "string",
"description": "Set when save=true."
},
"sizeBytes": {
"type": "integer",
"description": "Set when save=true."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Leaderboard bar chart for one dataset: accuracy with 95% CI whiskers, best first; BYO python_model submissions highlighted in a distinct color. The visual companion to catalog.leaderboard. On the pretrained_few_trial track the figure also includes the classical LOSO baseline as a muted side panel for comparison.
| Parameter | Type | Description |
|---|---|---|
| save | boolean | Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return its path. Ignored on the hosted gateway (the image is returned inline). |
| track | string | "within_session" (curated 5-fold), "crossSubject" (LOSO, curated + BYO submissions), or "pretrained_few_trial" (the efficiency track: LOSO at the protocol's fixed per-subject trial budget — the figure also includes the classical LOSO baseline as a muted side panel for comparison). |
| dataset_id * | string | Dataset to chart, e.g. "BNCI2014_001" (see catalog.leaderboard). |
{
"name": "plots.leaderboard",
"title": "Plot Leaderboard",
"description": "Leaderboard bar chart for one dataset: accuracy with 95% CI\nwhiskers, best first; BYO python_model submissions highlighted in a\ndistinct color. The visual companion to catalog.leaderboard. On the\npretrained_few_trial track the figure also includes the classical\nLOSO baseline as a muted side panel for comparison.",
"inputSchema": {
"type": "object",
"required": [
"dataset_id"
],
"properties": {
"save": {
"type": "boolean",
"default": false,
"description": "Local/stdio: also write the PNG to NIMBUS_EXPORT_DIR/plots/ and return\nits path. Ignored on the hosted gateway (the image is returned inline)."
},
"track": {
"enum": [
"within_session",
"crossSubject",
"pretrained_few_trial"
],
"type": "string",
"default": "within_session",
"description": "\"within_session\" (curated 5-fold), \"crossSubject\" (LOSO,\ncurated + BYO submissions), or \"pretrained_few_trial\" (the\nefficiency track: LOSO at the protocol's fixed per-subject\ntrial budget — the figure also includes the classical LOSO\nbaseline as a muted side panel for comparison)."
},
"dataset_id": {
"type": "string",
"description": "Dataset to chart, e.g. \"BNCI2014_001\" (see catalog.leaderboard)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"meta": {
"type": "object",
"description": "Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block).",
"additionalProperties": true
},
"title": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": "string"
},
"savedPath": {
"type": "string",
"description": "Set when save=true."
},
"sizeBytes": {
"type": "integer",
"description": "Set when save=true."
}
}
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Live snapshot of a streaming session: latest prediction + recent window, signal quality (meanChannelQuality, snrDb, artifactProbability), indicators, running stats. Poll this while a session runs. Works with OR without a deployed model: modelless hardware streams (no classifier) report live signal quality + focus/relaxation band-power indicators with latestPrediction null; deployed sessions additionally carry predictions and confidence stats. Expect low confidence during filter/ASR warm-up (first seconds); quality < 0.5 or high artifactProbability means the signal is poor. 404 => session not active in this backend. Each poll also feeds the idle watchdog (see stream.start's idle_timeout_sec), keeping an actively watched session alive.
| Parameter | Type | Description |
|---|---|---|
| window | integer | How many recent predictions/chunks to include (default 50). |
| session_id * | string | The streaming session to read telemetry for. |
{
"name": "stream.telemetry",
"title": "EEG Stream Telemetry",
"description": "Live snapshot of a streaming session: latest prediction + recent window,\nsignal quality (meanChannelQuality, snrDb, artifactProbability), indicators,\nrunning stats. Poll this while a session runs. Works with OR without a\ndeployed model: modelless hardware streams (no classifier) report live\nsignal quality + focus/relaxation band-power indicators with\nlatestPrediction null; deployed sessions additionally carry predictions\nand confidence stats. Expect low\nconfidence during filter/ASR warm-up (first seconds); quality < 0.5 or high\nartifactProbability means the signal is poor. 404 => session not active in\nthis backend. Each poll also feeds the idle watchdog (see stream.start's\nidle_timeout_sec), keeping an actively watched session alive.",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"window": {
"type": "integer",
"default": 50,
"description": "How many recent predictions/chunks to include (default 50)."
},
"session_id": {
"type": "string",
"description": "The streaming session to read telemetry for."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Upload an EEG file (.edf/.bdf/.mat/.csv/.txt/.tsv/.h5/.hdf5, <=500MB) to the backend and get the registered path for a custom_data node. sampling_rate (Hz, e.g. 250.0) is REQUIRED for plain CSV/TSV/TXT files without embedded metadata — uploads without it are rejected (no silent 250 Hz assumption). format overrides extension-based detection (auto, mat, csv, tsv, txt, edf, bdf, h5, hdf5).
| Parameter | Type | Description |
|---|---|---|
| format | any | Override extension-based detection (auto|mat|csv|tsv|txt|edf|bdf|h5|hdf5). |
| file_path * | string | Local file to upload (.edf/.bdf/.mat/.csv/.txt/.tsv/.h5/.hdf5, <=500MB). |
| dataset_name | any | Optional label for the uploaded dataset. |
| sampling_rate | any | Hz for headerless CSV/TSV/TXT (REQUIRED there, e.g. 250.0). |
{
"name": "data.upload",
"title": "Upload Data File",
"description": "Upload an EEG file (.edf/.bdf/.mat/.csv/.txt/.tsv/.h5/.hdf5, <=500MB) to the\nbackend and get the registered path for a custom_data node.\n\nsampling_rate (Hz, e.g. 250.0) is REQUIRED for plain CSV/TSV/TXT files\nwithout embedded metadata — uploads without it are rejected (no silent\n250 Hz assumption). format overrides extension-based detection\n(auto, mat, csv, tsv, txt, edf, bdf, h5, hdf5).",
"inputSchema": {
"type": "object",
"required": [
"file_path"
],
"properties": {
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Override extension-based detection (auto|mat|csv|tsv|txt|edf|bdf|h5|hdf5)."
},
"file_path": {
"type": "string",
"description": "Local file to upload (.edf/.bdf/.mat/.csv/.txt/.tsv/.h5/.hdf5, <=500MB)."
},
"dataset_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional label for the uploaded dataset."
},
"sampling_rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Hz for headerless CSV/TSV/TXT (REQUIRED there, e.g. 250.0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Delete an uploaded file from your account (disk + registry). Requires confirm=True. Pass the path returned by data.upload (file.path). Only your own uploads can be deleted; missing paths return not-found.
| Parameter | Type | Description |
|---|---|---|
| path * | string | Upload path from data.upload (e.g. user_…/file.csv). |
| confirm | boolean | MUST be true to delete — the explicit user go-ahead. |
{
"name": "data.delete_upload",
"title": "Delete Upload",
"description": "Delete an uploaded file from your account (disk + registry).\n\nRequires confirm=True. Pass the path returned by data.upload\n(file.path). Only your own uploads can be deleted; missing paths\nreturn not-found.",
"inputSchema": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "Upload path from data.upload (e.g. user_…/file.csv)."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true to delete — the explicit user go-ahead."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Exploratory summary of a public EEG dataset (MOABB pack): channels, sampling rate, trial/class balance, per-channel µV stats, band powers and a PSD overview. Look at the data BEFORE building pipelines: class balance drives stratification choices (imbalanced classes skew accuracy), and flatlined channels mean a montage/reference problem worth fixing first. subject defaults to the dataset's catalog ``defaultSubject`` (see catalog.datasets), e.g. "S01"; a comma-list like "S01,S03" loads a cohort. mode: training | evaluation | all. Units note: values are ASSUMED volts by the loader — a µV-native file reads 1e6x too large; set unitsScale in a pipeline's custom_data config when needed.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Which split to summarize — training | evaluation | all. |
| dataset * | string | Dataset id from catalog.datasets (e.g. "BNCI2014_001"). |
| subject | any | Subject code ("S01") or comma-list cohort ("S01,S03"); defaults to the catalog defaultSubject. |
{
"name": "data.inspect_dataset",
"title": "Inspect Dataset",
"description": "Exploratory summary of a public EEG dataset (MOABB pack): channels,\nsampling rate, trial/class balance, per-channel µV stats, band powers\nand a PSD overview.\n\nLook at the data BEFORE building pipelines: class balance drives\nstratification choices (imbalanced classes skew accuracy), and\nflatlined channels mean a montage/reference problem worth fixing\nfirst. subject defaults to the dataset's catalog ``defaultSubject``\n(see catalog.datasets), e.g. \"S01\"; a comma-list like\n\"S01,S03\" loads a cohort. mode: training | evaluation | all.\nUnits note: values are ASSUMED volts by the loader — a µV-native file\nreads 1e6x too large; set unitsScale in a pipeline's custom_data\nconfig when needed.",
"inputSchema": {
"type": "object",
"required": [
"dataset"
],
"properties": {
"mode": {
"enum": [
"training",
"evaluation",
"all"
],
"type": "string",
"default": "all",
"description": "Which split to summarize — training | evaluation | all."
},
"dataset": {
"type": "string",
"description": "Dataset id from catalog.datasets (e.g. \"BNCI2014_001\")."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Subject code (\"S01\") or comma-list cohort (\"S01,S03\"); defaults to\nthe catalog defaultSubject."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Exploratory summary of an EEG file (.edf/.bdf/.mat/.csv/.tsv/.txt/.h5): channels, sampling rate, trial/class balance, per-channel µV stats, band powers and a PSD overview. The path shape picks the source: ABSOLUTE path → read the file from disk (only on a LOCAL backend: desktop app / MCP local mode — no upload needed); RELATIVE path (the one data.upload returns) → describe the uploaded file, which works on ANY backend (hosted or local). Look at the data BEFORE building pipelines: class balance drives stratification choices, and flatlined channels mean a montage/reference problem worth fixing first. Units note: values are ASSUMED volts by the loader — a µV-native CSV reads 1e6x too large; set unitsScale in a pipeline's custom_data config when needed. On a hosted backend absolute paths are refused with an error that explains how to proceed (upload the file first or switch to a local backend). CSV/TSV/TXT files have no embedded sampling rate: pass sampling_rate (Hz) for them — the backend never assumes 250 Hz. Formats that embed their rate (EDF/BDF/MAT/H5) ignore it.
| Parameter | Type | Description |
|---|---|---|
| path * | string | ABSOLUTE filesystem path (`~` is expanded; local backends only) or the RELATIVE upload path returned by data.upload (works on any backend). |
| sampling_rate | any | Hz for CSV/TSV/TXT files (REQUIRED there, e.g. 250.0). |
{
"name": "data.inspect_file",
"title": "Inspect Data File",
"description": "Exploratory summary of an EEG file (.edf/.bdf/.mat/.csv/.tsv/.txt/.h5):\nchannels, sampling rate, trial/class balance, per-channel µV stats,\nband powers and a PSD overview.\n\nThe path shape picks the source: ABSOLUTE path → read the file from\ndisk (only on a LOCAL backend: desktop app / MCP local mode — no\nupload needed); RELATIVE path (the one data.upload returns) → describe\nthe uploaded file, which works on ANY backend (hosted or local).\n\nLook at the data BEFORE building pipelines: class balance drives\nstratification choices, and flatlined channels mean a\nmontage/reference problem worth fixing first. Units note: values are\nASSUMED volts by the loader — a µV-native CSV reads 1e6x too large;\nset unitsScale in a pipeline's custom_data config when needed. On a\nhosted backend absolute paths are refused with an error that explains\nhow to proceed (upload the file first or switch to a local backend).\n\nCSV/TSV/TXT files have no embedded sampling rate: pass sampling_rate\n(Hz) for them — the backend never assumes 250 Hz. Formats that embed\ntheir rate (EDF/BDF/MAT/H5) ignore it.",
"inputSchema": {
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "string",
"description": "ABSOLUTE filesystem path (`~` is expanded; local backends\nonly) or the RELATIVE upload path returned by data.upload\n(works on any backend)."
},
"sampling_rate": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Hz for CSV/TSV/TXT files (REQUIRED there, e.g. 250.0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Create a project (container for one pipeline document). Returns projectId.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Project display name (e.g. "MI CSP-LDA sweep"). |
| description | any | Optional longer description shown in the studio. |
{
"name": "project.create",
"title": "Create Project",
"description": "Create a project (container for one pipeline document). Returns projectId.",
"inputSchema": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Project display name (e.g. \"MI CSP-LDA sweep\")."
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional longer description shown in the studio."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}List projects owned by the current principal (agent work included).
No parameters.
{
"name": "project.list",
"title": "List Projects",
"description": "List projects owned by the current principal (agent work included).",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Save a pipeline graph into a project (visible on the studio canvas). Always pass expected_revision from the last project.load (or a prior save/create response). When it does not match the current server revision, the save fails with a conflict — it does NOT silently overwrite concurrent edits. Omitting it is rejected so a stale single-writer convenience path cannot wipe another client's work.
| Parameter | Type | Description |
|---|---|---|
| name | any | Optional pipeline name stored on the document. |
| subject | any | Optional dataset subject code (e.g. "S01") for this pipeline. |
| project_id * | string | Target project (from project.create/project.list). |
| train_graph * | object | Pipeline graph {nodes, connections} to persist. |
| expected_revision * | integer | Optimistic-concurrency base from project.load / a prior save. Required. |
{
"name": "project.save",
"title": "Save Project Pipeline",
"description": "Save a pipeline graph into a project (visible on the studio canvas).\n\nAlways pass expected_revision from the last project.load (or a prior\nsave/create response). When it does not match the current server\nrevision, the save fails with a conflict — it does NOT silently\noverwrite concurrent edits. Omitting it is rejected so a stale\nsingle-writer convenience path cannot wipe another client's work.",
"inputSchema": {
"type": "object",
"required": [
"project_id",
"train_graph",
"expected_revision"
],
"properties": {
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional pipeline name stored on the document."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional dataset subject code (e.g. \"S01\") for this pipeline."
},
"project_id": {
"type": "string",
"description": "Target project (from project.create/project.list)."
},
"train_graph": {
"type": "object",
"description": "Pipeline graph {nodes, connections} to persist.",
"additionalProperties": true
},
"expected_revision": {
"type": "integer",
"description": "Optimistic-concurrency base from project.load /\na prior save. Required."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Load a project's saved pipeline (train graph + meta) for editing/re-running.
| Parameter | Type | Description |
|---|---|---|
| project_id * | string | Project whose pipeline document to load. |
{
"name": "project.load",
"title": "Load Project",
"description": "Load a project's saved pipeline (train graph + meta) for editing/re-running.",
"inputSchema": {
"type": "object",
"required": [
"project_id"
],
"properties": {
"project_id": {
"type": "string",
"description": "Project whose pipeline document to load."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Rename a project you own (max 200 characters).
| Parameter | Type | Description |
|---|---|---|
| name * | string | New display name. |
| project_id * | string | Project to rename (from project.create/project.list). |
{
"name": "project.rename",
"title": "Rename Project",
"description": "Rename a project you own (max 200 characters).",
"inputSchema": {
"type": "object",
"required": [
"project_id",
"name"
],
"properties": {
"name": {
"type": "string",
"description": "New display name."
},
"project_id": {
"type": "string",
"description": "Project to rename (from project.create/project.list)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Delete a project (and its saved pipeline document) from the studio workspace. Requires confirm=True: this removes the project from the user's project list. Executions already run from it are not affected. Find ids with project.list.
| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | MUST be true to delete — the explicit user go-ahead. |
| project_id * | string | Project to delete (from project.create/project.list). |
{
"name": "project.delete",
"title": "Delete Project",
"description": "Delete a project (and its saved pipeline document) from the studio workspace.\n\nRequires confirm=True: this removes the project from the user's project\nlist. Executions already run from it are not affected. Find ids with\nproject.list.",
"inputSchema": {
"type": "object",
"required": [
"project_id"
],
"properties": {
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true to delete — the explicit user go-ahead."
},
"project_id": {
"type": "string",
"description": "Project to delete (from project.create/project.list)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Validate a neurofeedback protocol document WITHOUT saving it. Returns {valid: true, spec} on success, or {valid: false, errors: [...]} with the per-violation list (loc/msg) when the document is invalid — the verdict is data, never an exception.
| Parameter | Type | Description |
|---|---|---|
| spec * | object | Wire-format protocol document (camelCase): id, name, indicator {name, transform}, armDefaults, blocks [{id, kind: assessment|training, durationSec, feedback?}], threshold, sessions, breakCriteria. |
{
"name": "protocol.validate",
"title": "Validate Protocol",
"description": "Validate a neurofeedback protocol document WITHOUT saving it.\nReturns {valid: true, spec} on success, or {valid: false, errors: [...]}\nwith the per-violation list (loc/msg) when the document is invalid —\nthe verdict is data, never an exception.",
"inputSchema": {
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "Wire-format protocol document (camelCase): id, name,\nindicator {name, transform}, armDefaults, blocks\n[{id, kind: assessment|training, durationSec, feedback?}],\nthreshold, sessions, breakCriteria.",
"additionalProperties": true
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Validate and persist the NEXT VERSION of a protocol document (confirm-gated: each call appends a version row; accidental calls clutter the version history). Edits create a new version — the assignment pins the version it runs.
| Parameter | Type | Description |
|---|---|---|
| spec * | object | Wire-format protocol document (validate first to iterate). |
| confirm | boolean | MUST be true to write. |
| project_id | any | Optional — bind the version to a project (the project protocol page lists bound ids). Omitted, the id inherits its latest version's binding server-side. |
{
"name": "protocol.save",
"title": "Save Protocol",
"description": "Validate and persist the NEXT VERSION of a protocol document\n(confirm-gated: each call appends a version row; accidental calls\nclutter the version history). Edits create a new version — the\nassignment pins the version it runs.",
"inputSchema": {
"type": "object",
"required": [
"spec"
],
"properties": {
"spec": {
"type": "object",
"description": "Wire-format protocol document (validate first to iterate).",
"additionalProperties": true
},
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true to write."
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional — bind the version to a project (the project\nprotocol page lists bound ids). Omitted, the id inherits its\nlatest version's binding server-side."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Every saved protocol id at its latest version.
| Parameter | Type | Description |
|---|---|---|
| project_id | any | Optional — narrow the list to that project's protocols (the project protocol page scope). |
{
"name": "protocol.list",
"title": "List Protocols",
"description": "Every saved protocol id at its latest version.",
"inputSchema": {
"type": "object",
"properties": {
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional — narrow the list to that project's\nprotocols (the project protocol page scope)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Enroll a subject and prepare their neurofeedback deploy session (confirm-gated — a session runs on a human). Creates the assignment (yoked sham arms REQUIRE yoked_donor_upload_id: a recorded simulated session's upload — mint one by running an active-arm session and data.upload-ing its recording), then persists the protocol graph as a deployable execution. Requires a Pro plan for LIVE hardware sessions; simulated-source sessions (the default template) are free. Graph source: execution_id reuses THAT run's stored graph (it must contain a protocol_session node; no device is pre-connected — the deploy session's data source stays yours). Without execution_id the built-in template graph is cloned — simulated source → bandpass → bandpower_indicator → protocol_session stamped with the protocol refs — and a simulated device is connected to the returned session id. The session starts when a client opens {statusUrl} (the deploy WS), sends init_deployment with modelExecutionId={executionId}, then start; the Studio app shows the feedback panel automatically. Poll protocol.session_status; stop with protocol.stop (the recording's block annotations + assignment progression are written on stop).
| Parameter | Type | Description |
|---|---|---|
| arm * | string | active | sham. |
| confirm | boolean | MUST be true — explicit go-ahead for a session on a human. |
| protocol_id * | string | Saved protocol id (protocol.save). |
| execution_id | any | Optional completed execution whose stored graph carries a protocol_session node; default clones the template. |
| subject_label * | string | Subject identifier (e.g. "S01"). |
| protocol_version * | integer | Immutable version the assignment pins. |
| yoked_donor_upload_id | any | Donor recording upload (required when the arm's blocks resolve to yoked — the backend validates coverage). |
{
"name": "protocol.start_assignment",
"title": "Start Protocol Assignment",
"description": "Enroll a subject and prepare their neurofeedback deploy session\n(confirm-gated — a session runs on a human). Creates the assignment\n(yoked sham arms REQUIRE yoked_donor_upload_id: a recorded simulated\nsession's upload — mint one by running an active-arm session and\ndata.upload-ing its recording), then persists the protocol graph as a\ndeployable execution. Requires a Pro plan for LIVE hardware sessions;\nsimulated-source sessions (the default template) are free.\n\nGraph source: execution_id reuses THAT run's stored graph (it must\ncontain a protocol_session node; no device is pre-connected — the\ndeploy session's data source stays yours). Without execution_id the\nbuilt-in template graph is cloned — simulated source → bandpass →\nbandpower_indicator → protocol_session stamped with the protocol refs —\nand a simulated device is connected to the returned session id.\n\nThe session starts when a client opens {statusUrl} (the deploy WS),\nsends init_deployment with modelExecutionId={executionId}, then start;\nthe Studio app shows the feedback panel automatically. Poll\nprotocol.session_status; stop with protocol.stop (the recording's\nblock annotations + assignment progression are written on stop).",
"inputSchema": {
"type": "object",
"required": [
"protocol_id",
"protocol_version",
"subject_label",
"arm"
],
"properties": {
"arm": {
"type": "string",
"description": "active | sham."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "MUST be true — explicit go-ahead for a session on a human."
},
"protocol_id": {
"type": "string",
"description": "Saved protocol id (protocol.save)."
},
"execution_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional completed execution whose stored graph\ncarries a protocol_session node; default clones the template."
},
"subject_label": {
"type": "string",
"description": "Subject identifier (e.g. \"S01\")."
},
"protocol_version": {
"type": "integer",
"description": "Immutable version the assignment pins."
},
"yoked_donor_upload_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Donor recording upload (required when the\narm's blocks resolve to yoked — the backend validates coverage)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Live snapshot of a protocol deploy session: the scheduler block / session progress + threshold state (under ``protocol``) beside the telemetry window (recent indicators, quality, stats).
| Parameter | Type | Description |
|---|---|---|
| window | integer | How many recent predictions to include (1-200, default 50). |
| session_id * | string | The deploy session to inspect (from start_assignment). |
{
"name": "protocol.session_status",
"title": "Protocol Session Status",
"description": "Live snapshot of a protocol deploy session: the scheduler block /\nsession progress + threshold state (under ``protocol``) beside the\ntelemetry window (recent indicators, quality, stats).",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"window": {
"type": "integer",
"default": 50,
"description": "How many recent predictions to include (1-200, default 50)."
},
"session_id": {
"type": "string",
"description": "The deploy session to inspect (from start_assignment)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Pause a running protocol session (blocks freeze; the session and device stay alive — resume with protocol.resume). Simulated and playback sessions only while paused: no data is recorded.
| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The deploy session to pause. |
{
"name": "protocol.pause",
"title": "Pause Protocol Session",
"description": "Pause a running protocol session (blocks freeze; the session and\ndevice stay alive — resume with protocol.resume). Simulated and\nplayback sessions only while paused: no data is recorded.",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"description": "The deploy session to pause."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Resume a paused protocol session (restarts the server-driven device loop). Live-hardware resume requires a Pro plan; simulated sessions are free. Pass the session's channel count (start_assignment reports it).
| Parameter | Type | Description |
|---|---|---|
| chunk_size | integer | Samples per streamed chunk (default 125). |
| n_channels | integer | Session channel count (the built-in template opens 4). |
| session_id * | string | The deploy session to resume. |
{
"name": "protocol.resume",
"title": "Resume Protocol Session",
"description": "Resume a paused protocol session (restarts the server-driven device\nloop). Live-hardware resume requires a Pro plan; simulated sessions are\nfree. Pass the session's channel count (start_assignment reports it).",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"chunk_size": {
"type": "integer",
"default": 125,
"description": "Samples per streamed chunk (default 125)."
},
"n_channels": {
"type": "integer",
"default": 4,
"description": "Session channel count (the built-in template opens 4)."
},
"session_id": {
"type": "string",
"description": "The deploy session to resume."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": false
}
}Stop a protocol session (always safe to call): stops streaming, saves the block-annotated recording, advances the assignment when the scheduler reached its natural end, and disconnects the device (best-effort — a failed disconnect is reported, never raised).
| Parameter | Type | Description |
|---|---|---|
| session_id * | string | The deploy session to stop. |
{
"name": "protocol.stop",
"title": "Stop Protocol Session",
"description": "Stop a protocol session (always safe to call): stops streaming,\nsaves the block-annotated recording, advances the assignment when the\nscheduler reached its natural end, and disconnects the device\n(best-effort — a failed disconnect is reported, never raised).",
"inputSchema": {
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"description": "The deploy session to stop."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": false,
"destructiveHint": true
}
}Paired pre/post analysis for one assignment's recorded sessions: per-block aggregates (descriptive + CSV), paired t / Wilcoxon / dz (per-statistic minimums: paired t and Cohen's dz need ≥ 3 completed sessions, Wilcoxon needs ≥ 5), specificity notes, the adaptive-threshold trajectory, and a pre/post figure (base64 PNG — render or save it to look at the effect). An assignment with no recordings yet returns the empty payload with a note, never an error.
| Parameter | Type | Description |
|---|---|---|
| assignment_id * | string | The assignment to analyze (from start_assignment). |
{
"name": "protocol.export_stats",
"title": "Export Protocol Stats",
"description": "Paired pre/post analysis for one assignment's recorded sessions:\nper-block aggregates (descriptive + CSV), paired t / Wilcoxon / dz\n(per-statistic minimums: paired t and Cohen's dz need ≥ 3 completed\nsessions, Wilcoxon needs ≥ 5), specificity notes, the\nadaptive-threshold trajectory, and a pre/post figure (base64 PNG —\nrender or save it to look at the effect). An assignment with no\nrecordings yet returns the empty payload with a note, never an error.",
"inputSchema": {
"type": "object",
"required": [
"assignment_id"
],
"properties": {
"assignment_id": {
"type": "string",
"description": "The assignment to analyze (from start_assignment)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Statically check a python_model script (BYO model class) without running it. Compiles the source and verifies the contract — a class with fit(X, y, info) and predict(X); optional predict_proba(X) unlocks confidence panels. Never executes the code, so it is safe against the hosted backend. Use it before execution.run to catch syntax errors, missing methods, or the wrong class name cheaply.
| Parameter | Type | Description |
|---|---|---|
| code * | string | Python source of the model class (<=256KB UTF-8). |
| class_name | any | Contract class to instantiate; omit to auto-detect the first class defining fit+predict. |
{
"name": "python.validate",
"title": "Validate Python Model",
"description": "Statically check a python_model script (BYO model class) without running it.\n\nCompiles the source and verifies the contract — a class with\nfit(X, y, info) and predict(X); optional predict_proba(X) unlocks\nconfidence panels. Never executes the code, so it is safe against the\nhosted backend. Use it before execution.run to catch syntax errors,\nmissing methods, or the wrong class name cheaply.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"description": "Python source of the model class (<=256KB UTF-8)."
},
"class_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Contract class to instantiate; omit to auto-detect the\nfirst class defining fit+predict."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Cluster-aware group statistics across executions. REQUIREMENT (read first): each execution must have been run with an evaluation plan that STORED per-SUBJECT accuracies for at least 3 subjects — e.g. leave-one-subject-out (LOSO) or grouped CV over >= 3 subjects. Session groups within one subject (multi-session single-subject runs) are refused with ``nimbus.stats.non_subject_groups`` — those are not independent subjects. A plain single-subject CV run with no subject/session grouping stores no group stats and fails with ``nimbus.stats.insufficient_groups``. HOW to get grouped stats: in the train graph set ``public_data.subject`` to >= 3 subjects (e.g. "S01,S02,S03", mode "all"), add an ``evaluation_plan`` node wired right after public_data with ``method: "loso"`` and ``evaluationTargetNodeId`` = your model node id, and keep an ``epoching`` node. See catalog.node_schema("evaluation_plan") and the ``mi_bciiv2a_csp_cv`` template for a working plan. What it does: pools the per-subject accuracies each run's evaluation plan stored, then reports the between-group summary — mean accuracy with a t-interval and a one-sample t-test vs chance. Responses label ``groupKind``, real ``groupKeys`` (subject ids like S01 when stamped or recoverable), ``perGroup`` (key + accuracy pairs), ``overall.pooledExecutionIds``, and ``kindBreakdown`` / ``overall.kindBreakdown`` (per_subject vs loso etc. with n + mean — #470; between-group pooled mean is unchanged).
| Parameter | Type | Description |
|---|---|---|
| chance | any | Chance level in [0, 1]; default 1/nClasses per execution. |
| execution_ids * | array | 1–25 executions (from execution.run) to pool. Runs without subject group stats are reported with nulls but do not fail the request — unless NONE qualifies (``nimbus.stats.insufficient_groups``) or only session groups are present (``nimbus.stats.non_subject_groups``). |
{
"name": "stats.grouped",
"title": "Grouped Statistics",
"description": "Cluster-aware group statistics across executions.\n\nREQUIREMENT (read first): each execution must have been run with an\nevaluation plan that STORED per-SUBJECT accuracies for at least 3\nsubjects — e.g. leave-one-subject-out (LOSO) or grouped CV over\n>= 3 subjects. Session groups within one subject (multi-session\nsingle-subject runs) are refused with\n``nimbus.stats.non_subject_groups`` — those are not independent\nsubjects. A plain single-subject CV run with no subject/session\ngrouping stores no group stats and fails with\n``nimbus.stats.insufficient_groups``.\n\nHOW to get grouped stats: in the train graph set ``public_data.subject``\nto >= 3 subjects (e.g. \"S01,S02,S03\", mode \"all\"), add an\n``evaluation_plan`` node wired right after public_data with\n``method: \"loso\"`` and ``evaluationTargetNodeId`` = your model node id,\nand keep an ``epoching`` node. See catalog.node_schema(\"evaluation_plan\")\nand the ``mi_bciiv2a_csp_cv`` template for a working plan.\n\nWhat it does: pools the per-subject accuracies each run's evaluation\nplan stored, then reports the between-group summary — mean accuracy\nwith a t-interval and a one-sample t-test vs chance. Responses label\n``groupKind``, real ``groupKeys`` (subject ids like S01 when stamped\nor recoverable), ``perGroup`` (key + accuracy pairs),\n``overall.pooledExecutionIds``, and ``kindBreakdown`` /\n``overall.kindBreakdown`` (per_subject vs loso etc. with n + mean —\n#470; between-group pooled mean is unchanged).",
"inputSchema": {
"type": "object",
"required": [
"execution_ids"
],
"properties": {
"chance": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "Chance level in [0, 1]; default 1/nClasses per execution."
},
"execution_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "1–25 executions (from execution.run) to pool. Runs\nwithout subject group stats are reported with nulls but do not\nfail the request — unless NONE qualifies\n(``nimbus.stats.insufficient_groups``) or only session groups\nare present (``nimbus.stats.non_subject_groups``)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"additionalProperties": true
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Run every available pretrained backbone on YOUR data and see which wins — a ranked bar chart with CI whiskers, params, and wall time per backbone. Backbones that can't process your data (window size, channel count) are noted, not silently skipped. Each backbone embeds your trials frozen (the exact foundation_features preprocessing), a LDA is cross-validated on the embeddings. Returns a PNG image PLUS a JSON text block (and structuredContent.meta.results) with per-backbone accuracy, CI, embed dim, params, and time — pick the foundation_features backbone by measurement, not vibes.
| Parameter | Type | Description |
|---|---|---|
| mode | string | Pack split to load: training | evaluation | all (source=dataset). |
| path | any | Upload path (source=upload) or absolute local path (source=local). |
| source * | string | "dataset" (MOABB pack), "upload" (path from data.upload), or "local" (absolute path, local backend only). |
| dataset | any | MOABB dataset id, e.g. "BNCI2014_001" (source=dataset). |
| subject | any | Subject id, e.g. "S01" (source=dataset). |
{
"name": "foundation.compare",
"title": "Compare Foundation Backbones",
"description": "Run every available pretrained backbone on YOUR data and see which wins —\na ranked bar chart with CI whiskers, params, and wall time per backbone.\nBackbones that can't process your data (window size, channel count) are\nnoted, not silently skipped. Each backbone embeds your\ntrials frozen (the exact foundation_features preprocessing), a LDA is\ncross-validated on the embeddings. Returns a PNG image PLUS a JSON text\nblock (and structuredContent.meta.results) with per-backbone accuracy,\nCI, embed dim, params, and time — pick the foundation_features backbone\nby measurement, not vibes.",
"inputSchema": {
"type": "object",
"required": [
"source"
],
"properties": {
"mode": {
"enum": [
"training",
"evaluation",
"all"
],
"type": "string",
"default": "all",
"description": "Pack split to load: training | evaluation | all (source=dataset)."
},
"path": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Upload path (source=upload) or absolute local path (source=local)."
},
"source": {
"enum": [
"dataset",
"upload",
"local"
],
"type": "string",
"description": "\"dataset\" (MOABB pack), \"upload\" (path from data.upload), or\n\"local\" (absolute path, local backend only)."
},
"dataset": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "MOABB dataset id, e.g. \"BNCI2014_001\" (source=dataset)."
},
"subject": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Subject id, e.g. \"S01\" (source=dataset)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"ok"
],
"properties": {
"ok": {
"type": "boolean"
},
"meta": {
"type": "object",
"description": "Figure sidecar. foundation.compare includes results/best/skipped (also as a JSON text content block).",
"additionalProperties": true
},
"title": {
"type": [
"string",
"null"
]
},
"mimeType": {
"type": "string"
},
"savedPath": {
"type": "string",
"description": "Set when save=true."
},
"sizeBytes": {
"type": "integer",
"description": "Set when save=true."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Nimbus Studio BCI tools. Typical flows: 0) Auth: Local Free needs NO Nimbus Studio login — templates, own data, local execution/plots/stats, BIDS export and local storage work anonymously against the local backend (desktop app / dev backend). account.whoami() shows the mode, account, plan, quota, and (token mode) token expiry. Login is requested ONLY at first cloud value: a tool returning {ok: false, loginRequired: true, trigger} names why and how to authenticate (nimbus-mcp login / NIMBUS_TOKEN) — surface that, do not pre-emptively ask for credentials. {ok: false, tierGate: true} means a hosted Pro feature on a free account. {ok: false, setupRequired: true} now only appears when a credential was rejected or no local identity exists — walk the user through the options in that payload. 1) Explore: catalog.nodes / catalog.node_schema / catalog.templates / catalog.template / catalog.datasets; catalog.leaderboard ranks benchmark pipelines per dataset (meanAccuracyPct desc) — pick templates by ranking there. 1b) INSPECT BEFORE BUILDING: data.inspect_dataset(dataset, subject) or data.inspect_file(path) show channels, class balance, flatlined channels, band powers — class balance drives stratification; units are ASSUMED volts (a µV-native CSV reads 1e6x large; set unitsScale in custom_data config when needed). 2) Build: compose a train graph ({nodes: [{id, type, config}], connections: [{from, to}]}), pipeline.validate it, then execution.run (non-blocking) and poll execution.get. 3) Sweeps: experiment.run (1-25 paced runs, <=2 concurrent) then poll experiment.get for per-run status and aggregated metrics (mean/std/best). 4) Results: execution.results (kappa, ITR, confusion matrix), execution.artifacts / execution.download_artifact, pipeline.export for a standalone zip. 4b) Share/audit: bids.export_dataset / bids.export_execution produce BIDS-layout zips with sha256 manifests. 4c) SEE the results: plots.confusion / plots.dataset / plots.erp / plots.leaderboard render PNG figures you can look at (not just JSON numbers); stats.grouped pools per-subject accuracies across runs into cluster-aware stats (t-interval + t-test vs chance) - the review-grade companion to execution.results. 5) Live (use with care): device.list, device.test, then stream.start(confirm=true) only with the user's explicit go-ahead — it connects an EEG device to a human session. An idle watchdog stops abandoned sessions; polling stream.status keeps them alive. stream.telemetry works with OR without a deployed model: modelless streams report signal quality + focus/relaxation band-power indicators (latestPrediction null). 6) Personal calibration: calibration.start(confirm=true) while the subject wears the device — the Studio app shows cues; calibration.status polls; calibration.train turns the recording into the subject's own classifier. 6b) Neurofeedback protocols: protocol.validate iterates the document (verdict data, no throw), protocol.save(confirm=true) versions it, protocol.list shows saved protocols with versions, protocol.start_assignment(confirm=true) enrolls a subject and prepares the deploy session (yoked sham arms need a donor recording upload); simulated-source sessions are free, live hardware requires Pro. Poll protocol.session_status, pause/resume/stop drive the session, protocol.export_stats gives paired pre/post stats + figure + CSV (inferential from 3 completed sessions). 7) BYO model code: python.validate(script) statically checks a python_model class (fit/predict contract, no execution), then run it via execution.run with the code inline in the node config (runtime auto|local|cloud — desktop app: isolated local worker; hosted web app: ephemeral cloud sandbox with optional per-run pip requirements); leaderboard.submit scores a model class server-side (LOSO). 8) Foundation-model lane: foundation_features(backbone=reve|labram|eegpt|cbra
Names, descriptions and schemas were written by the server and are shown as data.