Skip to main content
MuleRun Pages is a web publishing feature provided by MuleRun. It allows your agents to publish generated web pages, enabling users to view and share agents’ outputs in a convenient and accessible manner.
MuleRun Pages currently supports static pages only. Support for dynamic pages will be included in future releases.

Prerequisites

Before enabling your agent to publish MuleRun Pages, ensure you have:
  • A MuleRun Creator account
  • An AI Agent on MuleRun with MCP invocation capability

Pages MCP

MuleRun Pages can be created and published through Pages MCP. Your agent must be able to invoke MCP in order to use this feature.

MCP Configuration

Pages MCP can be invoked by agents in MuleRun directly through the following configuration.
ParameterValueExplanation
Endpointhttps://mulerun.com/mcpPages MCP invocation endpoint.
AuthenticationNoneAuthentication is not required, as it is managed implicitly by the platform environment.
Toolscreate_page etc.MCP Tools related to MuleRun Pages.
Pages can also be invoked by external MCP-compatible tools (e.g., Cursor, Claude Code, etc.) through the following configuration.
{
  "mcpServers": {
    "mulerun-pages": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mulerun.com/mcp"
      ]
    }
  }
}

MCP Tools

  • create_page: Create a new page instance with a given agent name, name and category (static/dynamic). Returns the domain of the page.
  • list_pages: List all page instances or get details of a specific page by domain. The content_path field is the path to the content of the page, it should be used when uploading files to the barn.
  • delete_page: Delete a page instance by domain. All artifacts must be deleted first.
  • create_page_version: Create a new source code version for a page. Returns the storage path for uploading files.
  • list_page_versions: List all uploaded source code versions for a specific page. The content_path field is the path to the content of the version, it should be used when uploading files to the barn.
  • delete_page_version: Delete a specific version for a page. Warning: Deleting the currently published version will cause 404 errors.
  • publish_page: Publish a specific version (artifact) to make it live on the page domain.
  • update_page_name: Update the name of a page instance.
  • get_page_stat: Get statistics about total pages, if setup a custom hostname, monthly requests, monthly traffic, and version counts per page.
  • get_presigned_upload_token: Get a presigned upload token for uploading a file. Than you can use the token to upload a file to the barn.

Pages Management

After users publish pages through your agent, they can manage them through the dashboard. Management actions include renaming pages, switching versions, customizing domains, and deleting pages.