
stackoverflow teams mcp
一个为 AI 助手提供 Stack Exchange API 数据访问的 Model Context Protocol (MCP) 服务器。
Repository Info
About This Server
一个为 AI 助手提供 Stack Exchange API 数据访问的 Model Context Protocol (MCP) 服务器。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Stackoverflow Teams MCP
A Model Context Protocol (MCP) server that provides access to the Stack Exchange API for Teams, allowing AI assistants to search and retrieve information from Stack Overflow.
Project Overview
This project exposes two main MCP tools:
stackoverflow_questions- Search Stack Overflow for questions and answers matching a querystackoverflow_excerpts- Search Stack Overflow for excerpts matching a query
The server uses the Stack Exchange API to fetch data and formats the results in a structured way.
Project Structure
stackoverflow-teams-mcp/
├── .vscode/mcp.json # Dogfooding - Using this server with VSCode Copilot in this project
├── main.py # MCP server logic
└── utils.py # data models
Setup Instructions
This project uses uv for Python package management. Follow these steps to set up the project:
Prerequisites
- uv package manager
Installation
-
Clone the repository:
git clone [your-repository-url] cd stackoverflow-teams-mcp -
Create a virtual environment and install dependencies using uv:
uv venv source .venv/bin/activate uv sync
Running the Server
For Development
Use fastmcp dev for local development.
It runs the inspector tool written by Anthropic.
fastmcp dev main.py
Supply these 2 env variables before starting the MCP server.
- BASE_URL (base url for the api)
- API_KEY (api key)
For using with VSCode Copilot
Check out .vscode/mcp.json
Quick Start
Clone the repository
git clone https://github.com/alexfjw/stackoverflow-teams-mcpInstall dependencies
cd stackoverflow-teams-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.