@typeroll/mcp-server 0.45.22 → 0.45.24
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/AGENTS.md +18 -0
- package/README.md +26 -11
- package/dist/bundled-content.js +4 -4
- package/dist/client.js +4 -0
- package/dist/compact-tools.js +40 -0
- package/dist/index.js +36 -1
- package/dist/init.js +40 -239
- package/dist/install-skills.js +2 -2
- package/dist/server.js +41 -32
- package/dist/tools/pages.js +3 -1
- package/dist/tools/settings.js +2 -1
- package/dist/tools/sites.js +10 -0
- package/dist/tools/skills.js +20 -2
- package/dist/version.js +1 -1
- package/dist/workspace.js +183 -0
- package/package.json +4 -3
- package/skills/README.md +18 -25
- package/skills/tr-new-site.md +20 -4
- package/skills/tr-responsive.md +22 -0
package/AGENTS.md
CHANGED
|
@@ -7,6 +7,14 @@ what tools to reach for first.
|
|
|
7
7
|
If anything below conflicts with what you observe in the tools, trust the
|
|
8
8
|
tools — the platform may have moved since this was written.
|
|
9
9
|
|
|
10
|
+
**Keep context proportional.** Compact connections expose search_tools,
|
|
11
|
+
describe_tool and separate call_read_tool/call_write_tool/call_admin_tool wrappers.
|
|
12
|
+
Discover the specific tool, read its schema, then call it. Use read_guide with
|
|
13
|
+
sections_only=true and section=<id> rather than loading this whole guide at every
|
|
14
|
+
session. Full mode retains named tools. Load only relevant recipes and app guides.
|
|
15
|
+
The local agent-neutral workspace is project intent, not the generated publishing
|
|
16
|
+
repository; current CMS content remains authoritative.
|
|
17
|
+
|
|
10
18
|
**Start here for site-shaped tasks.** When the user wants to build,
|
|
11
19
|
migrate, redesign, or brand a site, call `list_skills` first — the server
|
|
12
20
|
advertises its own step-by-step playbook (`tr-new-site`, `tr-migrate-wp`,
|
|
@@ -1139,3 +1147,13 @@ Batch page writes accept `answer_sources` on each operation beside `patch` and
|
|
|
1139
1147
|
`import_run_id` may be supplied; identity/authority is assigned by Core. Keyed
|
|
1140
1148
|
paths such as `programs/@stable~1a/online` survive batch save. Imported evidence
|
|
1141
1149
|
never authorizes overwriting an existing owner answer.
|
|
1150
|
+
|
|
1151
|
+
|
|
1152
|
+
### Native presentation in Core 0.2.28
|
|
1153
|
+
|
|
1154
|
+
Read `tr-responsive` for site-specific `responsive_breakpoints`; five breakpoint
|
|
1155
|
+
names remain stable. Prose supports typed typography/alignment, containers have
|
|
1156
|
+
responsive `min_height_px`, and Post Card supports an action group and optional
|
|
1157
|
+
title icon. Use `read_block_type` for the exact current schemas. Set a Page's
|
|
1158
|
+
`breadcrumb_label` for a short navigation label without changing its title or
|
|
1159
|
+
route. Do not duplicate parent category information into each article body.
|
package/README.md
CHANGED
|
@@ -81,11 +81,12 @@ client using it stops working immediately.
|
|
|
81
81
|
For a self-hosted portal, point `TYPEROLL_API_URL` at it (e.g.
|
|
82
82
|
`https://cms.example.com`).
|
|
83
83
|
|
|
84
|
-
For
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
`
|
|
84
|
+
For an optional agent-neutral workspace, run
|
|
85
|
+
`npx @typeroll/mcp-server init ./my-site`. It creates project instructions,
|
|
86
|
+
briefs, decisions and QA files. Local client configuration is opt-in with
|
|
87
|
+
`--client claude|cursor|vscode`; recipes are opt-in with `--recipes`.
|
|
88
|
+
Use `--update` to upgrade unchanged generated files while preserving edits.
|
|
89
|
+
See [Agent workspace](https://typeroll.com/docs/getting-started/agent-workspace/).
|
|
89
90
|
|
|
90
91
|
3. **Tell the agent what kind of work you want.** A good first message:
|
|
91
92
|
|
|
@@ -132,7 +133,8 @@ the complete schema, compatibility, origin and asset-hash validation.
|
|
|
132
133
|
The package ships [AGENTS.md](./AGENTS.md), a self-contained briefing
|
|
133
134
|
that explains Typeroll conventions, common operations, and the safety
|
|
134
135
|
boundaries an agent needs to respect. Point your agent at it or use the
|
|
135
|
-
`read_guide` tool
|
|
136
|
+
`read_guide` tool with `sections_only: true`, then request relevant sections.
|
|
137
|
+
Follow the client’s own instructions for loading local recipes.
|
|
136
138
|
|
|
137
139
|
## Tool surface
|
|
138
140
|
|
|
@@ -141,11 +143,9 @@ the full reference + concrete operation recipes.
|
|
|
141
143
|
|
|
142
144
|
- **Skills + guide (self-describing playbook)** — `read_guide`,
|
|
143
145
|
`list_skills`, `read_skill`. The server advertises its own operating
|
|
144
|
-
guide
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
— the bridge for the hosted connector, which can't read the file off
|
|
148
|
-
disk. `list_skills` then surfaces the task recipes (`tr-new-site`,
|
|
146
|
+
guide and bundled recipes at runtime without requiring local copies.
|
|
147
|
+
`read_guide` supports a section index and individual sections; use the full
|
|
148
|
+
manual only when the task needs it. `list_skills` then surfaces the task recipes (`tr-new-site`,
|
|
149
149
|
`tr-migrate-wp`, `tr-brand`, `tr-responsive`, …); `read_skill name=…`
|
|
150
150
|
loads one. All pure local reads — no API key or site context — so they
|
|
151
151
|
work identically on the hosted connector and over stdio.
|
|
@@ -293,3 +293,18 @@ documented in [`docs/v1-api.md`](../../docs/v1-api.md).
|
|
|
293
293
|
MIT — see [LICENSE](../../LICENSE).
|
|
294
294
|
|
|
295
295
|
Use `read_app_documentation` to discover instructions for the selected site’s enabled modules and Extensions. Private app guides are fetched only for enabled installations using the provider’s authenticated documentation contract; they are not bundled in MCP. Generic discovery requires Core 0.2.8; protected guides require the app-separation release.
|
|
296
|
+
|
|
297
|
+
## Agent workspace and compact discovery
|
|
298
|
+
|
|
299
|
+
MCP 0.45.23 introduces an agent-neutral `typeroll init` workspace, optional
|
|
300
|
+
client adapters, safe hash-based `init --update`, and read-only `typeroll doctor`.
|
|
301
|
+
Use `workspace-mcp` to bind local calls to `typeroll.json`; no credentials are
|
|
302
|
+
stored there. Recipes are optional rather than automatically injected.
|
|
303
|
+
|
|
304
|
+
Compact mode exposes five discovery/execution tools instead of every schema.
|
|
305
|
+
Choose `?tools=compact` on the hosted endpoint (Core 0.2.27+), `tool_mode` in the
|
|
306
|
+
workspace, or `TYPEROLL_MCP_TOOL_MODE=compact` for legacy stdio. Full mode remains
|
|
307
|
+
available. Read/write/admin wrappers share normal validation and authorization.
|
|
308
|
+
|
|
309
|
+
See [Agent workspace](https://typeroll.com/docs/getting-started/agent-workspace/)
|
|
310
|
+
for the folder layout, commands, version requirements and context-budget advice.
|