Sponsored by Deepsite.site

MCP SSE Server and STDIO Server Examples

Created By
theailanguage9 months ago
MCP server that can execute terminal commands
Content

MCP SSE Server and STDIO Server Examples

Introduction

Welcome to The AI Language project! In this repository, you'll find multiple examples of setting up MCP Servers. MCP (Model Context Protocol) is a framework for AI models that enables them to store data, run tools, and use prompts for specific tasks.

Available Server Examples

We provide four examples to help you set up your MCP server in different environments. The table below summarizes each configuration:

ExampleServer TypeTransport MethodEnvironmentDockerTutorial Link
1Terminal Server (STDIO)STDIOLocalNoTutorial 1
2Terminal Server (STDIO)STDIOLocalYesTutorial 2
3Terminal Server (SSE)SSELocalYesTutorial 3
4Terminal Server (SSE)SSEGoogle Cloud Platform (Web)YesTutorial 3

If you enjoy learning about AI, coding, and automation, please like and subscribe to the channel — it really helps us make more great content for you!
SUBSCRIBE

What is MCP?

MCP (Model Context Protocol) is a protocol that allows AI models to:

  • Store data (like files or API responses)
  • Run tools (functions that AI can execute)
  • Use prompts (predefined templates for tasks)

Option 1: Setup Without Docker (Local Python)

This option demonstrates how to set up an MCP server locally using Python without Docker. Follow the video tutorial: Tutorial 1


Option 2: Setup With Docker

This option shows how to containerize the MCP server with Docker and run it locally. Follow the video tutorial: Tutorial 2


Option 3: Setup with SSE (Local, Docker)

This option demonstrates how to run an MCP server over SSE using Docker in a local environment. Follow the video tutorial: Tutorial 3


Option 4: Setup with SSE on Google Cloud Platform

This option details how to deploy the SSE server to Google Cloud Platform using Docker. Follow the video tutorial: Tutorial 3


Testing the MCP Server

Once the server is running, you can test it by using prompts in Claude, such as:

  • Run the command ls in my workspace.
  • Execute echo Hello from Claude.

You should see the output directly from your terminal server 🎉


Wrapping Up

Congrats! You've successfully built an MCP server that can execute terminal commands. You can run it locally or in Docker, depending on your preference.

Next Steps:

  • Add security checks to block potentially dangerous commands.
  • Allow Claude to read and write files.
  • Connect the server to cloud systems or remote environments.

For any issues or improvements, feel free to contribute and open an issue or pull request in this repository!

🤝 Contributing

At this time, this project does not accept external code contributions.

This is to keep licensing simple and avoid any shared copyright.

You're very welcome to: ✅ Report bugs or request features (via GitHub Issues)
✅ Fork the repo and build your own version
✅ Suggest documentation improvements

If you'd like to collaborate in another way, feel free to open a discussion!

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Tavily Mcp
Serper MCP ServerA Serper MCP Server
CursorThe AI Code Editor
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Playwright McpPlaywright MCP server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Amap Maps高德地图官方 MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.