Skip to main content
Glama

MCP-Demo

by tatocode

MCP-演示

此仓库包含一个 MCP 演示的精简版本。该项目旨在演示使用qwen API 接口的 MCP 服务和客户端的基本功能。

特征

  • 轻量级和最小的实现。
  • 使用uv进行依赖管理。
  • qwen API 集成。

先决条件

在使用此存储库之前,请确保已安装以下内容:

  • Python 3.10 或更高版本
  • uv包管理器

设置说明

  1. 克隆存储库:
    git clone https://github.com/tatocode/MCP-Demo.git cd MCP-Demo
  2. 使用uv安装依赖项:
    uv sync
  3. 在项目的根目录中创建一个.env文件并添加您的 API 密钥:
    API-KEY=xxxx
    xxxx替换为qwen API 的实际 API 密钥。
  4. 运行项目:
    uv run main.py mcp_server.py

笔记

  • .env文件是确保项目正常运行所必需的。请勿公开您的 API 密钥。
  • 有关qwen API 的更多信息,请参阅其官方文档。

执照

本项目遵循 MIT 许可证。详情请参阅LICENSE文件。

贡献

欢迎贡献代码!欢迎随时提交 issue 或 PR,以改进本项目。

-
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.

与 qwen API 接口集成的 MCP 服务和客户端的最小演示,展示模型控制协议实现的基本功能。

  1. 特征
    1. 先决条件
      1. 设置说明
        1. 笔记
          1. 执照
            1. 贡献

              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 -
                15
                10
                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