Skip to main content
Glama

MCP Server Demo

MCP Server Demo (Humorous Edition)

A simplified Model Context Protocol (MCP) server implemented in Python. This version reads plain text from standard input and responds with a humorous message. It is Docker- and Azure-deployable.

Project Structure

. ├── infrastructure/ # Infrastructure and deployment related files │ ├── azure/ # Azure deployment files │ │ ├── deploy.ps1 # PowerShell deployment script │ │ ├── deploy.sh # Bash deployment script │ │ └── main.bicep # Azure Bicep deployment template │ └── docker/ # Docker deployment files │ ├── Dockerfile # Container definition │ └── docker-compose.yml # Docker Compose configuration ├── main.py main.py # MCP server implementation (reads text, returns funny responses) └── requirements.txt # Python dependencies

Development

To run the MCP server locally:

python main.py

To run with Docker:

cd infrastructure/docker docker compose up --build # Build and start the container docker compose down # Stop and remove the container

To test the MCP server, send a message:

echo '{"type": "prompt", "content": "Hello MCP Server!", "metadata": {}}' | docker compose exec -T mcp-server-demo python -u main.py

Deployment

To deploy to Azure:

cd infrastructure/azure ./deploy.ps1

Make sure you have the Azure CLI installed and are logged in before deploying.

-
security - not tested
F
license - not found
-
quality - not tested

A simplified Model Context Protocol server in Python that reads text input and generates humorous responses, with support for Docker and Azure deployment.

  1. Project Structure
    1. Development
      1. Deployment

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.
          Last updated -
          2
          Python
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          A streamlined foundation for building Model Context Protocol servers in Python, designed to make AI-assisted development of MCP tools easier and more efficient.
          Last updated -
          13
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Python-based implementation of the Model Context Protocol that enables communication between a model context management server and client through a request-response architecture.
          Last updated -
          Python
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          A Python server implementing the Model Context Protocol that exposes tools for querying external APIs, compatible with Claude Desktop and ChatGPT Desktop.
          Last updated -
          Python
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/pablomartinferrari/mcp-demo'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server