Klap MCP Server
Read and test crypto payments on the Klap API: charges, webhooks, networks and metrics.
Klap scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 16 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 349 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
75/100 for listing completeness. Lost points: 16 of 16 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "klappay-klap-mcp": { "command": "npx", "args": [ "-y", "@klappay/mcp@1.4.0" ], "env": { "KLAP_ENV": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
KLAP_ENV | Optional | Which stored key to use: test (default) or live |
Tools16Tool docs quality grade F
All capabilitiescharges_checktoolyes
charges_createtoolyes
charges_gettoolyes
charges_listtoolyes
yes
yes
charges_timelinetoolyes
klap_statustoolyes
metrics_querytoolyes
networks_gettoolyes
recipients_listtoolyes
yes
About
@klappay/mcp
A local Model Context Protocol server for
the Klap Core API. Your AI assistant (Claude Code, Claude Desktop, Cursor,
or any MCP client) runs it on your own machine over stdio with npx.
Nothing is hosted by Klappay: the server talks straight to the Klap API with
the key klap login already stored in
~/.klap/config.json.
Part of Klap, the non-custodial crypto payments API.
What the assistant can do with it:
- Read: look up or list charges and a charge's timeline, inspect the
Safe transaction an escrow release/refund would execute, list webhooks
and their deliveries, list accepted
(token, network)pairs, run metrics queries, list split recipients and check whether a token issuer restricts their address. - Test mode: create charges, re-check them on-chain, retry webhook deliveries and push a sandbox charge through its payment states.
- Live mode: read-only by default. Writes are only registered when you opt in explicitly.
Moving money (escrow release/refund) and managing webhook endpoints or payout recipients are never exposed. See Security.
Install
Requires Node.js 24+. Log in once with the CLI so the key lives in
~/.klap/config.json instead of your MCP client's config file:
npx @klappay/cli login --api-key - --base-url https://api.klap.example
Paste the key on stdin and press Ctrl-D. --api-key - keeps the key out of
your shell history; KLAP_API_KEY=... npx @klappay/cli login --base-url ...
works too.
Then add one server per environment. Keeping test and live as separate servers means the assistant always knows which one it is talking to, and you can turn live off without touching test.
Claude Code
claude mcp add klap-test -- npx -y @klappay/mcp@1.1.0
claude mcp add klap-live -e KLAP_ENV=live -- npx -y @klappay/mcp@1.1.0
Claude Desktop (claude_desktop_config.json) and Cursor (~/.cursor/mcp.json)
Both use the same shape:
{
"mcpServers": {
"klap-test": {
"command": "npx",
"args": ["-y", "@klappay/mcp@1.1.0"]
},
"klap-live": {
"command": "npx",
"args": ["-y", "@klappay/mcp@1.1.0"],
"env": { "KLAP_ENV": "live" }
}
}
}
Pin the exact version as above rather than @latest: an MCP server runs
with your API key, so upgrade it on purpose. On startup it prints one line
to stderr, e.g. klap-mcp: test → api.example.com, and never the key.
Environment variables
| Variable | Default | Meaning |
|---|---|---|
KLAP_ENV | test | test or live, exactly. Anything else refuses to start. |
KLAP_API_KEY | unset | Use this key instead of ~/.klap/config.json. Requires KLAP_BASE_URL. Its prefix must match KLAP_ENV. |
KLAP_BASE_URL | stored baseUrl | Required with KLAP_API_KEY. With a stored key it must equal the stored baseUrl. |
KLAP_MCP_ALLOW_LIVE_WRITES | unset | Set to exactly 1 to register charges_create, charges_check and webhooks_retry_delivery in live. |
An empty value counts as unset. Full rules: Configuration.
Tools
| Tool | Test | Live | Live + writes |
|---|---|---|---|
klap_status | yes | yes | yes |
charges_get | yes | yes | yes |
charges_list | yes | yes | yes |
charges_timeline | yes | yes | yes |
charges_prepare_release | yes | yes | yes |
charges_prepare_refund | yes | yes | yes |
webhooks_list | yes | yes | yes |
webhooks_list_deliveries | yes | yes | yes |
networks_get | yes | yes | yes |
metrics_query | yes | yes | yes |
recipients_list | yes | yes | yes |
recipients_transferability | yes | yes | yes |
charges_create | yes | no | yes |
charges_check | yes | no | yes |
webhooks_retry_delivery | yes | no | yes |
sandbox_trigger | yes | no | no |
Every result is JSON and carries environment. Inputs and outputs are
described in Tools.
Security notes
- Live is read-only unless
KLAP_MCP_ALLOW_LIVE_WRITES=1. - A key stored by
klap loginis only ever sent to the base URL it was stored with. PointingKLAP_BASE_URLsomewhere else refuses to start. - Plain
http://is only accepted forlocalhost,127.0.0.1and[::1]. - API responses are filtered through the published
@klappay/typesschemas before the assistant sees them; unknown fields are dropped and a charge'smetadataand thelabelinrecipients_listare left out unless asked for. - Not available at all: escrow
release/refund(only their read-onlypreparestep is), webhook create/delete/rotate-secret, recipient changes, live event streams, QR codes and swap quotes.
More in Security.
Documentation
Full docs live in docs/ and as a browsable site at
mcp.klappay.com, which also publishes
llms.txt and
llms-full.txt.
| Topic | |
|---|---|
| Getting started | Log in, add the server, first prompts |
| Configuration | How the environment and key are chosen, every refusal |
| Tools | Every tool's input, output and availability |
| Security | Threat model, what's excluded and why |
License
Frequently asked questions
What is Klap MCP Server?
Read and test crypto payments on the Klap API: charges, webhooks, networks and metrics.
How do I install Klap MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Klap MCP Server runs locally from the npm package @klappay/mcp with the command npx -y @klappay/mcp@1.4.0.
Is Klap MCP Server free and open source?
Yes. Klap MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Klap MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Klap MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Klap MCP Server provide?
Klap MCP Server provides 16 tools, including charges_check, charges_create, charges_get, and charges_list. See the full tool list for descriptions and parameters.
How is Klap MCP Server's trust score calculated?
Klap MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.