Branch Docs
Access and search Branch's official API documentation directly within any AI agent or client.
我该使用它吗
质量与安全性
发现(10)
- LOW在 list-endpoints 中
- LOW在 get-endpoint 中
- LOW在 search-endpoints 中
- LOW在 get-server-variables 中
- LOW在 list-webhook-events 中
- LOW在 branch-overview 中
- LOW在 disbursements-integration 中
- LOW在 audit-integration 中
- LOW在 fetch 中
- LOW在 list-webhook-events 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"ai": {
"url": "https://docs.branchapp.com/mcp"
}
}
}远程端点
https://docs.branchapp.com/mcpssehttps://docs.branchapp.com/mcpstreamable-http它能做什么
工具清单
工具(10)
🟢list-endpoints
Lists all API paths and their HTTP methods with summaries, organized by path. Results can be passed directly into 'get-endpoint'.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get-endpoint(path, method)
Gets detailed information about a specific API endpoint, including security schemes and servers
输入模式
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The API endpoint path (e.g. /api/v1/users)."
},
"method": {
"type": "string",
"description": "The HTTP method (e.g. GET, POST, PUT, DELETE)."
}
},
"required": [
"path",
"method"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search-endpoints(pattern)
Performs a deep search through paths, operations, and parameters to discover relevant API endpoints. Use this tool to find specific API capabilities, required parameters, or data models based on search keywords. Results can be passed directly into 'get-endpoint'.
输入模式
{
"type": "object",
"properties": {
"pattern": {
"type": "string",
"description": "Search pattern (case-insensitive)"
}
},
"required": [
"pattern"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get-server-variables
Gets the server variables for each server within a specific OpenAPI spec.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search(query)
Searches through documentation with the given search query, returning a list of results with ID, title, and URL.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "search query"
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢fetch(id, format)
Gets detailed content for documentation by ID returned from the `search` tool.
输入模式
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Canonical IDs use project/section/slug. Legacy project/slug, recipe:project/slug and ref:project/slug IDs are also accepted. For a link `/<section>/<slug>` the search tool did not return, use `<project>/<section>/<slug>`, with `<project>` taken from an ID this project already returned. A custom page link `/page/<slug>` maps to `<project>/custom_pages/<slug>`."
},
"format": {
"description": "Custom pages can be authored in HTML. `markdown` converts an HTML custom page to Markdown; omitted or `original` returns the page as authored.",
"type": "string",
"enum": [
"original",
"markdown"
]
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list-webhook-events
Call this when the user asks about Branch webhooks, events, notifications, or callbacks — including which events exist, what data an event contains, or which event fires at a given point in worker onboarding or payment. Returns the complete catalog of all 22 Branch webhook events with their payload fields. Use the fetch tool with a listed doc id to get full details and a JSON example for a specific event.
输入模式
{
"type": "object",
"properties": {}
}🟢branch-overview
Call this when the user is new to Branch or is asking what Branch is, what it does, how its core objects relate (organizations, workers, wallets, payment profiles, disbursements), or where to begin an integration. Returns a one-page orientation: the object model, the worker lifecycle from onboarding through payment, the standard integration solutions and which tool covers each, and the sandbox and production environments. For specific procedures or API details, use search, fetch, and get-endpoint instead — this tool is orientation only.
输入模式
{
"type": "object",
"properties": {}
}🟢disbursements-integration
Call this when the user is building, planning, or reviewing a Branch Disbursements integration, where the partner pays workers through Branch Wallet or Branch Direct. This includes Disbursements with Tax Filing, Co-Branded Card, or Whitelabel. Returns the standard step-by-step integration path: Create Employee, Branch-hosted onboarding, the webhook gate, V2 disbursements, and lifecycle handling, plus the patterns to avoid. Use it before writing or reviewing integration code. Not for Flex EWA, Paycard, or Stripe Connect, which follow different paths.
输入模式
{
"type": "object",
"properties": {}
}🟢audit-integration
Call this when the user asks to review, audit, check, or validate Branch integration code, or a pull request that touches Branch API calls, webhook handlers, onboarding flows, or payouts. Returns Branch's audit checklist: critical violations, warnings, and passing checks for each standard solution, plus the report format to use. It catches patterns that mishandle KYC data or cause failed payouts.
输入模式
{
"type": "object",
"properties": {}
}社区
证据