Skip to main content

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(默认)、pre、prod
  • 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 许可证。

Metadata

Release files for puppy-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for puppy-mcp 0.1.0
File Size Uploaded Provenance Actions
puppy_mcp-0.1.0.tar.gz 4.0 kB Without provenance Details for puppy_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for puppy-mcp 0.1.0
File Interpreter ABI Platform Actions
puppy_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for puppy_mcp-0.1.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / puppy_mcp-0.1.0.tar.gz

Download URL puppy_mcp-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ac6aca291df80c44c17912217befcbd660fe2edf7bde8f3e96e2371f53dfb358
BLAKE2b-256 checksum
How to use checksums
28a0a95bdbc9ac744d5cc03466f45109a9ed2217d4540790393164ac935203fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / puppy_mcp-0.1.0-py3-none-any.whl

Download URL puppy_mcp-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
437f073f3154b4c12d374acb1bee19e17cfb09567cf0a7d34617d59f212c1271
BLAKE2b-256 checksum
How to use checksums
396701636c2e7cc9152af2c44526d0a959f153eb22278ee6c20417a8e66a5394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for puppy-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page