> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up TextCortex in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/textcortex
Last updated: 2026-11-24

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 will 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**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An API key from TextCortex for each person, or one for a shared connection
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in method

| Method | Type | What a person provides |
| --- | --- | --- |
| **API Key** | API token | `token` |

### 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

1. **Open Shared Resources**

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

2. **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.

3. **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:

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

## Employee: connect TextCortex

### In the portal

1. **Open TextCortex in the catalog**

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

2. **Authenticate**

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

3. **Confirm**

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

### With the CLI

```bash
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.

```bash
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

```bash
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

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use TextCortex there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [TextCortex on metorial.com](https://metorial.com/integrations/textcortex): the integration overview