Integrations
integrations:
# ID is the map key (immutable), label is display name (can change)
banking_api: # ID - immutable reference
label: 'Banking API' # Display name - can change freely
type: rest
base_url: https://api.bank.com/v2
auth:
type: bearer
access_token: 'your-bearer-token' # Required for bearer
test_url: 'https://api.bank.com/v2/health' # Optional: URL to verify the connection
methods:
get_account_balance: # Method ID - immutable
description: 'Get account balance' # Optional method description
http: GET /accounts/{accountId}/balance
query: 'accountType={accountType}' # Query string template
response:
type: single
result_path: '$.data' # Path to result object within response envelope
record_path: '$.balance' # Path to records within the result
limit: 10
record_template: '{amount}' # Record display template
valid_template: 'Balance: {amount}' # Message when results found
empty_template: 'No balance found' # Message when no results
validate_pin:
description: 'Validate PIN'
http: POST /auth/validate
body: '{"accountId":"{{accountId}}","pin":"{{pin}}"}'
response:
type: entry # Raw JSON to agent
get_transactions:
description: 'Get Recent Transactions'
http: GET /accounts/{accountId}/transactions
query: 'limit=10'
response:
type: list
record_path: '$.transactions[*]'
limit: 10
# Simple integration - no auth
swapi:
type: rest
base_url: https://swapi.dev
auth:
type: none
methods:
search_people:
http: GET /api/people/
query: 'search={search}'
response:
type: list
record_path: '$.results[*]'
limit: 20 Response Block Fields
Connection-level fields
Auth Block
No Auth:
Basic Auth:
Bearer Token:
OAuth2 — Authorization Code (has auth_url):
OAuth2 — Client Credentials (no auth_url):
MCP Custom Headers:
Referencing Integrations
Renaming Behavior
MCP Integrations
Remote MCP Server (SSE transport):
Local MCP Server (stdio transport):
Complete Example
Schema & Validation
Tooling Ideas
Last updated
Was this helpful?