Connect remote MCP
How to connect Cursor, Claude or other MCP clients to the zahls.ch remote MCP endpoint.
With zahls.ch remote MCP, you can connect AI clients such as Cursor or Claude directly to your zahls.ch API. The tools map to OpenAPI operations and are proxied server-side to the REST API.
Product overview: Remote MCP.
Prerequisites
- An active zahls.ch account
- An API key from the dashboard under API and Integrations
- Your instance name — the first part of your URL. For
example.zahls.ch, the instance isexample.
Endpoint and authentication
| Endpoint | https://www.zahls.ch/mcp |
| Header | X-API-KEY — your API key |
| Header | X-Instance — your instance name (without .zahls.ch) |
Without both headers, the endpoint responds with 401.
Connect Cursor
Add an MCP server in your project or user config (for example .cursor/mcp.json or the Cursor MCP settings):
{
"mcpServers": {
"zahls-ch": {
"url": "https://www.zahls.ch/mcp",
"headers": {
"X-API-KEY": "YOUR_API_KEY",
"X-Instance": "your-instance"
}
}
}
}
Replace the placeholders, save the file, and restart the MCP server in Cursor. The zahls.ch tools should then appear in the tool list.
Other MCP clients
Any client that supports remote MCP (HTTP) with custom request headers can use the same endpoint:
- URL:
https://www.zahls.ch/mcp - Headers
X-API-KEYandX-Instanceas above
Exact config syntax depends on the client — what matters is the endpoint and both headers.
What the tools can do
MCP exposes the documented API operations as tools, for example:
- Create and manage payment links
- Create invoices and donations
- Query transactions and payment status
- Manage subscriptions and initiate refunds
Exact tool names and parameters come from the zahls.ch OpenAPI specification.
Safe usage
- Use a dedicated API key for the MCP client so you can rotate it if needed.
- Restrict high-risk actions (large amounts, refunds) in your prompts or require human confirmation.
- For asynchronous status updates, still set up webhooks — MCP does not replace webhooks in every case.
Next steps
- API and Integrations — create an API key
- Webhooks — real-time events
- Remote MCP — product overview, clients and use cases
- OpenClaw — agent gateway via MCP
- Hermes — agent runtime via MCP
- Contact — if the connection does not work