# Connect your AI

> Add Talira's MCP server to Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code, Gemini CLI or any MCP client, and tell your agent when to use it.

Source: https://talira.ai/docs/connect
All of Talira's documentation: https://talira.ai/llms.txt

Talira's MCP server is at `https://mcp.talira.ai/mcp`. It speaks Streamable HTTP and is stateless. It needs a Talira account: your client signs in with OAuth, or sends an API token. The website and the [JSON API](https://talira.ai/docs/reference/api) work without one.

[Connect your AI](https://talira.ai/connect) has the same steps with copy buttons and one-click installs.

## Set up your client

### Claude

Claude.ai, Claude Desktop and Claude's mobile apps share the same connectors.

[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Talira&connectorUrl=https%3A%2F%2Fmcp.talira.ai%2Fmcp)

1. Click Add to Claude, or in Claude go to Customize > Connectors, click + Add, then Add custom connector. Enter Talira as the name and the server URL.
2. Click Connect. Claude opens Talira: sign in, or create an account, and approve.
3. In a chat, turn on Talira from the + menu, under Connectors.

On Team and Enterprise plans, an owner adds the connector in Organization settings first.

### ChatGPT

On the web, in a Business, Enterprise or Edu workspace.

1. Open Plugins in ChatGPT, click +, then Add custom MCP server.
2. Enter Talira as the name and the server URL, and choose OAuth.
3. ChatGPT opens Talira: sign in, or create an account, and approve.
4. In a chat, type @ and choose Talira.

### Claude Code

One command adds Talira to all of your projects.

Run this in a terminal:

````
claude mcp add --transport http --scope user talira https://mcp.talira.ai/mcp
````

Then run /mcp in Claude Code, choose Talira and Authenticate: your browser opens Talira, where you sign in and approve.

### Codex

The Codex CLI, its IDE extension and the ChatGPT desktop app share this setup.

Run this in a terminal:

````
codex mcp add talira --url https://mcp.talira.ai/mcp
````

Then run codex mcp login talira: your browser opens Talira, where you sign in and approve.

### Cursor

Add it with one click, or in ~/.cursor/mcp.json for every project.

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=talira&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3AudGFsaXJhLmFpL21jcCJ9)

Add this to `~/.cursor/mcp.json`:

````
{
  "mcpServers": {
    "talira": { "url": "https://mcp.talira.ai/mcp" }
  }
}
````

In Cursor Settings > MCP, click Connect next to Talira: Cursor opens Talira, where you sign in and approve.

### VS Code

Add it with one click, or in .vscode/mcp.json.

[Add to VS Code](vscode:mcp/install?%7B%22name%22%3A%20%22talira%22%2C%20%22type%22%3A%20%22http%22%2C%20%22url%22%3A%20%22https%3A%2F%2Fmcp.talira.ai%2Fmcp%22%7D)

Add this to `.vscode/mcp.json`:

````
{
  "servers": {
    "talira": { "type": "http", "url": "https://mcp.talira.ai/mcp" }
  }
}
````

When VS Code starts Talira it asks to sign in: allow it, then sign in to Talira and approve.

### Gemini CLI

One command adds Talira to all of your projects.

Run this in a terminal:

````
gemini mcp add --scope user --transport http talira https://mcp.talira.ai/mcp
````

Then run /mcp auth talira in Gemini CLI: your browser opens Talira, where you sign in and approve.

### API token

For an agent running in the cloud, a script, or a client that can't sign in with OAuth.

1. Sign in to Talira, open Settings and create an API token under API tokens. Copy it: Talira shows it only once.
2. Send it with every request as Authorization: Bearer <token>. In Claude Code, for example:

Run this in a terminal:

````
claude mcp add --transport http --scope user talira https://mcp.talira.ai/mcp \
  --header "Authorization: Bearer tal_..."
````

A token works on the MCP server and the JSON API until you revoke it in Settings.

### Other

Any MCP client that supports Streamable HTTP and MCP's OAuth sign-in: add the server URL, and it opens Talira for you to sign in and approve. A client without OAuth can send an API token instead.

