Skip to content
Back to skills

Build Authenticated Mcp Servers From Python Files With Golf

ASecurity

Scaffold, build, and run MCP servers from a predictable Python project layout with tools, prompts, resources, auth, and OpenTelemetry hooks.

  • 36 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythongogitsecuritydocumentation

Works with

  • cli
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 2, 2026

npx -y skills add agentskillexchange/skills --skill build-authenticated-mcp-servers-from-python-files-with-golf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Authenticated Mcp Servers From Python Files With Golf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build Authenticated Mcp Servers From Python Files With Golf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-build-authenticated-mcp-servers-from-python-files/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-build-authenticated-mcp-servers-from-python-files)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Build authenticated MCP servers from Python files with Golf"
slug: "build-authenticated-mcp-servers-from-python-files-with-golf"
description: "Scaffold, build, and run MCP servers from a predictable Python project layout with tools, prompts, resources, auth, and OpenTelemetry hooks."
github_stars: 835
verification: "security_reviewed"
source: "https://github.com/golf-mcp/golf"
author: "golf-mcp"
publisher_type: "open_source"
category: "Integrations & Connectors"
framework: "MCP"
tool_ecosystem:
  github_repo: "golf-mcp/golf"
  github_stars: 835
---

# Build authenticated MCP servers from Python files with Golf

Scaffold, build, and run MCP servers from a predictable Python project layout with tools, prompts, resources, auth, and OpenTelemetry hooks.

## Prerequisites

Python 3.10+, pip, Golf CLI, MCP-compatible client

## Installation

Use the upstream install or setup path that matches your environment:
- pip install golf-mcp

Requirements and caveats from upstream:
- Golf is a **framework** designed to streamline the creation of MCP server applications. It allows developers to define server's capabilities—*tools*, *prompts*, and *resources*—as simple Python files within a conventi...
- Ensure you have Python (3.10+ recommended) installed. Then, install Golf using pip:
- **tools/**, **resources/**, **prompts/**: Contain your Python files, each defining a single component. These directories can also contain nested subdirectories to further organize your components (e.g., tools/payments...

Basic usage or getting-started notes:
- Get your Golf project up and running in a few simple steps:
- Use the Golf CLI to scaffold a new project:
- golf init your-project-name

- Source: https://github.com/golf-mcp/golf
- Extracted from upstream docs: https://raw.githubusercontent.com/golf-mcp/golf/HEAD/README.md

## Documentation

- https://docs.golf.dev

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/build-authenticated-mcp-servers-from-python-files-with-golf/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.