MetorialDocs

Set up Wit.ai in Metorial for Claude, ChatGPT and Cursor

Share Wit.ai with your team in Claude, ChatGPT and Cursor through Metorial: server access token sign-in, 31 tools (14 read-only).

To give your team Wit.ai in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Wit.ai integration in a Metorial portal, and each person connects with a server access token. Agents can analyze text for intents, entities, and traits, detect languages, and synthesize downloadable speech with Wit.ai. The integration has 31 tools, 14 read-only, 9 write and 8 destructive, plus 1 trigger.

What you'll learn

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

Before you start

Sign-in method

MethodTypeWhat a person provides
Server Access TokenAPI tokentoken

Server Access Token

To connect, a person enters:

  • token: Server Access Token from your Wit.ai app settings. Found under Settings in the Wit.ai console.

Setup settings

Setup also asks for:

  • apiVersion (optional): Wit.ai API version date (format: YYYYMMDD). Defaults to 20240304.

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

Limit the tools

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

Choose who gets it

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

metorial-admin portals access list <portal-id> --type provider_template --search wit.ai

Employee: connect Wit.ai

In the portal

Open Wit.ai in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your server access 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 wit.ai
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Wit.ai 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 wit.ai
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 14 read-only tools, such as get_app and get_trait, and lose the 9 write tools, such as create_app or update_app, and the 8 destructive tools, such as delete_app or delete_trait.

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 wit.ai
metorial tools <integration-id>
metorial call <integration-id> list_traits -d '{}'

metorial tools lists the 31 tools, minus any you rejected. list_traits takes no input. It lists all traits configured in the Wit.ai app.

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

Tools

Read-only tools (14)

  • list_apps: List all Wit.ai apps accessible by the current token.
  • list_utterances: List training utterances (samples) in the Wit.ai app.
  • export_app: Export the current Wit.ai app configuration as a downloadable ZIP file containing its intents, entities, traits, utterances, and settings.
  • get_trait: Get detailed information about a specific trait, including its possible values. Needs traitName.
  • get_intent: Get detailed information about a specific intent, including its associated entities. Needs intentName.
  • list_intents: List all intents configured in the Wit.ai app.
  • list_traits: List all traits configured in the Wit.ai app.
  • list_voices: List available voices for text-to-speech synthesis.
  • get_entity: Get detailed information about a specific entity, including its roles, lookup strategies, and keyword values. Needs entityName.
  • analyze_text: Extract meaning from text using Wit.ai's NLU engine. Needs text.
  • list_entities: List all entities configured in the Wit.ai app, including both built-in and custom entities.
  • list_app_tags: List all version tags for a Wit.ai app. Needs appId.
  • detect_language: Detect the language of a given text. Needs text.
  • get_app: Get detailed information about a specific Wit.ai app by its ID. Needs appId.

Write tools (9)

  • create_intent: Create a new intent in the Wit.ai app. Needs name.
  • update_app: Update an existing Wit.ai app's configuration such as name, language, timezone, description, or privacy settings. Needs appId.
  • update_entity: Update an existing entity's configuration, such as its name, roles, lookup strategies, or keywords. Needs entityName.
  • create_app_tag: Create a new version tag for a Wit.ai app. Needs appId and tagName.
  • create_entity: Create a new custom entity in the Wit.ai app. Needs name and roles.
  • create_trait: Create a new trait in the Wit.ai app with initial values. Needs name and values.
  • train_utterances: Submit training utterances (samples) to train the Wit.ai NLU model. Needs utterances.
  • create_app: Create a new Wit.ai app. Needs name, lang and isPrivate.
  • synthesize_speech: Convert text to a downloadable audio file using a Wit.ai voice.

Destructive tools (8)

  • delete_app_tag: Delete a version tag from a Wit.ai app. Needs appId and tagName.
  • delete_utterances: Delete training utterances from the Wit.ai app by their text content. Needs texts.
  • manage_trait_values: Add or remove possible values for an existing trait. Needs traitName, action and value.
  • delete_trait: Permanently delete a trait from the Wit.ai app. Needs traitName.
  • delete_intent: Permanently delete an intent from the Wit.ai app. Needs intentName.
  • delete_entity: Permanently delete an entity from the Wit.ai app. Needs entityName.
  • delete_app: Permanently delete a Wit.ai app. Needs appId.
  • manage_entity_keywords: Add or remove keywords and synonyms for a keyword-type entity. Needs entityName, action and keyword.

Triggers

Wit.ai has 1 trigger, which fire on events in Wit.ai:

  • inbound_webhook

Next steps