FetchLayer fetchlayer.dev Sign in

+ Integration Guide

How to Connect Twitter MCP to KiloCode

Add FetchLayer's Twitter/X MCP server to KiloCode so your AI assistant can search tweets, get profiles, and pull follower data from inside VS Code.

Written by Alex P.

  • MCP
  • KiloCode
  • twitter scraping
  • X scraping
  • AI agent
  • VS Code extension

KiloCode is an AI coding assistant that runs as a VS Code extension and supports the Model Context Protocol (MCP). You can connect FetchLayer’s Twitter/X MCP server to give KiloCode access to all 10 Twitter endpoints.


Prerequisites


Setup

KiloCode reads MCP server configurations from its settings. You can configure it through the VS Code settings UI or by editing your settings JSON.

Option 1: Via KiloCode settings

  1. Open VS Code Settings (Ctrl+,)
  2. Search for “KiloCode MCP”
  3. Add a new MCP server with:
    • Name: fetchlayer
    • URL: https://mcp.fetchlayer.dev
    • Headers: Authorization: Bearer sk-your-api-key

Option 2: Via MCP config file

Create or edit .vscode/mcp.json in your workspace:

{
  "servers": {
    "fetchlayer": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer sk-your-api-key"
      }
    }
  }
}

Replace sk-your-api-key with your key from the FetchLayer dashboard.

Reload VS Code after saving.


Try it out

Open KiloCode’s chat panel and try:

Search X/Twitter for “best VS Code themes 2026” and show me the top results.

KiloCode will call FetchLayer’s Twitter search tool and return structured data.

More examples:

  • “What do people on X/Twitter recommend for ORMs?”
  • “Get the latest tweets from @rauchg about Next.js”
  • “Find verified followers of @levelsio”

Available tools

All 10 FetchLayer Twitter/X endpoints: search, tweet detail, replies, user profiles, user tweets, followers, following, verified followers, and more. See the full endpoint list.


What’s Next