# Run several X accounts from Claude and ChatGPT

> Save all your X accounts once, then tell Claude or ChatGPT which one posts, replies, likes or sends a DM. Bulk import, choosing the account per prompt, keeping sessions working, cost.

HTML page: https://www.twittrapi.com/blog/manage-multiple-x-accounts-claude-chatgpt
Published 2026-11-10.

A brand account, a support account, a founder account, ten client accounts: whoever runs X for more than one profile spends a lot of time logging in and out. With the [hosted Twitter MCP server](https://www.twittrapi.com/twitter-mcp-server) of TwittrAPI, which we run, you save the accounts once and then just say in the chat which one acts:

> Post the launch thread from @acme, then quote it from @acme_founder with "Proud of the team."

The assistant picks the account, shows you the text and posts after you approve. No X developer account, nothing to install.

## Who this is for

- **Brands with several profiles:** main account, support, regional or product accounts.
- **Agencies and freelancers** who post for clients.
- **Creators** with a personal and a project account.
- **Community teams** who answer mentions and DMs from the right account.

If you only have one account, the [single-account guide](https://www.twittrapi.com/blog/post-to-x-from-claude-chatgpt) is shorter.

## Set it up in three steps

**1. Get the sessions.** For every account you need the cookie of a browser that is logged in to x.com with it, and a proxy. The easiest way to get the cookie is the Cookie-Editor browser extension: log in, open it on x.com, **Export > JSON**, save the file. Do that once per account. [Your X session](https://www.twittrapi.com/docs/x-session#copy-the-cookie-from-your-browser) has the details for every browser.

**2. Import them.** In the TwittrAPI dashboard, open **Connected apps**, click **Add X account** and choose **Bulk import**. Drop all JSON files at once, or paste one account per line:

```text
auth_token=…; ct0=…; twid=u%3D… | http://user:pass@1.2.3.4:8080
auth_token=…; ct0=…; twid=u%3D… | 5.6.7.8:3128:user:pass
```

A CSV with `cookie`, `proxy` and `passcode` columns works too. If most accounts share a proxy, enter it once as **Proxy for all without one**. The preview shows every account before you import and marks lines with a problem. After the import each account is checked, and you see right away which ones work.

**3. Connect the app.** Add the connector `https://mcp.twittrapi.com/mcp`:

- **Claude.ai and Claude Desktop:** **Settings > Connectors > Add custom connector**.
- **ChatGPT:** turn on **Developer mode** under **Settings > Apps & Connectors > Advanced settings**, then **Create** with authentication **OAuth**.

Log in to TwittrAPI and tick **Also act on my X account** on the consent page. The app now has all your saved accounts. Accounts you add later show up in it within a minute.

## Choose the account in your prompt

One account is the default: the first you saved, or the one you picked with **Make default**. The assistant uses it when you do not name one. To use another, just name it:

| You write | What happens |
| --- | --- |
| Post "New docs are live" | Posted from the default account |
| Post "New docs are live" from @acme_dev | Posted from @acme_dev |
| Reply to this tweet from @acme_support: "DM us your order number" | Reply from @acme_support |
| Retweet @acme's launch post from @acme_eu | Retweet from @acme_eu |
| Which X accounts can you use? | The assistant lists your accounts and the default |
| Check the DM requests of @acme_support | Reads that account's requests (needs its chat passcode) |

Behind the scenes every account tool gets an `account` argument (an @handle or user ID), and a free `list_x_accounts` tool lists the accounts. The assistant never sees cookies or proxies, only @handles. If it names an account you did not save, nothing is posted and it gets the list of saved accounts back.

Claude and ChatGPT ask before every action that posts or changes something. Read the account name in that prompt before you approve, especially for replies. Each account should post its own content: X does not allow using several accounts to boost the same posts or to like and follow in sync.

## Prompts that save time

- "Draft three replies to the mentions of @acme from today and post the one I pick from @acme_support."
- "Post this announcement from @acme and a German version from @acme_de."
- "Post this week's update for each client: the text for @client_a, @client_b and @client_c is below."
- "Follow these five partner accounts from @acme."
- "Read the DMs of @acme_support from the last day and summarize what customers ask."

Reading tweets, profiles and search works without naming an account, the same as with one account.

## Keep the accounts working

Each account in the dashboard has a status: **Works**, **Logged out**, **Proxy fails** and a few more. It updates when you save, when you click **Check** or **Check all**, and every time the assistant uses the account. Broken accounts get a red edge, so after an import you see what to fix.

- **Logged out:** log in to x.com with that account again, export a fresh cookie and import it. It replaces the old session.
- **Proxy fails:** fix host, port or login with your proxy provider and import the account again.

The [X accounts docs](https://www.twittrapi.com/docs/x-accounts#status-and-what-to-do) list every status. Use one proxy per account where you can; logging in many accounts from one address makes X ask for logins more often.

## What it costs

Every action is one API call, $0.0001 on Standard, the same as a read. Twenty accounts that each post, reply or like ten times a day make about 6,000 calls a month: 6 × $0.10 for 1,000 calls. Saving and checking an account is one read call each. There is no fee per account and no monthly fee for the server.

## FAQ

### How many X accounts can I save?

Up to 200 per TwittrAPI account, and up to 100 in one import.

### Can I give one app only some of my accounts?

Not yet. An app you allow to act gets all saved accounts. If a client needs its own app with only its accounts, give it its own TwittrAPI account.

### What if two accounts have the same name in my prompt?

Handles are unique on X, so @acme always means one account. If you write a display name instead, the assistant may ask which handle you mean.

### Can Claude Code or Cursor use several accounts?

Yes, when they connect by signing in to TwittrAPI (OAuth) like Claude.ai. With the header setup, each connection sends one session; add one connector per account if you need more.

### Is my cookie safe?

Sessions are stored encrypted and are never shown again, not even in the dashboard. Only apps you allowed to act get them, and only on the MCP server, never in the chat. **Delete** next to an account removes it at once.
