Skip to main content

Add your description here

Project description

Puppy MCP Server

Puppy MCP Server 是一个基于 FastMCP 框架构建的服务器应用程序,用于提供各种工具和服务。

功能特性

  • 提供 MCP (Multi-Client Protocol) 服务
  • 集成 GEO 产品信息查询功能
  • 支持多环境配置(测试、预发布、生产环境)
  • 可通过环境变量进行配置

安装说明

环境要求

  • Python 3.11 或更高版本

安装步骤

  1. 克隆项目到本地
  2. 安装依赖:
    pip install .
    
    或者如果你使用 poetry:
    poetry install
    

使用方法

启动服务

puppy-mcp-server

环境配置

可以通过以下环境变量进行配置:

  • ACTIVE_ENV: 设置运行环境,可选值为 test(默认)、preprod
  • BACKSTAGE_AUTH_TOKEN: 设置后台认证令牌

例如在 Linux/Mac 系统中:

export ACTIVE_ENV=prod
export BACKSTAGE_AUTH_TOKEN=your_token_here
puppy-mcp-server

在 Windows 系统中:

set ACTIVE_ENV=prod
set BACKSTAGE_AUTH_TOKEN=your_token_here
puppy-mcp-server

提供的工具

hello_world

测试服务是否正常运行的简单工具。

get_products

获取 GEO 产品列表。 参数:

  • biz_enable: 商务合同是否可用
  • supplier_enable: 供应商合同是否可用

项目结构

puppy-mcp/
├── puppy_mcp_server/
│   └── main.py          # 主程序文件
├── pyproject.toml       # 项目配置文件
└── README.md            # 项目说明文件

许可证

本项目采用 MIT 许可证。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

puppy_mcp-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

puppy_mcp-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file puppy_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: puppy_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for puppy_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ac6aca291df80c44c17912217befcbd660fe2edf7bde8f3e96e2371f53dfb358
MD5 4c02ac2dd462af86c13bb3931b34f9d7
BLAKE2b-256 28a0a95bdbc9ac744d5cc03466f45109a9ed2217d4540790393164ac935203fa

See more details on using hashes here.

File details

Details for the file puppy_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: puppy_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.4

File hashes

Hashes for puppy_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 437f073f3154b4c12d374acb1bee19e17cfb09567cf0a7d34617d59f212c1271
MD5 37f8f6abe226b638b21e054197062eb9
BLAKE2b-256 396701636c2e7cc9152af2c44526d0a959f153eb22278ee6c20417a8e66a5394

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page