GolfBox MCP
A local MCP server for GolfBox tee-time workflows that lets agent clients authenticate, list clubs, search tee times, manage bookings, and prepare bookings with conservative safety defaults.
README
GolfBox MCP
GolfBox MCP is a local MCP server for GolfBox tee-time workflows. It lets compatible agent clients authenticate with GolfBox, list clubs, search tee times, list bookings, list tournaments, and prepare bookings with conservative safety defaults.
The server runs locally. GolfBox credentials stay on the user's machine, and booking or cancellation tools are disabled unless explicitly enabled.
Downloads
Latest builds from main are published to GitHub Pages:
https://j4hr3n.github.io/golfbox-mcp/
The release bundle contains:
GolfBox MCP.mcpbfor Claude Desktop.golfbox-mcp-codex-plugin.zipfor Codex.INSTALL.mdwith end-user setup instructions.
Development
This repo uses Bun as the package manager, development runtime, and test runner. The built server output is Node-compatible for distribution.
bun install
bun test src/**/*.test.ts
bun run build
bun run dev
Build a private release package locally:
bun run build:private-release
The script writes release artifacts to release/, including a static Pages site under release/site/.
Local MCP Config
After building, the server can be registered in any stdio MCP-compatible client:
{
"mcpServers": {
"golfbox": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/golfbox-mcp/dist/index.js"],
"env": {
"GOLFBOX_PROVIDER": "official",
"GOLFBOX_USERNAME": "your-username",
"GOLFBOX_PASSWORD": "your-password",
"GOLFBOX_COUNTRY": "NO",
"GOLFBOX_ENABLE_WRITE_TOOLS": "false"
}
}
}
}
For the local Codex setup in this repo, credentials can be stored in .env.local:
bun run set-credentials
The script prompts for username and password, writes .env.local, and sets file permissions to 600.
If you already have a valid MobileHub token, set GOLFBOX_API_TOKEN instead of GOLFBOX_USERNAME and GOLFBOX_PASSWORD.
Tools
golfbox_authenticate: authenticate and validate the current GolfBox credentials.golfbox_list_clubs: list GolfBox clubs known by the adapter.golfbox_search_tee_times: search available tee times for a club and date.golfbox_list_bookings: list tee-time bookings for the authenticated user.golfbox_list_tournaments: list tournaments the authenticated user is registered for or has participated in.golfbox_prepare_booking: validate and summarize a booking without creating it.golfbox_create_booking: create a booking when write tools are enabled and confirmed.golfbox_cancel_booking: cancel a booking when write tools are enabled and confirmed.
Safety Defaults
Booking and cancellation are off by default with GOLFBOX_ENABLE_WRITE_TOOLS=false.
When write tools are enabled, booking still requires confirmedByUser=true, explicit confirmation text, and an idempotencyKey. The adapter stores idempotency only in memory while the MCP server is running.
Network calls require HTTPS and known GolfBox hosts by default. Error messages redact known sensitive values, and response-body snippets are disabled unless GOLFBOX_INCLUDE_ERROR_BODY_SNIPPETS=true is set for local debugging.
Common environment defaults:
GOLFBOX_PROVIDER=official
GOLFBOX_COUNTRY=NO
GOLFBOX_ENABLE_WRITE_TOOLS=false
GOLFBOX_REQUIRE_CONFIRMATION=true
GOLFBOX_SAVE_TEE_TIME_TIMEOUT_MS=20000
GOLFBOX_REQUEST_TIMEOUT_MS=15000
GOLFBOX_WEB_REQUEST_TIMEOUT_MS=15000
GOLFBOX_ALLOW_UNTRUSTED_URLS=false
GOLFBOX_INCLUDE_ERROR_BODY_SNIPPETS=false
Project Notes
The GolfBox integration is based on the MobileHub/web flows used by GolfBox clients. Deeper implementation notes and endpoint details live in docs/ so the README can stay focused on usage and release flow.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。