+ Integration Guide
How to Connect Reddit MCP to VS Code (GitHub Copilot)
Add FetchLayer's Reddit MCP server to VS Code so GitHub Copilot's agent mode can search Reddit, scrape posts, and pull community data.
- MCP
- VS Code
- GitHub Copilot
- reddit scraping
- AI agent
VS Code supports MCP servers through GitHub Copilot’s agent mode. You can add FetchLayer’s Reddit MCP server to give Copilot access to Reddit search, post scraping, and community data.
Prerequisites
- VS Code with GitHub Copilot extension installed
- GitHub Copilot agent mode enabled
- A FetchLayer API key — get one free (no credit card)
Step 1: Create the MCP config
VS Code reads MCP configurations from .vscode/mcp.json in your workspace root.
Create the file .vscode/mcp.json:
{
"servers": {
"fetchlayer": {
"url": "https://mcp.fetchlayer.dev",
"headers": {
"Authorization": "Bearer sk-your-api-key"
}
}
}
}
Replace sk-your-api-key with your actual key from the FetchLayer dashboard.
Step 2: Reload VS Code
Reload the window (Ctrl+Shift+P → “Reload Window”) to pick up the new MCP config.
Step 3: Use it in Copilot Chat
Open Copilot Chat in agent mode and try:
Search Reddit for “VS Code extensions for Python” and show me the most upvoted recommendations.
Copilot will use the FetchLayer tools to search Reddit and return structured results.
More examples:
- “What are people saying about GitHub Copilot on r/programming?”
- “Get the latest posts from r/webdev about CSS”
- “Scrape comments from this Reddit thread and summarize the key points”
All available tools
All 13 FetchLayer Reddit endpoints are available: search, post scraping, community browsing, user profiles, trending content, and more. See the full endpoint list.