Skip to main content
Glama

MCP-Demo

by tatocode

MCP-Demo

This repository contains a minimal version of an MCP demo. The project is designed to demonstrate the basic functionality of an MCP service and client using the qwen API interface.

Features

  • Lightweight and minimal implementation.
  • Dependency management using uv.
  • Integration with the qwen API.

Prerequisites

Before using this repository, ensure you have the following installed:

  • Python 3.10 or higher
  • uv package manager

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/tatocode/MCP-Demo.git cd MCP-Demo
  2. Install dependencies using uv:
    uv sync
  3. Create a .env file in the root directory of the project and add your API key:
    API-KEY=xxxx
    Replace xxxx with your actual API key for the qwen API.
  4. Run the project:
    uv run main.py mcp_server.py

Notes

  • The .env file is required to ensure the project runs correctly. Do not share your API key publicly.
  • For more information about the qwen API, refer to its official documentation.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve this project.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

A minimal demonstration of an MCP service and client that integrates with the qwen API interface, showing basic functionality of a Model Control Protocol implementation.

  1. Features
    1. Prerequisites
      1. Setup Instructions
        1. Notes
          1. License
            1. Contributing

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
                Last updated -
                3
                676
                61
                JavaScript
                Apache 2.0
              • A
                security
                A
                license
                A
                quality
                A Model Context Protocol (MCP) server implementation that provides EMQX MQTT broker interaction.
                Last updated -
                4
                19
                Python
                Apache 2.0
                • Apple
              • -
                security
                A
                license
                -
                quality
                A demonstration server that implements the Model Context Protocol (MCP) SDK, providing tools and endpoints for server-sent events and message handling.
                Last updated -
                22
                8
                TypeScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                A simple demonstration project for the Model Control Protocol (MCP) server that provides tools for AI assistants to fetch news articles, perform calculations, retrieve weather data, and generate personalized greetings.
                Last updated -
                Python

              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/tatocode/MCP-Demo'

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