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_server-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_server-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: puppy_mcp_server-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_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a36d76983369533b0b5ff6a1e973e0dbf0e792e3c390ac628e3f0dbf983db45
MD5 24abb39e0772d98684a3dd838145e845
BLAKE2b-256 c075ac2a610a75ad02593caa5369a077052e1da2d6754d2a219675bfe98b07b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for puppy_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13c0ccf1459c2794416bb428110b80ef9a9166cc59a01baba26c9c3d07c0a989
MD5 cedee72900b746f32299c4772208d984
BLAKE2b-256 4f3b8cf4b1b90d045191b4cf5b788352756496e8a69d6a897d5271dceb823eec

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