MetorialDocs

Set up API Labz in Metorial for Claude, ChatGPT and Cursor

Share API Labz with your team in Claude, ChatGPT and Cursor through Metorial: API token sign-in, 13 tools (11 read-only).

To give your team API Labz in Claude, ChatGPT, Cursor and other AI clients, an admin shares the API Labz integration in a Metorial portal, and each person connects with an API token. Agents can access a marketplace of AI-powered API modules for document processing, data extraction, and content generation. The integration has 13 tools, 11 read-only and 2 write, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
API TokenAPI tokentoken

API Token

To connect, a person enters:

  • token: API Labz API token obtained from your account at apilabz.com

Admin: share API Labz 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 API Labz. For how members connect, choose Each person connects so everyone enters their own API token, or Shared connection to enter one API token for everyone.

Limit the tools

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

Choose who gets it

Add the access groups that should see API Labz. 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 API Labz integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search "api labz"

Employee: connect API Labz

In the portal

Open API Labz in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API token (token).

Confirm

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

With the CLI

metorial catalog search "api labz"
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your API Labz 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 "api labz"
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 11 read-only tools, such as ai_search and pdf_to_json, and lose the 2 write tools, such as track_expense or call_api_module.

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 "api labz"
metorial tools <integration-id>
metorial call <integration-id> ai_search -d '{"query":"<query>"}'

metorial tools lists the 13 tools, minus any you rejected. ai_search needs query, so replace the placeholders. It runs AI-powered search queries that return comprehensive, contextual search results.

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

Tools

Read-only tools (11)

  • extract_id_data: Extract structured JSON data from identity card images. Needs fileFormat and base64String.
  • convert_document: Convert documents between various formats using AI-powered document processing. Needs instructions.
  • ai_search: Run AI-powered search queries that return comprehensive, contextual search results. Needs query.
  • pdf_to_json: Extract structured JSON data from PDF documents using a customizable schema. Needs schema.
  • generate_business_report: Generate an AI-powered business report from structured data. Needs instructions and rawData.
  • deep_research: Perform AI-powered deep research on any topic. Needs query.
  • text_to_image: Create images from written text descriptions using AI. Needs prompt.
  • image_to_json: Convert image content into structured JSON data using a customizable schema. Needs schema.
  • generate_social_media_content: Transform product descriptions into platform-optimized social media posts. Needs productDescription.
  • text_to_flow_diagram: Convert text descriptions into interactive flow diagrams and visual representations. Needs instructions.
  • list_api_modules: Discover the current public API Labz marketplace modules, their IDs, and example request parameters.

Write tools (2)

  • call_api_module: Call any API Labz module directly by its module ID. Needs moduleId and parameters.
  • track_expense: Submit expense data for AI-powered categorization and financial analysis. Needs expense.

Triggers

API Labz has 1 trigger, which fire on events in API Labz:

  • inbound_webhook

Next steps