Runable v1.0.0-alpha.20
Why Runable? Docs Modules Work with AI Blog About Changelog
  • 01Why Runable?
  • 02Docs
  • 03Modules
  • 04Work with AI
  • 05Blog
  • 06About
  • 07Changelog
Vue without a fixed server runtime.
Getting Started Structure Integrations Guide MCP API
  • Getting Started Structure Integrations Guide MCP API
  • Installation
  • Client Setup
  • Tools
  • Security
  • Compatibility
  • Troubleshooting

MCP Installation

Install the project-local Runable MCP server and verify that it starts against the correct project.

Install the MCP package as a development dependency of the Runable project you want to inspect:

pnpm add -D @runablejs/mcp
npm install --save-dev @runablejs/mcp
yarn add --dev @runablejs/mcp
bun add --dev @runablejs/mcp

runable must already be installed in the same project. The MCP package deliberately does not bundle its own copy: it uses the project's runable/inspector export as its source of truth.

Start through the Runable CLI

Use the Runable CLI integration when configuring an MCP client:

runable mcp

The command resolves @runablejs/mcp from the current project and starts it over stdio. It does not install the package automatically.

Point it at another project with --cwd:

runable mcp --cwd /absolute/path/to/project

Use an absolute path in MCP client configuration. Clients do not always launch their child processes from the workspace directory.

Start the package directly

The package also provides its own executable:

runable-mcp --cwd /absolute/path/to/project

Use this form when the installed @runablejs/cli version does not include runable mcp.

Requirements

  • Node.js ^22.18.0 or >=24.12.0.
  • A local runable installation that exports runable/inspector.
  • An MCP client that supports local stdio servers.
  • A trusted Runable project. Resolving its configuration executes project-owned configuration and module setup code.

Check Compatibility before combining prerelease versions.

Verify the installation

The MCP command is a protocol process, not an interactive application. A successful process waits for MCP messages and may appear to do nothing when started directly.

After connecting a client, verify the setup in this order:

  1. Confirm that the server exposes eight tools.
  2. Call get_project.
  3. Check that rootDir is the intended project directory.
  4. Call get_routes and confirm that it returns the current pages.
  5. Call search_api with useAsyncData.

Continue with Client Setup to connect Codex, Claude Code, Cursor, or GitHub Copilot.

Report an issue Edit this page
MCP

Give AI coding agents a live, structured, and read-only view of a Runable project.

Client Setup

Connect the Runable MCP server to Codex, Claude Code, Cursor, or GitHub Copilot.

On this page

  • 1Start through the Runable CLI
  • 2Start the package directly
  • 3Requirements
  • 4Verify the installation
Runable

The Vue framework that brings productive conventions to any backend.

Product

  • Why Runable
  • Documentation
  • Installation
  • Integrations

Project

  • About
  • Blog
  • Changelog
  • Sponsor

Community

  • GitHub
  • Issues
  • Discussions
  • Bluesky

© 2026 Runable. Released under the MIT License.

Open source Built with Vue and Runable