Token导航 LogoToken导航TokenDH.com
Template MCP Python logo
运维云端未说明官方级别未说明来源级核验

Template MCP Python

MCP Server

一个用于Python项目的模板,提供本地开发、Docker开发和部署的指令。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
CI/CDPythonDockerAPI密钥

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

ks6088ts-labs

提供方

ks6088ts-labs

最后核验

2026/5/17 20:23

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

![test](https://github.com/ks6088ts-labs/template-mcp-python/actions/workflows/test.yaml?query=branch%3Amain) ](https://github.com/ks6088ts-labs/template-mcp-python/actions/workflows/docker.yaml?query=branch%3Amain) ](https://github.com/ks6088ts-labs/template-mcp-python/actions/workflows/docker-release.yaml) ![ghcr-release](https://github.com/ks6088ts-labs/template-mcp-python/actions/workflows/ghcr-release.yaml) ![docs](https://github.com/ks6088ts-labs/template-mcp-python/actions/workflows/github-pages.yaml)

模板-MCP-Python

这是一个Python的模板仓库

先决条件

开发指南

本地开发

使用Makefile在本地运行项目。

# help
make

# install dependencies for development
make install-deps-dev

# run tests
make test

# run CI tests
make ci-test

Docker 开发

# build docker image
make docker-build

# run docker container
make docker-run

# run CI tests in docker container
make ci-test-docker

部署指南

Docker Hub

要将Docker镜像发布到Docker Hub,您需要 创建访问令牌 并在仓库设置中设置以下密钥。

gh secret set DOCKERHUB_USERNAME --body $DOCKERHUB_USERNAME
gh secret set DOCKERHUB_TOKEN --body $DOCKERHUB_TOKEN

Azure 静态 Web 应用

RESOURCE_GROUP_NAME=your-resource-group-name
SWA_NAME=your-static-web-app-name

# Create a static app
az staticwebapp create --name $SWA_NAME --resource-group $RESOURCE_GROUP_NAME

# Retrieve the API key
AZURE_STATIC_WEB_APPS_API_TOKEN=$(az staticwebapp secrets list --name $SWA_NAME --query "properties.apiKey" -o tsv)

# Set the API key as a GitHub secret
gh secret set AZURE_STATIC_WEB_APPS_API_TOKEN --body $AZURE_STATIC_WEB_APPS_API_TOKEN

如需更多信息,请参阅以下链接:

目录标签

目录标签

CI/CDPythonDockerAPI密钥Python开发本地部署项目模板

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

api-key

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明api-key部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP