@stigmer/mcp-server 3.11.1-dev.20260812192248 → 3.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -22
- package/cli/mcp-server-stigmer.js +11 -11
- package/config.d.ts +1 -5
- package/config.d.ts.map +1 -1
- package/config.js +2 -2
- package/config.js.map +1 -1
- package/domains/agents/apply.d.ts.map +1 -1
- package/domains/agents/apply.js +4 -1
- package/domains/agents/apply.js.map +1 -1
- package/domains/apply-visibility.d.ts +19 -0
- package/domains/apply-visibility.d.ts.map +1 -0
- package/domains/apply-visibility.js +34 -0
- package/domains/apply-visibility.js.map +1 -0
- package/domains/environments/apply.d.ts.map +1 -1
- package/domains/environments/apply.js +4 -1
- package/domains/environments/apply.js.map +1 -1
- package/domains/mcpservers/apply.d.ts.map +1 -1
- package/domains/mcpservers/apply.js +4 -1
- package/domains/mcpservers/apply.js.map +1 -1
- package/domains/resourceuri.d.ts.map +1 -1
- package/domains/resourceuri.js +0 -1
- package/domains/resourceuri.js.map +1 -1
- package/domains/search/tools.d.ts.map +1 -1
- package/domains/search/tools.js +4 -5
- package/domains/search/tools.js.map +1 -1
- package/domains/workflows/apply.d.ts.map +1 -1
- package/domains/workflows/apply.js +4 -1
- package/domains/workflows/apply.js.map +1 -1
- package/gen/agent.d.ts +0 -56
- package/gen/agent.d.ts.map +1 -1
- package/gen/agent.js +2 -25
- package/gen/agent.js.map +1 -1
- package/gen/environment.js +1 -1
- package/gen/environment.js.map +1 -1
- package/gen/mcpserver.js +1 -1
- package/gen/mcpserver.js.map +1 -1
- package/gen/workflow.d.ts +2 -2
- package/gen/workflow.js +1 -1
- package/gen/workflow.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/server.d.ts +6 -18
- package/server.d.ts.map +1 -1
- package/server.js +6 -36
- package/server.js.map +1 -1
- package/src/config.ts +3 -7
- package/src/domains/agents/apply.ts +10 -1
- package/src/domains/apply-visibility.ts +47 -0
- package/src/domains/apply.integration.test.ts +58 -41
- package/src/domains/deletes.integration.test.ts +1 -25
- package/src/domains/environments/apply.ts +10 -1
- package/src/domains/mcpservers/apply.ts +10 -1
- package/src/domains/reads.integration.test.ts +1 -18
- package/src/domains/resources.integration.test.ts +0 -18
- package/src/domains/resourceuri.test.ts +0 -2
- package/src/domains/resourceuri.ts +0 -1
- package/src/domains/search/search.integration.test.ts +3 -5
- package/src/domains/search/tools.ts +4 -5
- package/src/domains/workflows/apply.ts +10 -1
- package/src/gen/agent.ts +2 -29
- package/src/gen/environment.ts +1 -1
- package/src/gen/mcpserver.ts +1 -1
- package/src/gen/workflow.ts +1 -1
- package/src/http.integration.test.ts +2 -3
- package/src/index.ts +0 -2
- package/src/server.ts +6 -36
- package/domains/datastores/apply.d.ts +0 -4
- package/domains/datastores/apply.d.ts.map +0 -1
- package/domains/datastores/apply.js +0 -28
- package/domains/datastores/apply.js.map +0 -1
- package/domains/datastores/delete.d.ts +0 -3
- package/domains/datastores/delete.d.ts.map +0 -1
- package/domains/datastores/delete.js +0 -38
- package/domains/datastores/delete.js.map +0 -1
- package/domains/datastores/fetch.d.ts +0 -3
- package/domains/datastores/fetch.d.ts.map +0 -1
- package/domains/datastores/fetch.js +0 -23
- package/domains/datastores/fetch.js.map +0 -1
- package/domains/datastores/resources.d.ts +0 -5
- package/domains/datastores/resources.d.ts.map +0 -1
- package/domains/datastores/resources.js +0 -16
- package/domains/datastores/resources.js.map +0 -1
- package/domains/datastores/tools.d.ts +0 -5
- package/domains/datastores/tools.d.ts.map +0 -1
- package/domains/datastores/tools.js +0 -46
- package/domains/datastores/tools.js.map +0 -1
- package/domains/records/calls.d.ts +0 -48
- package/domains/records/calls.d.ts.map +0 -1
- package/domains/records/calls.js +0 -118
- package/domains/records/calls.js.map +0 -1
- package/domains/records/errors.d.ts +0 -24
- package/domains/records/errors.d.ts.map +0 -1
- package/domains/records/errors.js +0 -79
- package/domains/records/errors.js.map +0 -1
- package/domains/records/tools.d.ts +0 -7
- package/domains/records/tools.d.ts.map +0 -1
- package/domains/records/tools.js +0 -139
- package/domains/records/tools.js.map +0 -1
- package/gen/datastore.d.ts +0 -861
- package/gen/datastore.d.ts.map +0 -1
- package/gen/datastore.js +0 -267
- package/gen/datastore.js.map +0 -1
- package/src/domains/datastores/apply.ts +0 -33
- package/src/domains/datastores/delete.ts +0 -47
- package/src/domains/datastores/fetch.ts +0 -32
- package/src/domains/datastores/resources.ts +0 -21
- package/src/domains/datastores/tools.ts +0 -76
- package/src/domains/records/calls.ts +0 -209
- package/src/domains/records/errors.ts +0 -98
- package/src/domains/records/records.integration.test.ts +0 -313
- package/src/domains/records/tools.ts +0 -210
- package/src/gen/datastore.ts +0 -264
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A [Model Context Protocol](https://modelcontextprotocol.io) server for the
|
|
4
4
|
Stigmer platform. It exposes Stigmer **agents, skills, MCP servers, workflows,
|
|
5
|
-
|
|
5
|
+
and environments** as MCP tools and resources — covering both the
|
|
6
6
|
authoring loop (create, read, update, delete, version) and the execution loop
|
|
7
7
|
(run, observe, approve, cancel) — so any MCP-capable client (Claude Desktop,
|
|
8
8
|
Cursor, the Stigmer CLI, etc.) can build on Stigmer through a uniform protocol.
|
|
@@ -40,13 +40,13 @@ MCP client ──JSON-RPC──▶ stdio | HTTP session ──▶ tool handler
|
|
|
40
40
|
flattening, oneof / `task_config` expansion) are produced at build time by the
|
|
41
41
|
codegen in `tools/codegen/generator/mcp_ts.go`. Never hand-edit `src/gen/`.
|
|
42
42
|
|
|
43
|
-
## Tools (
|
|
43
|
+
## Tools (30)
|
|
44
44
|
|
|
45
45
|
### Discovery
|
|
46
46
|
|
|
47
47
|
| Tool | Description |
|
|
48
48
|
| --- | --- |
|
|
49
|
-
| `search` | Search across agents, skills, MCP servers, workflows,
|
|
49
|
+
| `search` | Search across agents, skills, MCP servers, workflows, and environments; results are enriched with `stigmer://` resource URIs. |
|
|
50
50
|
|
|
51
51
|
### Authoring
|
|
52
52
|
|
|
@@ -72,9 +72,6 @@ MCP client ──JSON-RPC──▶ stdio | HTTP session ──▶ tool handler
|
|
|
72
72
|
| `get_environment` | Read an environment (secret values arrive server-redacted). |
|
|
73
73
|
| `apply_environment` | Create or update an environment; echoing `***REDACTED***` preserves existing secrets. |
|
|
74
74
|
| `delete_environment` | Delete an environment. |
|
|
75
|
-
| `get_datastore` | Read a datastore definition (collections, constraints, grants). |
|
|
76
|
-
| `apply_datastore` | Create or update a datastore definition (structure only, never records). |
|
|
77
|
-
| `delete_datastore` | Delete a datastore and all records in it. |
|
|
78
75
|
|
|
79
76
|
### Execution
|
|
80
77
|
|
|
@@ -93,21 +90,7 @@ ID and the assistant polls the observation tools.
|
|
|
93
90
|
| `submit_workflow_task_approval` | Submit a reviewer decision (outcome + optional form data) for a workflow task. |
|
|
94
91
|
| `cancel_execution` | Gracefully cancel an agent (`aex_*`) or workflow (`wex_*`) execution by ID prefix. |
|
|
95
92
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
Registered on the full roster with an `org` argument; a records-only roster
|
|
99
|
-
(`STIGMER_MCP_ROSTER=records`, HTTP `/records` route) serves the same five tools
|
|
100
|
-
with the agent-facing surface and nothing else.
|
|
101
|
-
|
|
102
|
-
| Tool | Description |
|
|
103
|
-
| --- | --- |
|
|
104
|
-
| `describe_datastore` | Collections, fields, constraints, and the caller's allowed verbs. |
|
|
105
|
-
| `find_records` | Typed filter query with ordering and paging. |
|
|
106
|
-
| `insert_record` | Insert one record. |
|
|
107
|
-
| `update_record` | Partial-merge update by id. |
|
|
108
|
-
| `delete_record` | Delete one record by id. |
|
|
109
|
-
|
|
110
|
-
## Resources (7)
|
|
93
|
+
## Resources (6)
|
|
111
94
|
|
|
112
95
|
Resource templates let clients discover and read resources by `stigmer://` URI:
|
|
113
96
|
|
|
@@ -119,7 +102,6 @@ Resource templates let clients discover and read resources by `stigmer://` URI:
|
|
|
119
102
|
| `stigmer_skill_version` | `stigmer://skills/{org}/{slug}/{version}` |
|
|
120
103
|
| `stigmer_workflow` | `stigmer://workflows/{org}/{slug}` |
|
|
121
104
|
| `stigmer_environment` | `stigmer://environments/{org}/{slug}` |
|
|
122
|
-
| `stigmer_datastore` | `stigmer://datastores/{org}/{slug}` |
|
|
123
105
|
|
|
124
106
|
## Configuration
|
|
125
107
|
|