buildauthenticatedmcpserversfrompythonfileswithgolf
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "buildauthenticatedmcpserversfrompythonfileswithgolf" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f9e366152ff3c1ec3bb04bcc4f2a073e6c3ef434eacaa09c120c6e384d102c04. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/build-authenticated-mcp-servers-from-python-files-with-golf before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Build, compile, and run MCP servers from a predictable Python project layout, including tools, prompts, resources, authentication, and OpenTelemetry hooks.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Build authenticated MCP servers from Python files with Golf"
slug: "build-authenticated-mcp-servers-from-python-files-with-golf"
version: "1.0.0"
displayName: "Build authenticated MCP servers from Python files with Golf"
summary: "从可预测的Python项目布局中搭建、构建和运行MCP服务器,配备工具、提示、资源、认证和OpenTelemetry钩子。"
license: "MIT"
description: "从可预测的Python项目布局中搭建、构建和运行MCP服务器,配备工具、提示、资源、认证和OpenTelemetry钩子。"
github_stars: 835
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Integrations & Connectors"
framework: "MCP"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 835使用Golf从Python文件构建经过身份验证的MCP服务器
从可预测的Python项目布局中搭建、构建和运行MCP服务器,配备工具、提示、资源、认证和OpenTelemetry钩子。
先决条件
Python 3.10+、pip、Golf CLI、MCP兼容客户端
安装
使用与您的环境匹配的上游安装或设置路径:
- pip install golf-mcp
上游的要求和注意事项:
- Golf是一个框架,旨在简化MCP服务器应用程序的创建。它允许开发人员将服务器的功能——工具、提示和资源——定义为约定目录中的简单Python文件... 确保已安装Python(推荐3.10+)。然后使用pip安装Golf:
- tools/、resources/、prompts/:包含您的Python文件,每个文件定义一个组件。这些目录还可以包含嵌套的子目录以进一步组织您的组件(例如,tools/payments...
基本用法或入门说明:
-
通过几个简单步骤让您的Golf项目运行起来:
-
使用Golf CLI搭建新项目:
-
golf init your-project-name
-
Extracted from upstream docs: https://raw.githubusercontent.com/golf-mcp/golf/HEAD/README.md
文档
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供从 Python 项目构建 MCP 服务器的完整方案,集成工具、提示、资源和认证功能
- 面向开发者群体,解决 MCP 生态中的实际集成需求
Areas to improve
-
触发词缺失 Reported severity: Minor
description 描述了功能但未提供具体触发关键词,用户难以通过自然语言精准触发
Recommendation: 在 description 或 skill_body 开头补充明确的触发关键词,如 'build mcp server', 'golf mcp', 'python mcp tools' 等
Areas to improve
-
缺少端到端示例 Reported severity: Minor
文档包含基本用法但未提供完整的端到端操作示例
Recommendation: 补充一个完整的项目创建、配置、运行示例,展示从 init 到实际调用的全流程
Highlights
- 文档结构基本完整,包含先决条件、安装和用法说明
- frontmatter 信息完整,包含版本、作者、许可证等必要信息
Areas to improve
-
异常处理缺失 Reported severity: Major
未覆盖主要异常场景(网络失败、依赖冲突、权限问题)的处理方案
Recommendation: 补充常见错误的处理建议,如 pip 安装失败、Golf CLI 权限问题、Python 版本不兼容等
Highlights
- 依赖来源明确,提供了 GitHub 仓库和官方文档链接
- 使用标准的 pip 安装方式,符合 Python 生态惯例
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 32
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- docs.golf.dev
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.