> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runlayer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Build Custom MCPs with MCP Builder

> Use Runlayer MCP plus MCP Builder prompt to scaffold custom MCP servers fast.

Use Runlayer MCP to create and deploy custom MCP servers with minimal setup. MCP Builder handles the scaffolding for you and uses Runlayer Deploy under the hood.

<Note>
  Keep the `runlayer` MCP server enabled in your client before starting.
</Note>

## Steps

<Steps>
  <Step title="Open Runlayer MCP in Runlayer">
    Open Connectors page, select <b>Runlayer MCP</b> connector and click <b>Add to Client</b>.

    <img className="block" src="https://mintcdn.com/anysource/6y8VzDSWjckfUDpB/images/mcp-custom-servers/runlayer-connector-details.png?fit=max&auto=format&n=6y8VzDSWjckfUDpB&q=85&s=63613d13a812815df5878303f96bef27" alt="Runlayer connector details page with Add to Client button" width="2550" height="2198" data-path="images/mcp-custom-servers/runlayer-connector-details.png" />
  </Step>

  <Step title="Confirm Runlayer MCP is installed in your client">
    Open client MCP settings and verify `runlayer` is listed and enabled.

    <img className="block" src="https://mintcdn.com/anysource/6y8VzDSWjckfUDpB/images/mcp-custom-servers/cursor-runlayer-mcp-installed.png?fit=max&auto=format&n=6y8VzDSWjckfUDpB&q=85&s=ec1fc05b7dea29ca5c7c9614c8628cf6" alt="Cursor MCP settings showing runlayer installed" width="3770" height="2504" data-path="images/mcp-custom-servers/cursor-runlayer-mcp-installed.png" />
  </Step>

  <Step title="Use MCP Builder prompt">
    Start a new chat and use `/runlayer/mcp-builder` with your server goal.

    Example:

    ```text theme={null}
    /runlayer/mcp-builder Create an MCP server that returns current time. Use TypeScript and include files needed for deploy.
    ```

    <img className="block" src="https://mintcdn.com/anysource/6y8VzDSWjckfUDpB/images/mcp-custom-servers/mcp-builder-prompt-example.png?fit=max&auto=format&n=6y8VzDSWjckfUDpB&q=85&s=b86306703deff8d3db739920102f3275" alt="Chat showing MCP Builder prompt flow" width="3770" height="2504" data-path="images/mcp-custom-servers/mcp-builder-prompt-example.png" />
  </Step>

  <Step title="Iterate and ship">
    Keep working in the same thread: ask MCP Builder to validate, fix, and refine until done.
  </Step>
</Steps>

## Prompt ideas

<AccordionGroup>
  <Accordion title="Internal support server">
    ```text theme={null}
    /runlayer/mcp-builder Build an internal support MCP server that calls our backend API to fetch customer account status, recent incidents, and subscription plan.
    ```
  </Accordion>

  <Accordion title="Customer troubleshooting server">
    ```text theme={null}
    /runlayer/mcp-builder Build a customer troubleshooting MCP server with tools: get_user_by_email, list_recent_errors, and summarize_common_failures. Data comes from our internal APIs only.
    ```
  </Accordion>

  <Accordion title="Operations server">
    ```text theme={null}
    /runlayer/mcp-builder Build an operations MCP server for our team to check deployment status, feature flags, and audit events from our platform API with strict input validation.
    ```
  </Accordion>
</AccordionGroup>

## Need advanced setup?

Runlayer MCP Builder uses Runlayer Deploy under the hood. If you want more control over deployment and configuration, see [Custom MCP Servers](/platform-deploy).

## Other clients

Same flow works in Cursor, Codex, Claude Code, and OpenCode: keep Runlayer MCP enabled, and call `mcp-builder` prompt.
