Finance

GOV.UK Pay

@ktmcp-cli/govukpay

GOV.UK Pay is the UK Government's payment platform for public services. This CLI lets you create payment requests, check payment status, issue refunds, and manage payment links for government service transactions.

Peter Steinberger
🦞
Six months ago, everyone was talking about MCPs. And I was like, screw MCPs. Every MCP would be better as a CLI.
Peter Steinberger, Founder of OpenClaw · Lex Fridman Podcast #491 · @steipete

Quick Start

Install the CLI globally using npm:

npm install -g @ktmcp-cli/govukpay

Features

Create payment requests
Check payment status
Issue refunds
Manage payment links
View transaction reports
Webhook event handling

Usage Examples

Authentication

# Set up API key
govukpay auth login --api-key YOUR_API_KEY

# Verify connection
govukpay auth status

Manage payments

# Create a new payment
govukpay payments create \
  --amount 5000 \
  --reference "council-tax-123" \
  --description "Council Tax Payment"

# Get payment status
govukpay payments get PAYMENT_ID

Documentation

For complete documentation, API reference, and advanced usage examples, visit the GitHub repository. Each CLI includes comprehensive README.md, AGENT.md for AI integration, and OPENCLAW.md for tool definitions.