Step 4 of 8

Phase 3 — MCP

Time: ~15 minutes
Prerequisites: Phase 1 complete; you chose "In my agent or IDE" or want MCP
You'll need: Understanding of Model Context Protocol; optional: an MCP client

This phase introduces the Restormel MCP tool surface. Tool schemas are defined in @restormel/mcp; runtime is available via the stdio server binary restormel-mcp (and optional custom transports via createRestormelMcpServer()).

Step 3.1 — Understand the tool surface

Tools defined: models.list, providers.validate, cost.estimate, routing.explain, entitlements.check, integration.generate, docs.search. See MCP reference for full schema details.

Step 3.2 — Install the MCP package (schemas)

CLI
pnpm add @restormel/mcp
TypeScript
import { ALL_TOOLS, modelsListTool } from "@restormel/mcp";

Use these to build or customise an MCP server (e.g. with @modelcontextprotocol/sdk). You can also run the provided stdio server binary: pnpm exec restormel-mcp.

Step 3.3 — Dashboard

In Dashboard → Developer Tools → MCP you can see connection status, available tools, and recent calls when wired. For now the tab shows the tool list and links to the MCP setup guide.

How to test: You have @restormel/mcp installed and can import ALL_TOOLS.

Prompts for this phase

Optional. Use if a coding agent should install @restormel/mcp and verify imports.

Checkpoint

You now have clarity on the MCP tool surface, @restormel/mcp installed and importable, and the Dashboard MCP tab bookmarked.