craft-ts-dev-page-mcp

Drives and inspects the open ng serve browser tab through the page MCP tool.

3|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/craft-ts/craft-ts --skill craft-ts-dev-page-mcp-craft-ts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: craft-ts-dev-page-mcp
Source: https://github.com/craft-ts/craft-ts/tree/main/.cursor/skills/craft-ts-dev-page-mcp
Command: npx skills add https://github.com/craft-ts/craft-ts --skill craft-ts-dev-page-mcp-craft-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coding agents often need to interact with a locally running Angular demo app—filling forms, clicking controls, navigating routes, or reading the current UI state—without launching a separate browser automation stack. This Skill lets the agent operate the tab the developer already has open via the page tool on the @craft-ts/function-registry-mcp server, avoiding Playwright or Chrome DevTools entirely. ## Core Features & Use Cases - Live tab interaction: Fill inputs, click controls, and navigate routes in the already-open ng serve tab using data-craft-name ids, with single round-trip act batches. - State inspection: Read the current page surface at controls detail by default, or dom-styles detail when debugging visual and CSS layout bugs. - Reload and multi-tab handling: Waits through ng serve reloads (reloading → ready), disambiguates multiple ready tabs via registry.clients, and recovers from disconnected client errors. - Use Case: While fixing a login form bug, ask the agent to goto /login-form, fill the email and password fields, click submit, and report the resulting page state—all in the tab you are already watching. ## Quick Start Ask the agent to use the page MCP tool to navigate to the login-form route in the open tab, fill in the email and password fields, click submit, and report the new page state.

Frequently Asked Questions about craft-ts-dev-page-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fill and submit a form in the open ng serve tab?▼

Call the page tool with an act array containing a goto step for the route, fill steps using the control id values from the page surface, and a final step with only the submit button id. One round-trip performs the actions and returns the new state.

What MCP tool controls an already-open browser tab instead of Playwright?▼

The page tool on the @craft-ts/function-registry-mcp server drives the tab the developer already has open. It is started with npm run registry:mcp and is preferred over Playwright or Chrome DevTools for that tab.

How do I handle multiple ready page clients in the page MCP tool?▼

Call registry.clients to list connected tabs with their id, status, and url, then pass the desired clientId to the page call. Never guess which tab is the latest; omit clientId only when exactly one tab is ready.

Why does the page tool report a reloading state during ng serve?▼

The page tool waits through ng serve reloads, transitioning from reloading back to ready automatically. Do not poll during reloading; a timeout message shows how long the tab has been reloading and its last url.

When should I use registry.call instead of the page tool?▼

Use page to behave like a user through the UI, and use registry.query.update, registry.call, or registry.override to mutate primitives directly without the UI. Do not use registry.call to trigger a button handler as a substitute for clicking.