@stigmer/mcp-server 3.11.0 → 3.12.0

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.
Files changed (99) hide show
  1. package/README.md +4 -22
  2. package/cli/mcp-server-stigmer.js +11 -11
  3. package/config.d.ts +1 -5
  4. package/config.d.ts.map +1 -1
  5. package/config.js +2 -2
  6. package/config.js.map +1 -1
  7. package/domains/resourceuri.d.ts.map +1 -1
  8. package/domains/resourceuri.js +0 -1
  9. package/domains/resourceuri.js.map +1 -1
  10. package/domains/search/tools.d.ts.map +1 -1
  11. package/domains/search/tools.js +4 -5
  12. package/domains/search/tools.js.map +1 -1
  13. package/gen/agent.d.ts +1 -57
  14. package/gen/agent.d.ts.map +1 -1
  15. package/gen/agent.js +5 -28
  16. package/gen/agent.js.map +1 -1
  17. package/gen/environment.d.ts +1 -1
  18. package/gen/environment.d.ts.map +1 -1
  19. package/gen/environment.js +3 -3
  20. package/gen/environment.js.map +1 -1
  21. package/gen/mcpserver.d.ts +1 -1
  22. package/gen/mcpserver.d.ts.map +1 -1
  23. package/gen/mcpserver.js +7 -7
  24. package/gen/mcpserver.js.map +1 -1
  25. package/gen/workflow.d.ts +3 -3
  26. package/gen/workflow.d.ts.map +1 -1
  27. package/gen/workflow.js +34 -34
  28. package/gen/workflow.js.map +1 -1
  29. package/index.d.ts +1 -1
  30. package/index.d.ts.map +1 -1
  31. package/index.js +1 -1
  32. package/index.js.map +1 -1
  33. package/package.json +3 -3
  34. package/server.d.ts +6 -18
  35. package/server.d.ts.map +1 -1
  36. package/server.js +6 -36
  37. package/server.js.map +1 -1
  38. package/src/config.ts +3 -7
  39. package/src/domains/apply.integration.test.ts +3 -40
  40. package/src/domains/deletes.integration.test.ts +1 -25
  41. package/src/domains/reads.integration.test.ts +1 -18
  42. package/src/domains/resources.integration.test.ts +0 -18
  43. package/src/domains/resourceuri.test.ts +0 -2
  44. package/src/domains/resourceuri.ts +0 -1
  45. package/src/domains/search/search.integration.test.ts +3 -5
  46. package/src/domains/search/tools.ts +4 -5
  47. package/src/gen/agent.ts +5 -32
  48. package/src/gen/environment.ts +3 -3
  49. package/src/gen/mcpserver.ts +7 -7
  50. package/src/gen/workflow.ts +34 -34
  51. package/src/http.integration.test.ts +2 -3
  52. package/src/index.ts +0 -2
  53. package/src/server.ts +6 -36
  54. package/domains/datastores/apply.d.ts +0 -4
  55. package/domains/datastores/apply.d.ts.map +0 -1
  56. package/domains/datastores/apply.js +0 -28
  57. package/domains/datastores/apply.js.map +0 -1
  58. package/domains/datastores/delete.d.ts +0 -3
  59. package/domains/datastores/delete.d.ts.map +0 -1
  60. package/domains/datastores/delete.js +0 -38
  61. package/domains/datastores/delete.js.map +0 -1
  62. package/domains/datastores/fetch.d.ts +0 -3
  63. package/domains/datastores/fetch.d.ts.map +0 -1
  64. package/domains/datastores/fetch.js +0 -23
  65. package/domains/datastores/fetch.js.map +0 -1
  66. package/domains/datastores/resources.d.ts +0 -5
  67. package/domains/datastores/resources.d.ts.map +0 -1
  68. package/domains/datastores/resources.js +0 -16
  69. package/domains/datastores/resources.js.map +0 -1
  70. package/domains/datastores/tools.d.ts +0 -5
  71. package/domains/datastores/tools.d.ts.map +0 -1
  72. package/domains/datastores/tools.js +0 -46
  73. package/domains/datastores/tools.js.map +0 -1
  74. package/domains/records/calls.d.ts +0 -48
  75. package/domains/records/calls.d.ts.map +0 -1
  76. package/domains/records/calls.js +0 -118
  77. package/domains/records/calls.js.map +0 -1
  78. package/domains/records/errors.d.ts +0 -24
  79. package/domains/records/errors.d.ts.map +0 -1
  80. package/domains/records/errors.js +0 -79
  81. package/domains/records/errors.js.map +0 -1
  82. package/domains/records/tools.d.ts +0 -7
  83. package/domains/records/tools.d.ts.map +0 -1
  84. package/domains/records/tools.js +0 -139
  85. package/domains/records/tools.js.map +0 -1
  86. package/gen/datastore.d.ts +0 -861
  87. package/gen/datastore.d.ts.map +0 -1
  88. package/gen/datastore.js +0 -267
  89. package/gen/datastore.js.map +0 -1
  90. package/src/domains/datastores/apply.ts +0 -33
  91. package/src/domains/datastores/delete.ts +0 -47
  92. package/src/domains/datastores/fetch.ts +0 -32
  93. package/src/domains/datastores/resources.ts +0 -21
  94. package/src/domains/datastores/tools.ts +0 -76
  95. package/src/domains/records/calls.ts +0 -209
  96. package/src/domains/records/errors.ts +0 -98
  97. package/src/domains/records/records.integration.test.ts +0 -313
  98. package/src/domains/records/tools.ts +0 -210
  99. 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
- environments, and datastores** as MCP tools and resources — covering both the
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 (38)
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, environments, and datastores; results are enriched with `stigmer://` resource URIs. |
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
- ### Datastore records
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