How to install X (Twitter) Trends API in Antigravity CLI
To install X (Twitter) Trends API in Antigravity CLI, add the "x-twitter-trends-api" block to the mcpServers section of ~/.gemini/config/mcp_config.json (remote servers use "serverUrl"), then start agy.
Built from the published package · server updated 2 months ago
- 1
Open the MCP config
Create or open ~/.gemini/config/mcp_config.json for every project, or .agents/mcp_config.json for this project only.
- 2
Add the server
Paste this. If the file already has servers, add the "x-twitter-trends-api" entry inside the existing mcpServers block.
{ "mcpServers": { "x-twitter-trends-api": { "serverUrl": "https://x-twitter.api.trendsapi.ai/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } - 3
Start Antigravity CLI
Run agy. The server and its tools load when the session starts.
Config file: ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project)
MCP servers run with your permissions. If X (Twitter) Trends API needs an API key, add it under env in the config. Check its README.
Install X (Twitter) Trends API in another app
Similar servers
Open-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Social intelligence for 10 networks: read posts and trends, monitor brand mentions, then create.
Official Model Context Protocol server for Plunk — send email, manage contacts, campaigns and segments from an AI agent
Questions
Does X (Twitter) Trends API work in Antigravity CLI?
Yes. Antigravity CLI supports local and remote mcp servers, skills, plugins, and X (Twitter) Trends API installs with the steps above.
X (Twitter) Trends API does not show up in Antigravity CLI. What now?
Restart Antigravity CLI fully, check the JSON is valid, and make sure Node.js (for npx) is installed. See common MCP errors and fixes.
Is X (Twitter) Trends API safe?
It scores 30 of 100. Review the code before you install it, and only give it the access it needs. Grades and details.
