FetchLayer fetchlayer.dev Sign in

+ Integration Guide

How to Connect Reddit MCP to KiloCode

Add FetchLayer's Reddit MCP server to KiloCode so your AI assistant can search Reddit, scrape posts, and pull subreddit data from inside VS Code.

  • MCP
  • KiloCode
  • reddit 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 Reddit MCP server to give KiloCode access to all 13 Reddit 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 Reddit for “best VS Code themes 2026” and show me the top results.

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

More examples:

  • “What do people on r/node recommend for ORMs?”
  • “Get the latest posts from r/reactjs about Server Components”
  • “Find subreddits related to indie hacking”

Available tools

All 13 FetchLayer Reddit endpoints: search, posts, comments, subreddits, user profiles, trending content, and more. See the full endpoint list.


What’s Next