-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsmithery.yaml
More file actions
36 lines (35 loc) · 1.26 KB
/
smithery.yaml
File metadata and controls
36 lines (35 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Smithery.ai configuration for CobroYa MCP Server
# Copy this file to the repository root as `smithery.yaml` before submitting to Smithery.
startCommand:
type: stdio
configSchema:
# JSON Schema for the server's configuration/environment variables
type: object
required:
- mercadoPagoAccessToken
properties:
mercadoPagoAccessToken:
type: string
title: Mercado Pago Access Token
description: Your Mercado Pago production or sandbox access token. Get one at https://www.mercadopago.com/developers
mpCurrency:
type: string
title: Currency
description: Default currency code for payment links (e.g., ARS, BRL, MXN, CLP, COP, PEN, UYU)
default: ARS
mpSuccessUrl:
type: string
title: Success URL
description: URL to redirect buyers after successful payment
commandFunction:
# This function generates the startup command from the config
|-
(config) => ({
command: "npx",
args: ["-y", "cobroya-mcp"],
env: {
MERCADO_PAGO_ACCESS_TOKEN: config.mercadoPagoAccessToken,
...(config.mpCurrency ? { MP_CURRENCY: config.mpCurrency } : {}),
...(config.mpSuccessUrl ? { MP_SUCCESS_URL: config.mpSuccessUrl } : {})
}
})