Connection
| Setting | Value |
|---|---|
| Protocol | HTTP (StreamableHTTP) |
| Endpoint | https://xquik.com/mcp |
| Auth | API key (x-api-key header) or OAuth 2.1 (Bearer token) |
Authentication
The MCP server supports 2 authentication methods:- API key (
x-api-keyheader): Used by Claude Code, Cursor, VS Code, Windsurf, Codex CLI, OpenCode, and Claude Desktop. Pass your key during the MCP handshake. - OAuth 2.1 (Bearer token): Used by Claude.ai (web) and ChatGPT Developer Mode. OAuth handles authentication automatically via browser login. No API key needed. See OAuth 2.1 documentation for the complete authorization flow, token lifetimes, and implementation details.
How it works
The MCP server uses a code-execution sandbox model with 2 tools:| Tool | Description | Cost |
|---|---|---|
explore | Search the API spec (read-only, no network calls) | Free |
xquik | Execute API calls against your account | Varies by endpoint |
explore tool
Searches the in-memory API endpoint catalog. The sandbox provides:
xquik tool
Executes API calls. The sandbox provides:
async () => xquik.request('/api/v1/radar') and the server executes it with auth injected.
MCP vs REST API
Both the MCP server and REST API connect to the same backend, use the same data, and share the same billing.| Aspect | MCP Server | REST API |
|---|---|---|
| Best for | AI agents, IDE integrations, natural language workflows | Backend services, automation scripts, programmatic access |
| Protocol | StreamableHTTP (MCP protocol) | Standard REST (JSON over HTTPS) |
| Auth | x-api-key header or OAuth 2.1 (Bearer token) | x-api-key header per request |
| Endpoint | https://xquik.com/mcp | https://xquik.com/api/v1/* |
| Model | 2 tools (explore + xquik) with code-execution sandbox | 122 individual endpoints |
| Unique to REST | - | File download responses (extraction/draw export) |
| Unique to MCP | AI agent tool descriptions, natural language prompts, server instructions | - |
Setup
- Claude.ai (Web)
- Claude Desktop
- Claude Code
- ChatGPT
- Codex CLI
- Cursor
- VS Code
- Windsurf
- OpenCode
Claude.ai supports MCP connectors natively via OAuth. Add Xquik as a connector from Settings > Feature Preview > Integrations > Add More > Xquik. The OAuth 2.1 flow handles authentication automatically. No API key needed.
Example prompts
Once connected, you can ask your AI agent things like: Monitoring & Events- “Can you start watching @elonmusk for new tweets and replies?”
- “What accounts am I currently monitoring?”
- “Has anything happened on my monitored accounts today?”
- “Stop tracking @elonmusk, I don’t need updates anymore.”
- “What are people saying about TypeScript on X right now?”
- “Can you find recent tweets from @vercel?”
- “What does this tweet say? https://x.com/elonmusk/status/1893456789012345678”
- “How many likes and retweets does this have? https://x.com/vercel/status/1893704267862470862”
- “How many followers does @xquikcom have?”
- “What does @openai’s bio say?”
- “Does @elonmusk follow @SpaceX back?”
- “Are @vercel and @nextjs following each other?”
- “What’s trending on X right now?”
- “What are the top trending topics in the US?”
- “Is there anything trending about AI today?”
- “What’s trending on Hacker News right now?”
- “Show me the top GitHub trending repos today”
- “What are the fastest-growing startups on TrustMRR?”
- “Get me trending topics from Reddit in the last 12 hours”
- “What’s popular on Wikipedia right now?”
- “Show me Google Trends for Turkey”
- “Find trending tech news and help me compose a tweet about one”
- “Can you pull all the replies to this tweet? https://x.com/elonmusk/status/1893456789012345678”
- “Who retweeted this? https://x.com/vercel/status/1893704267862470862”
- “How much would it cost to extract all followers of @elonmusk?”
- “Get me all the quote tweets on this post: https://x.com/openai/status/1893456789012345678”
- “Can you extract the full thread for this tweet? https://x.com/elonmusk/status/1893704267862470862”
- “Pick 3 random winners from this tweet: https://x.com/xquikcom/status/1893456789012345678”
- “Run a giveaway draw where participants must have retweeted and have at least 100 followers.”
- “Show me the results of my last giveaway draw.”
- “Can you set up a webhook at https://my-server.com/events for new tweets?”
- “What webhook endpoints do I have configured?”
- “Remove the webhook pointing to my old server.”
- “Help me write a tweet about launching my new product”
- “I want it casual and optimized for engagement”
- “Score this draft: Just shipped v2.0 of our API. What do you think?”
- “How can I improve this tweet to get more replies?”
- “Analyze how @elonmusk tweets”
- “Compare @vercel and @nextjs tweeting styles”
- “How are my cached tweets performing?”
- “Save this tweet draft for later”
- “Show me all my saved drafts”
- “Set my X account to @myusername”
- “Post a tweet saying: Just shipped v2.0!”
- “Like this tweet: https://x.com/vercel/status/1893704267862470862”
- “Retweet this: https://x.com/openai/status/1893456789012345678”
- “Follow @vercel from my connected account”
- “Send a DM to user ID 44196397 saying hello”
- “Update my bio to: Building cool stuff with AI”
- “Upload this image and tweet it with the caption: New feature!”
- “Set up a Telegram integration to my chat”
- “List my integrations”
- “Send a test notification to my Telegram bot”
- “What plan am I on and how much have I used this month?”
- “Do I have enough budget left to run a large extraction?”
Framework guides
Build agents with Xquik’s MCP tools in your preferred framework:LangChain
Python agents with LangChain + LangGraph
CrewAI
Multi-agent crews with CrewAI
Pydantic AI
Type-safe agents with Pydantic AI
Google ADK
Multi-agent assistants with Google ADK
Mastra
TypeScript agents with Mastra
Migrate from Composio
Replace Composio’s deprecated Twitter MCP