Stream MCP
README.md
# MCP Streamable HTTP Server
## What is MCP?
**Model Context Protocol (MCP)** is an open standard that enables seamless integration between AI assistants and external data sources, tools, and services. MCP acts as a universal bridge, allowing AI models to interact with various tools and databases in a standardized way.
## Why We Created This
This project demonstrates how to deploy MCP servers over HTTP, making powerful tools accessible to AI assistants like GitHub Copilot, Claude, and other AI systems. By deploying MCP servers remotely, we can:
- **Scale globally**: Deploy once, use everywhere
- **Share tools**: Multiple users can access the same tool endpoints
- **Simplify setup**: No local installation required
- **Enhance AI capabilities**: Extend AI assistants with custom functionality
---
## š Live Deployed Servers
We have deployed **3 MCP servers** that are ready to use! Each server provides different functionality:
### š§ Available Servers
| Server | Description | Deployed URL |
|--------|-------------|--------------|
| **Echo** | Simple echo and text manipulation tools | `https://stream-mcp.onrender.com/echo/mcp/` |
| **Math** | Advanced mathematical operations and calculations | `https://stream-mcp.onrender.com/math/mcp/` |
| **Social** | Social media and content generation tools | `https://stream-mcp.onrender.com/Social/mcp/` |
### š Server Details
#### Echo Server
- **Purpose**: Text processing and echo functionality
- **Tools**: Echo messages, text transformation, string manipulation
- **Use Cases**: Testing MCP connections, simple text operations
#### Math Server
- **Purpose**: Mathematical computations and calculations
- **Tools**: Basic arithmetic, advanced math functions, statistical operations
- **Use Cases**: Calculations, data analysis, mathematical problem solving
#### Social Server
- **Purpose**: Social media and content tools
- **Tools**: Content generation, social media formatting, text enhancement
- **Use Cases**: Social media posts, content creation, text optimization
---
## š Connect to GitHub Copilot
To use these servers with GitHub Copilot, follow these steps:
1. **Open your MCP configuration file** (`mcp.json`) for GitHub Copilot
2. **Add the following server configurations**:
```json
{
"mcpServers": {
"maths_tools": {
"url": "https://stream-mcp.onrender.com/math/mcp/",
"type": "http"
},
"social_tool": {
"url": "https://stream-mcp.onrender.com/Social/mcp/",
"type": "http"
},
"echo": {
"url": "https://stream-mcp.onrender.com/echo/mcp/",
"type": "http"
}
}
}
```
3. **Save the configuration** and restart GitHub Copilot
4. **Start using the tools** in your AI conversations!
---
## š ļø Local Development
If you want to run the servers locally or contribute to the project:
### Prerequisites
- Python 3.8+
- pip or uv package manager
### Quick Start
1. **Clone the repository**:
```bash
git clone https://github.com/ai-engineer-devansh-singh/stream_mcp.git
cd stream_mcp
```
2. **Install dependencies**:
```bash
pip install -r requirements.txt
```
3. **Run the combined server**:
```bash
python Example/server.py
```
4. **Access local endpoints**:
- Echo: `http://localhost:10000/echo/mcp/`
- Math: `http://localhost:10000/math/mcp/`
- Social: `http://localhost:10000/Social/mcp/`
---
## š Project Structure
```
āāā Example/
ā āāā echo_server.py # Echo MCP server implementation
ā āāā math_server.py # Math MCP server implementation
ā āāā Social.py # Social MCP server implementation
ā āāā server.py # Combined FastAPI server
āāā docs/ # Documentation and assets
āāā pyproject.toml # Project configuration
āāā runtime.txt # Python runtime specification
āāā server.py # Basic MCP server example
```
---
## š” Need Help?
If you encounter any issues while setting up or using these MCP servers, please don't hesitate to reach out:
- **GitHub Issues**: Create an issue in this repository
- **Contact**: Feel free to contact me directly for any problems or questions
- **LinkedIn**: Follow me on [LinkedIn](https://www.linkedin.com/in/ai-engineer-devansh-singh) for updates and AI engineering content
---
## š¤ Contributing
Contributions are welcome! Feel free to:
- Report bugs
- Suggest new features
- Submit pull requests
- Improve documentation
---
## š License
This project is open source and available under the MIT License.This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues