nirholas

Agentcore Payments MCP — Development skill for Claude Code

Development community

Platform-managed agent payment sessions — create a budget, pay any x402 endpoint without holding a private key.

How to install Agentcore Payments MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nirholas/agentcore-payments-mcp and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentcore Payments MCP does

Platform-managed agent payment sessions — create a budget, pay any x402 endpoint without holding a private key. Governed by spend limits, URL allowlists, and per-tx ceilings. The agent proposes spend; three.ws governance enforces policy.

Alternatives in Development

  • Stripe — Payments Stripe integration with best-practices skill 14k ★
  • Internet Court Skill — The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 4.9k ★
  • Fullstack Solution Template For Agentcore — Flexible Fullstack solution template for production-ready deployments of any use case on Amazon Bedrock AgentC 471 ★

README

@three-ws/agentcore-payments-mcp

[![GitHub stars](https://img.shields.io/github/stars/nirholas/agentcore-payments-mcp?style=flat&logo=github)](https://github.com/nirholas/agentcore-payments-mcp/stargazers) [![License](https://img.shields.io/github/license/nirholas/agentcore-payments-mcp?style=flat)](https://github.com/nirholas/agentcore-payments-mcp/blob/HEAD/LICENSE) [![Last commit](https://img.shields.io/github/last-commit/nirholas/agentcore-payments-mcp?style=flat)](https://github.com/nirholas/agentcore-payments-mcp/commits) [![PRs welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat)](https://github.com/nirholas/agentcore-payments-mcp/pulls) [![AI agent friendly](https://img.shields.io/badge/AI%20agents-AGENTS.md%20%2B%20llms.txt-6d5dfc?style=flat)](https://github.com/nirholas/agentcore-payments-mcp/blob/HEAD/AGENTS.md)

MCP server for three.ws Agent Payment Sessions — govern agent x402 spending without exposing private keys.

Concept

The agent does not hold a wallet. It proposes spend. Governance enforces policy.

A **Payment Session** is a budget envelope you fund once from your three.ws credits. You hand an agent the session bearer token; the agent calls paid x402 endpoints through this server. The platform's wallet signs every transaction. The session's allowlist, per-transaction ceiling, and total budget are enforced atomically on the server — the agent can never overspend.

Quick start

# Configure
export THREE_WS_SESSION=""
export PAYMENT_SESSION_TOKEN="pss__"

# Run
npx @three-ws/agentcore-payments-mcp

MCP client config (`~/.cursor/mcp.json`, Claude Desktop, etc.):

{
  "mcpServers": {
    "three-ws-payments": {
      "command": "npx",
      "args": ["-y", "@three-ws/agentcore-payments-mcp"],
      "env": {
        "THREE_WS_SESSION": "",
        "PAYMENT_SES