MCP.so
Sign In
Servers

MCP SSE Server and STDIO Server Examples

@theailanguage

MCP server that can execute terminal commands

Overview

What is MCP SSE Server and STDIO Server Examples?

This repository provides four examples of setting up MCP (Model Context Protocol) servers using STDIO and SSE transport methods. It is designed for developers who want to learn how to configure MCP servers locally, with Docker, or on Google Cloud Platform. MCP allows AI models to store data, run tools, and use prompts for specific tasks.

How to use MCP SSE Server and STDIO Server Examples?

Choose one of four setup options: local Python without Docker, local Docker, local Docker over SSE, or SSE on Google Cloud Platform. Each option links to a video tutorial. After starting the server, test it by sending prompts (e.g., Run the command ls in my workspace) to Claude.

Key features of MCP SSE Server and STDIO Server Examples

  • Four example configurations for different environments
  • Supports STDIO and SSE transport methods
  • Includes local, Docker, and Google Cloud Platform deployments
  • Designed for AI model tool execution and data storage
  • No external code contributions accepted; issues and forks welcome

Use cases of MCP SSE Server and STDIO Server Examples

  • Running terminal commands via an AI assistant
  • Testing MCP server functionality with Claude prompts
  • Deploying an MCP server to a cloud environment
  • Learning to set up MCP servers with or without Docker

FAQ from MCP SSE Server and STDIO Server Examples

What transport methods are supported?

The server examples support STDIO (local terminal) and SSE (Server-Sent Events) transport methods.

Do I need Docker to run these examples?

No. Option 1 runs locally with Python without Docker. Options 2, 3, and 4 use Docker.

Can I deploy the server to the cloud?

Yes. Option 4 provides instructions for deploying the SSE server on Google Cloud Platform using Docker.

How do I test the server after setup?

Send prompts to Claude, such as Run the command ls in my workspace or Execute echo Hello from Claude. The server will return the terminal output.

Does this project accept external code contributions?

No. External contributions are not accepted to keep licensing simple. You may report issues or fork the repository.

Tags

More from Developer Tools