3neti/x-mcp

AI-native MCP adapters for the X-Change Settlement Operating System.

Maintainers

Package info

github.com/3neti/x-mcp

pkg:composer/3neti/x-mcp

Transparency log

Statistics

Installs: 42

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.0 2026-08-15 06:37 UTC

This package is auto-updated.

Last update: 2026-08-15 07:05:42 UTC


README

3neti/x-mcp exposes AI-native tools for the X-Change Partner API. It is a transport adapter, never an alternate financial authority.

Boundary

Every tool calls the configured Partner API over authenticated HTTP. This package does not depend on 3neti/x-change and cannot call its Actions, models, Treasury services, provider adapters, or legacy lifecycle API.

Installation

composer require 3neti/x-mcp
XMCP_ENABLED=true
XMCP_PUBLIC_DISCOVERY_ENABLED=true
XMCP_API_BASE_URL=https://your-host.example/api/partner/v1
XMCP_ACCESS_CONTACT=api-access@example.test
XMCP_EXPECTED_PARTNER_CONTRACT_VERSION=1.0.0

Confirm local commissioning before connecting an AI client:

php artisan x-mcp:doctor

The MCP client sends the same short-lived OAuth client-credentials bearer token used by the Partner API to /mcp/x-change. The token must include capabilities:read plus the scopes required by the tools it will use.

Initial tools

  • inspect_capabilities
  • estimate_pay_code
  • issue_pay_code
  • get_pay_code
  • cancel_pay_code

Issuance and cancellation require explicit confirmation and caller-supplied stable idempotency keys. Partner API ownership, funds, Treasury, pricing, scope, and mandate controls remain authoritative.

There is no self-service OAuth client registration.

Public discovery is available at /.well-known/x-change-mcp. It exposes only the endpoint, authentication model, tool names, and access-contact policy—never client credentials, bearer tokens, account identity, Treasury data, or claim evidence.