KosmoKrator

sales

Braintree MCP Integration for OpenAI Agents SDK

Connect Braintree to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 7 read 0 write Bearer token auth

Connect Braintree to OpenAI Agents SDK

Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.

Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with --write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.

Braintree MCP Config for OpenAI Agents SDK

Use headless JSON commands for CI-style execution and MCP for agent tool discovery.

{
  "mcpServers": {
    "kosmokrator-braintree": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=braintree",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=braintree --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Braintree instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Braintree Tools Visible to OpenAI Agents

OpenAI Agents sees stable MCP tool names generated from the Braintree integration catalog.

MCP toolSource functionTypeDescription
integration__braintree__braintree_list_transactions braintree.braintree_list_transactions Read List payment transactions for the Braintree merchant. Returns transaction details including amount, status, payment method, and customer info.
integration__braintree__braintree_get_transaction braintree.braintree_get_transaction Read Retrieve a single Braintree transaction by its ID. Returns full transaction details including amount, status, payment instrument, and settlement info.
integration__braintree__braintree_list_customers braintree.braintree_list_customers Read List customers stored in Braintree. Returns customer details including name, email, phone, and payment methods.
integration__braintree__braintree_get_customer braintree.braintree_get_customer Read Retrieve a single Braintree customer by ID. Returns full customer details including contact info, payment methods, and addresses.
integration__braintree__braintree_list_plans braintree.braintree_list_plans Read List recurring billing plans configured in Braintree. Returns plan details including billing cycle, price, and trial period.
integration__braintree__braintree_get_plan braintree.braintree_get_plan Read Retrieve a single Braintree recurring billing plan by ID. Returns plan details including billing cycle, price, and trial period.
integration__braintree__braintree_get_current_user braintree.braintree_get_current_user Read Get the current Braintree merchant account information. Returns merchant details including business name, currency, and account status.

Related Braintree Pages