Skip to content

Commit 3d03141

Browse files
author
Signal
committed
Define BILLING_GATEWAY_API_KEY input per maintainer feedback
Add transport.headers and metadata.inputs with full input definition for the API key — id, label, description, secret, required, and obtain instructions linking to the setup guide.
1 parent 51ea010 commit 3d03141

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

servers/community.sapph1re-billing-gateway-mcp-http.json

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,30 @@
2222
"transport": {
2323
"type": "http",
2424
"url": "https://mcp-billing-gateway-production.up.railway.app/mcp/",
25+
"headers": {
26+
"Authorization": "Bearer ${input:BILLING_GATEWAY_API_KEY}"
27+
},
2528
"metadata": {
26-
"inputs": []
29+
"inputs": [
30+
{
31+
"id": "BILLING_GATEWAY_API_KEY",
32+
"type": "text",
33+
"label": "Billing Gateway API Key",
34+
"description": "API key for your MCP Billing Gateway instance. Deploy your own from https://github.com/sapph1re/mcp-billing-gateway-sdk and generate a key via the /admin/keys endpoint.",
35+
"secret": true,
36+
"required": true,
37+
"obtain": {
38+
"url": "https://github.com/sapph1re/mcp-billing-gateway-sdk#readme",
39+
"instructions": "1. Deploy MCP Billing Gateway from https://github.com/sapph1re/mcp-billing-gateway-sdk\n2. Set your ADMIN_API_KEY environment variable\n3. POST to /admin/keys to create a client API key\n4. Paste the key here",
40+
"button_label": "View setup guide"
41+
}
42+
}
43+
]
2744
}
2845
},
2946
"auth": {
3047
"type": "api_key",
31-
"instructions": "Requires a Billing Gateway API key. Deploy your own instance from https://github.com/sapph1re/mcp-billing-gateway-sdk, then pass your API key as the Authorization Bearer token."
48+
"instructions": "Requires a Billing Gateway API key. Deploy your own instance from https://github.com/sapph1re/mcp-billing-gateway-sdk, then paste your API key above."
3249
},
3350
"contributor": {
3451
"name": "sapph1re",

0 commit comments

Comments
 (0)