MetorialDocs

Set up TextCortex in Metorial for Claude, ChatGPT and Cursor

Share TextCortex with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 13 tools, all read-only.

To give your team TextCortex in Claude, ChatGPT, Cursor and other AI clients, an admin shares the TextCortex integration in a Metorial portal, and each person connects with an API key. Agents can discover current TextCortex AI models and API credit balance. The integration has 13 tools, all read-only, plus 1 trigger.

What you'll learn

  • How an admin shares TextCortex in a portal and how each person connects
  • What TextCortex asks for when you connect, and where to find it
  • How to check the connection with metorial call

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Your TextCortex API key. Generate one at https://app.textcortex.com/user/dashboard/settings/api-key

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

Choose who gets it

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

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

Employee: connect TextCortex

In the portal

Open TextCortex in the catalog

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

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (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 textcortex
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your TextCortex 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 textcortex
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

Every TextCortex tool only reads, so the connection is read-only as it is.

Check it worked

metorial list textcortex
metorial tools <integration-id>
metorial call <integration-id> summarize_text -d '{}'

metorial tools lists the 13 tools, minus any you rejected. summarize_text takes no input. It summarizes supplied text into a concise version using a current TextCortex model.

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

Tools

Read-only tools (13)

  • translate_text: Translate supplied text into another language using a current TextCortex model. Needs text and targetLang.
  • generate_product_description: Generate product descriptions given a product name and optional details like category, brand, and features. Needs productName.
  • generate_blog: Generate blog articles based on a title and optional keywords. Needs title.
  • rewrite_text: Rewrite or paraphrase text without changing its meaning. Needs text.
  • generate_social_media_post: Generate social media posts for various platforms. Needs context.
  • get_balance: Check the API credit balance and currency for the connected TextCortex API key before generating content.
  • generate_email: Generate email body content based on a subject line. Needs subject.
  • generate_code: Generate code or SQL queries from natural language descriptions. Needs prompt.
  • summarize_text: Summarize supplied text into a concise version using a current TextCortex model.
  • get_model: Retrieve a TextCortex model and its advertised deployment location.
  • list_models: Discover current TextCortex model IDs for writing, rewriting, summarizing, translating, and code generation.
  • generate_ad_copy: Generate advertising copy for a product or service. Needs productName.
  • generate_text: Generate text content from a prompt using TextCortex AI models. Needs prompt.

Triggers

TextCortex has 1 trigger, which fire on events in TextCortex:

  • inbound_webhook

Next steps