To check it works, ask your agent to search Talira for something, then report the outcome as `just_testing`: the report earns the search back, so trying Talira is free, 50 times per account ([Credits](https://talira.ai/docs/credits#trying-talira)).

## Signing in

Most clients sign in with OAuth, as MCP's authorization spec describes. The first time your client connects, it opens Talira in your browser, at `app.talira.ai`. Sign in, or create an account, and Talira shows which app wants to connect and where approving sends you. If you sign in or create an account with an email address, the link or code Talira emails you brings you back to approve the app. Approve, and the client gets a token that works for an hour and renews itself for as long as you keep using it. A client you haven't used for 90 days has to connect again.

Talira asks you to sign in again before you approve if you last signed in more than 15 minutes ago. Claude, Claude Code, ChatGPT, Codex and VS Code are marked as verified. Any other app is marked as not reviewed, with a warning to approve it only if you started connecting it yourself, and Talira tells you to cancel when its name looks like a known app's.

One Talira account can sign in with several GitHub, Google and X accounts and email addresses, such as a personal and a work Google account: link them on the [Sign-in tab](https://talira.ai/settings/sign-in) of your settings, and any of them signs in to the same account. Google and GitHub ask which of your accounts to link; X links the account you're signed in to on x.com, so switch accounts there first. An account that already signs in to another Talira account isn't linked: unlink it there first. You can't unlink your last way to sign in.

[Apps and tokens](https://talira.ai/settings/apps) in your settings lists the apps you've connected, and disconnecting one ends its access at once.

### API tokens

For an agent running in the cloud, a script, or a client that can't sign in with OAuth, create an API token under [Apps and tokens](https://talira.ai/settings/apps) in your settings. Talira shows it once and keeps only a hash. Send it with every request as `Authorization: Bearer <token>`, to the MCP server or the JSON API. It works until you revoke it there. Tokens start with `tal_`, so secret scanners can spot one that leaks.

Signing out of your other sessions doesn't disconnect apps or revoke API tokens. If you think one has leaked, use "Disconnect all apps and revoke all API tokens" under [Apps and tokens](https://talira.ai/settings/apps#revoke-all).

### Limits

Each account can make 30 searches a minute and 300 an hour, and send 30 outcome reports an hour, through the MCP server and the API together. Calls with a token are limited by their account, never by the network address they come from, so everyone using Claude or ChatGPT has their own limits. Calls without a token are limited by address. A call over a limit gets a `rate_limited` error that says how long to wait (the API answers `429` with a `Retry-After` header).

## Search without installing anything

Any agent that can fetch a URL can search Talira, with no account and no MCP server:

```
https://talira.ai/?q=restart+my+server+when+a+source+file+changes&format=md
```

Put the problem in `q`, URL-encoded, the way you'd say it. `format=md` answers in Markdown: the results best fit first, each with its name and page, what it is, its fit and trust (0 to 1), the problem it matched and its trust facts, then how to get more. A request that sends `Accept: text/markdown` gets the same Markdown without `format`; a browser gets the results page. `format=json` answers with the [JSON API](https://talira.ai/docs/reference/api)'s search results. The search box's filters work here too (`oss=1`, `self=1`, `free=1`, `type=cli`).

Searches without an account are limited to 300 an hour from each network address; over that, the answer is `429` with a `Retry-After` header, in the format you asked for. Signing in gives your agent its own limits, and searches made with an account can report what you chose, so the next search is better.

## Tell your agent when to use it

The server's instructions tell your agent to search before it builds something, and to report what you chose. Coding agents follow their own instructions file more closely than a server's, so [Connect your AI](https://talira.ai/connect#instructions) has a few lines to add to your global instructions file (`~/.claude/CLAUDE.md` for Claude Code, `~/.codex/AGENTS.md` for Codex), where they apply in every project and session. They also ask your agent to suggest what you publish, a new public repository or a launch, for the catalog.

A Talira skill and plugin for coding agents are coming too. They'll tell an agent when to search, how to describe the problem, how to read the results, and when to report.

## Approving tool calls

Whether you approve each tool call is a setting in your client. Talira marks each tool as one that only reads or one that writes, and the [MCP tool reference](https://talira.ai/docs/reference/mcp-tools) says which is which. A client that asks before a tool changes something will ask before your agent sends a report.

## What your agent can do

The [MCP tool reference](https://talira.ai/docs/reference/mcp-tools) lists every tool, with what it takes and an example call. In short, your agent can search by problem, read a tool's full record, compare tools side by side, find alternatives to a tool, and report what you chose.
