Stack_Overflow_MCP_Server / README_SPACES.md
MarkNawar's picture
Update README_SPACES.md
5d343da verified
---
title: Stack Overflow MCP Server
emoji: πŸ”
colorFrom: orange
colorTo: purple
sdk: gradio
sdk_version: "5.33.1"
app_file: app.py
pinned: false
license: mit
tags:
- mcp-server-track
---
# Stack Overflow MCP Server πŸš€
A powerful Gradio app that serves as both a web interface and MCP (Model Context Protocol) server for Stack Overflow search capabilities.
## 🌟 Features
- **Web Interface**: Interactive search with 5 specialized tabs
- **MCP Server**: Expose 5 MCP tools for AI assistants
- **API Key Support**: Add your Stack Exchange API key for higher quotas
- **Real-time Search**: Fast and accurate Stack Overflow searches
<video controls autoplay src="https://cdn-uploads.huggingface.co/production/uploads/683d5a1712350a7aef349067/XcO719SNnPqxFMReogigd.qt"></video>
6-11 at 2.23.36β€―AM.mov…]()
## πŸ”§ MCP Integration
This app serves as an MCP server at the `/gradio_api/mcp/sse` endpoint. Connect your AI assistant using:
```json
{
"mcpServers": {
"stackoverflow": {
"url": "https://c44b366466c774a9d5.gradio.live/gradio_api/mcp/sse"
}
}
}
```
## 🎯 Available MCP Tools
1. **search_by_query_sync** - General Stack Overflow search
2. **search_by_error_sync** - Error-specific search
3. **get_question_sync** - Get specific question by ID
4. **analyze_stack_trace_sync** - Analyze stack traces
5. **advanced_search_sync** - Advanced search with filters
## πŸ’‘ Usage
1. **Web Interface**: Use the tabs to search Stack Overflow
2. **MCP Server**: Connect AI assistants to the MCP endpoint
3. **API Key**: Add your Stack Exchange API key for 10,000 requests/day
Built with ❀️ for the MCP Hackathon