Skip to main content
Composio’s MCP endpoint (mcp.composio.dev) was decommissioned in March 2026, and managed Twitter credentials were removed in February 2026. This guide shows how to replace Composio’s Twitter MCP integration with Xquik.

Why Migrate

ComposioXquik
Accounts needed3 (X Developer, Composio, AI tool)1
Credentials6 (API Key, API Secret, Bearer Token, OAuth Client ID, OAuth Client Secret, Composio API Key)1 (API key)
Setup steps143
OAuth danceYes (browser redirect on first use)No
X Developer PortalRequired (create app, configure callbacks)Not required
Dashboard configRequired (create auth config, toggle custom creds)Not required
Setup code~20 lines + CLI commands0 lines (just config)
Twitter tools79122 endpoints + 23 extraction tools

Before: Composio Setup (14 Steps)

1

Create X Developer account

Go to developer.x.com, create a developer account, wait for approval.
2

Create X app

Navigate to Apps, create a new app, fill out the application form.
3

Copy X credentials

Copy Bearer Token, API Key, and API Secret.
4

Configure OAuth callback

Set OAuth 2.0 callback URL to https://backend.composio.dev/api/v1/auth-apps/add.
5

Copy OAuth credentials

Copy OAuth 2.0 Client ID and Client Secret.
6

Get Composio API key

Sign up at Composio, get an API key from the dashboard.
7

Create .env file

Add COMPOSIO_API_KEY and USER_ID to .env.
8

Install Composio SDK

pip install composio-core python-dotenv
9

Configure custom auth in Composio dashboard

Navigate to dashboard, create auth config for Twitter, toggle custom credentials, enter all 5 X credentials.
10

Write MCP URL generation script

Write ~20 lines of Python to create a Composio session and extract the MCP URL.
11

Run the script

python generate_mcp_url.py
12

Register MCP server

Run the CLI command from the script output.
13

Restart your AI tool

Exit and relaunch Claude Code, Cursor, etc.
14

Complete OAuth flow

On first tool use, click the browser link and authorize.

After: Xquik Setup (3 Steps)

1

Get an API key

Sign up at xquik.com, subscribe, and generate an API key from the dashboard.
2

Add MCP config

Add this to your MCP configuration:
claude mcp add xquik \
  --transport http \
  "https://xquik.com/mcp" \
  --header "x-api-key: xq_YOUR_KEY_HERE"
3

Use it

Start using X tools immediately. No OAuth flow, no browser redirect.

Code Migration

Python (Pydantic AI)

import os
from composio import Composio
from dotenv import load_dotenv

load_dotenv()

composio_client = Composio(api_key=os.getenv("COMPOSIO_API_KEY"))
composio_session = composio_client.create(
    user_id=os.getenv("USER_ID"),
    toolkits=["twitter"],
)

COMPOSIO_MCP_URL = composio_session.mcp.url

# Then configure your agent with COMPOSIO_MCP_URL...
# First use triggers OAuth browser flow

TypeScript (Mastra)

import { Composio } from "@composio/core";

const composio = new Composio({ apiKey: process.env.COMPOSIO_API_KEY });
const session = await composio.create({
  userId: process.env.USER_ID,
  toolkits: ["twitter"],
});

const mcpUrl = session.mcp.url;
// Then configure MCP client with mcpUrl...
// First use triggers OAuth browser flow

Framework-Specific Guides

For complete integration guides with your framework: