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.| Parameter | Value | Explanation |
|---|---|---|
| Endpoint | https://mulerun.com/mcp | Pages MCP invocation endpoint. |
| Authentication | None | Authentication is not required, as it is managed implicitly by the platform environment. |
| Tools | create_page etc. | MCP Tools related to MuleRun Pages. |
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.