Workspace Intelligence / JSON Schema
Workspai MCP Design
Defines the versioned mcp design v1 boundary used by Workspai and its consumers.
- Schema version
workspai-mcp-design.v1- Contract path
contracts/workspace-intelligence/mcp-design.v1.json- Publication
- json-schema
- Defined fields
- 15
- Artifact bindings
- 2
Why this contract exists
Architecture role
Projects workspace intelligence into stable grounding surfaces for agents and integrations.
Consumption boundary
- • Workspai CLI
- • AI agents
- • IDEs and MCP clients
Related commands
Commands are linked only when the runtime contract identifies a direct production relationship. Supporting contracts may be consumed without having a single producer command.
Produced artifacts
These durable files are emitted by registered commands and validated against this contract.
| Artifact path | Schema | Producer |
|---|---|---|
| .workspai/reports/rapidkit-mcp-design.json | workspai-mcp-design.v1 | workspai workspace agent-sync --write |
| .workspai/reports/workspai-mcp-design.json | workspai-mcp-design.v1 | workspai workspace agent-sync --write |
Field reference
Every declared schema property or published capability path is listed here. Required means the contract declares or publishes that field at the shown boundary.
| Field path | Type | Required | Meaning | Constraints |
|---|---|---|---|---|
| candidateTools | array | Yes | Defines the candidatetools value at this contract boundary. | — |
| generatedAt | string | Yes | Defines the generatedat value at this contract boundary. | format: date-time |
| mode | string | Yes | Defines the mode value at this contract boundary. | const: "read-mostly" |
| plannedTools | array | Yes | Defines the plannedtools value at this contract boundary. | — |
| runtime | object | Yes | Defines the runtime value at this contract boundary. | additionalProperties: false |
| runtime.command | string | Yes | Defines the command value at this contract boundary. | minLength: 1 |
| runtime.lifecycle | string | Yes | Defines the lifecycle value at this contract boundary. | const: "dual-era" |
| runtime.structuredContent | boolean | Yes | Defines the structuredcontent value at this contract boundary. | const: true |
| runtime.supportedProtocolVersions | array | Yes | Defines the supportedprotocolversions value at this contract boundary. | minItems: 1 |
| runtime.toolExecutionErrors | boolean | Yes | Defines the toolexecutionerrors value at this contract boundary. | const: true |
| runtime.transport | string | Yes | Defines the transport value at this contract boundary. | const: "stdio-jsonrpc" |
| safety | object | Yes | Defines the safety value at this contract boundary. | — |
| schemaVersion | string | Yes | Defines the schemaversion value at this contract boundary. | const: "workspai-mcp-design.v1" |
| status | string | Yes | Defines the status value at this contract boundary. | const: "implemented" |
| workspaceRoot | string | Yes | Defines the workspaceroot value at this contract boundary. | minLength: 1 |
Canonical machine-readable definition
The raw synchronized contract remains authoritative. The educational sections above are projections of this definition.
Show raw JSON
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://workspai.dev/schemas/workspace-intelligence/mcp-design.v1.json",
"title": "Workspai MCP Design",
"type": "object",
"required": [
"schemaVersion",
"generatedAt",
"workspaceRoot",
"status",
"mode",
"runtime",
"safety",
"candidateTools",
"plannedTools"
],
"properties": {
"schemaVersion": {
"const": "workspai-mcp-design.v1"
},
"generatedAt": {
"type": "string",
"format": "date-time"
},
"workspaceRoot": {
"type": "string",
"minLength": 1
},
"status": {
"const": "implemented"
},
"mode": {
"const": "read-mostly"
},
"runtime": {
"type": "object",
"required": [
"command",
"transport",
"lifecycle",
"supportedProtocolVersions",
"structuredContent",
"toolExecutionErrors"
],
"properties": {
"command": {
"type": "string",
"minLength": 1
},
"transport": {
"const": "stdio-jsonrpc"
},
"lifecycle": {
"const": "dual-era"
},
"supportedProtocolVersions": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
},
"uniqueItems": true,
"minItems": 1
},
"structuredContent": {
"const": true
},
"toolExecutionErrors": {
"const": true
}
},
"additionalProperties": false
},
"safety": {
"type": "object"
},
"candidateTools": {
"type": "array",
"items": {
"type": "object"
}
},
"plannedTools": {
"type": "array",
"items": {
"type": "object"
}
}
},
"additionalProperties": true
}