Connect
Connect with an API key
For scripts, automations and your own agents.
Some tools can’t open a sign-in window: scripts, automation platforms, your own agents, or a Claude organization that uses request headers. For those, send an API key with each request instead.
Create a key for the AI#
Under Developers, create an API key with only the permissions the AI needs, for example:
invoices:readandinvoices:writefor invoices and receiptscheckout:readandcheckout:writefor payment linkstransactions:readto look up payments and receiptswallets:readto list wallets
A test key (mp_test_…) uses your test data, and a live key uses live data.
Send it with each request#
Request
POST https://morzepay.com/mcp
Authorization: Bearer mp_live_3f9a1c0b2e7d_9b1c...In tools that read an MCP config file:
mcp.json
{
"mcpServers": {
"morzepay": {
"url": "https://morzepay.com/mcp",
"headers": {
"Authorization": "Bearer mp_test_..."
}
}
}
}Keep the key secret: anyone who has it can use those permissions. Don’t paste it into a chat, and don’t commit config files that contain it.