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-server 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-server 0.1.0
File Size Uploaded Provenance Actions
puppy_mcp_server-0.1.0.tar.gz 4.0 kB Without provenance Details for puppy_mcp_server-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 8.7 kB

Release files / puppy_mcp_server-0.1.0.tar.gz

Download URL puppy_mcp_server-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9a36d76983369533b0b5ff6a1e973e0dbf0e792e3c390ac628e3f0dbf983db45
BLAKE2b-256 checksum
How to use checksums
c075ac2a610a75ad02593caa5369a077052e1da2d6754d2a219675bfe98b07b9
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_server-0.1.0-py3-none-any.whl

Download URL puppy_mcp_server-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13c0ccf1459c2794416bb428110b80ef9a9166cc59a01baba26c9c3d07c0a989
BLAKE2b-256 checksum
How to use checksums
4f3b8cf4b1b90d045191b4cf5b788352756496e8a69d6a897d5271dceb823eec
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-server 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