MetorialDocs

Set up Plasmic in Metorial for Claude, ChatGPT and Cursor

Share Plasmic with your team in Claude, ChatGPT and Cursor through Metorial: project & CMS credentials sign-in, 12 tools (6 read-only).

To give your team Plasmic in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Plasmic integration in a Metorial portal, and each person connects with project & CMS credentials. Agents can render Plasmic-designed pages and components as HTML, access project models, and manage CMS content. The integration has 12 tools, 6 read-only, 5 write and 1 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares Plasmic in a portal and how each person connects
  • What Plasmic asks for when you connect, and where to find it
  • How to keep the 6 read-only tools and reject the other 6

Before you start

Sign-in method

MethodTypeWhat a person provides
Project & CMS CredentialsCustom credentialsprojectId, projectToken, projectSecretToken, cmsId, cmsPublicToken and cmsSecretToken

Project & CMS Credentials

To connect, a person enters these values:

  • projectId (optional): Plasmic project ID
  • projectToken (optional): Public API token for the project (for read/render operations)
  • projectSecretToken (optional): Secret API token for the project (for write operations, enterprise only)
  • cmsId (optional): CMS database ID
  • cmsPublicToken (optional): CMS public token (for read operations)
  • cmsSecretToken (optional): CMS secret token (for write operations)

Admin: share Plasmic in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Plasmic. For how members connect, choose Each person connects so everyone enters their own project & CMS credentials, or Shared connection to enter the project & CMS credentials once for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Plasmic.

Choose who gets it

Add the access groups that should see Plasmic. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Plasmic integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search plasmic

Employee: connect Plasmic

In the portal

Open Plasmic in the catalog

Sign in to your portal and open Plasmic. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your project & CMS credentials (projectId).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search plasmic
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Plasmic connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list plasmic
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 6 read-only tools, such as get_cms_item and count_cms_items, and lose the 5 write tools, such as update_project or create_cms_item, and the destructive tool delete_cms_item.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list plasmic
metorial tools <integration-id>
metorial call <integration-id> get_project_model -d '{}'

metorial tools lists the 12 tools, minus any you rejected. get_project_model takes no input. It retrieves the full JSON representation of a Plasmic project structure via the Model API.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (6)

  • count_cms_items: Count the number of items in a Plasmic CMS model, optionally filtered by field conditions. Needs modelId.
  • query_cms_items: Query items from a Plasmic CMS model with optional filtering, pagination, and ordering. Needs modelId.
  • get_project_model: Retrieve the full JSON representation of a Plasmic project structure via the Model API.
  • render_component: Render a Plasmic-designed page or component as HTML via the Render API. Needs componentName.
  • list_cms_models: List models and their field definitions in the connected Plasmic CMS database.
  • get_cms_item: Retrieve one Plasmic CMS item using a field filter such as a unique slug.

Write tools (5)

  • publish_cms_item: Publish a draft content entry in a Plasmic CMS model, making it publicly visible. Needs modelId and rowId.
  • create_cms_item: Create a new content entry in a Plasmic CMS model. Needs modelId and fields.
  • update_project: Programmatically create or update components, pages, and design tokens in a Plasmic project via the Write API.
  • update_cms_item: Update an existing content entry in a Plasmic CMS model. Needs modelId, rowId and fields.
  • create_cms_items: Create multiple content entries in a Plasmic CMS model in one request, optionally publishing them immediately.

Destructive tools (1)

  • delete_cms_item: Permanently delete a content entry from a Plasmic CMS model. Needs modelId and rowId.

Triggers

Plasmic has 2 triggers, which fire on events in Plasmic:

  • project_published: Triggers when a Plasmic project is published.
  • cms_entry_published: Triggers when a CMS entry is published in Plasmic.

Next steps