@topolo/mcp 0.11.0 → 0.11.2
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 +8 -50
- package/dist/http.js +172 -172
- package/dist/index.js +113 -48
- package/package.json +8 -5
package/README.md
CHANGED
|
@@ -116,10 +116,18 @@ deletion, encryption, and audit storage for the data they own.
|
|
|
116
116
|
| `topolo_whoami` | (none) | no |
|
|
117
117
|
| `topolo_search_applications` | (none) | no |
|
|
118
118
|
| `topolo_get_application` | (none) | no |
|
|
119
|
+
| `topolo_get_resource_types` | credential-scoped | no |
|
|
120
|
+
| `topolo_list_resources` | credential-scoped | no |
|
|
119
121
|
| `topolo_search_actions` | (credential-scoped) | no |
|
|
122
|
+
| `topolo_discover_capabilities` | credential-scoped | no |
|
|
120
123
|
| `topolo_get_action` | (credential-scoped) | no |
|
|
124
|
+
| `topolo_get_action_examples` | credential-scoped | no |
|
|
125
|
+
| `topolo_validate_action` | credential-scoped | no |
|
|
126
|
+
| `topolo_plan_action` | credential-scoped | no |
|
|
127
|
+
| `topolo_prepare_action` | credential-scoped | no |
|
|
121
128
|
| `topolo_read_action` | catalog or target policy | no |
|
|
122
129
|
| `topolo_call_action` | catalog or target policy | yes |
|
|
130
|
+
| `topolo_upload_action` | catalog or target policy | yes |
|
|
123
131
|
| `topolo_list_workspaces` | target app runtime policy | no |
|
|
124
132
|
| `topolo_create_workspace` | target app runtime policy | yes |
|
|
125
133
|
| `topolo_rename_workspace` | target app runtime policy | yes |
|
|
@@ -208,54 +216,4 @@ sent.
|
|
|
208
216
|
disagrees with startup introspection (rare, but possible across scope
|
|
209
217
|
changes). Re-spawn the server to refresh the cached scope set.
|
|
210
218
|
|
|
211
|
-
## Development
|
|
212
|
-
|
|
213
|
-
```bash
|
|
214
|
-
cd TopoloMCP
|
|
215
|
-
npm install
|
|
216
|
-
npm run build
|
|
217
|
-
TOPOLO_API_KEY=topo_live_... node dist/index.js
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
The server speaks MCP over stdio; when running standalone it just blocks
|
|
221
|
-
waiting for JSON-RPC on stdin. To drive it manually, use the MCP Inspector:
|
|
222
|
-
|
|
223
|
-
```bash
|
|
224
|
-
npx @modelcontextprotocol/inspector node dist/index.js
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
## Release Flow
|
|
228
|
-
|
|
229
|
-
Agent packages are released locally from the `staging` branch after its package
|
|
230
|
-
gates pass. Publish in dependency order (`@topolo/sdk`, `@topolo/cli`, then
|
|
231
|
-
`@topolo/mcp`) so every public dependency already exists in the registry.
|
|
232
|
-
|
|
233
|
-
For each package, run its tests, typecheck, build, and tarball verification:
|
|
234
|
-
|
|
235
|
-
```bash
|
|
236
|
-
pnpm --dir packages/topolo-mcp test
|
|
237
|
-
pnpm --dir packages/topolo-mcp typecheck
|
|
238
|
-
pnpm --dir packages/topolo-mcp build
|
|
239
|
-
node tooling/verify-npm-package.mjs packages/topolo-mcp
|
|
240
|
-
```
|
|
241
|
-
|
|
242
|
-
The npm token is stored in the macOS Keychain under `registry.npmjs.org`. Use a
|
|
243
|
-
temporary npm config so the token is never written into the repository or
|
|
244
|
-
printed:
|
|
245
|
-
|
|
246
|
-
```bash
|
|
247
|
-
printf '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}\n' > /tmp/topolo-release.npmrc
|
|
248
|
-
NODE_AUTH_TOKEN="$(security find-generic-password -s registry.npmjs.org -w)" \
|
|
249
|
-
NPM_CONFIG_USERCONFIG=/tmp/topolo-release.npmrc \
|
|
250
|
-
sh -c 'cd packages/topolo-mcp && npm publish --access public'
|
|
251
|
-
```
|
|
252
|
-
|
|
253
|
-
After publishing, install exact versions into an empty temporary directory and
|
|
254
|
-
exercise the SDK exports, CLI version command, MCP exports, and `topolo-mcp`
|
|
255
|
-
executable before updating `topoloPublishedVersion`.
|
|
256
|
-
|
|
257
|
-
## Phase 2 (planned)
|
|
258
|
-
|
|
259
|
-
- Hosted action catalog administration in Developers UI.
|
|
260
|
-
- HTTP transport in addition to stdio, for hosted (non-subprocess) deployments.
|
|
261
219
|
- Optional `--provenance` on npm publish once the repo is public.
|