StableOps Agent Payments MCP Server
Enables configuring and running StableOps Agent Payments while keeping secrets user-controlled, with wallet-pairing via user signatures and runtime payments through a user-operated signer sidecar.
README
StableOps Agent Payments MCP Server
A stdio Model Context Protocol (MCP) server that lets agents configure and run StableOps Agent Payments while private keys, seed phrases, KMS credentials, and approval authority remain user-controlled.
Install and run
Node.js 20 or later is required.
Provide only the management key during setup:
STABLEOPS_API_KEY=sk_sandbox_... \
STABLEOPS_AP_ENABLE_MANAGEMENT_WRITES=true \
STABLEOPS_AGENT_KEY_OUTPUT_FILE=/protected/absolute/path/stableops-agent-key \
npx -y -p @stableops/agent-payments-mcp-server@0.2.0 stableops-agent-payments-mcp
Management mode is read-only by default. Mutating tools are registered only with STABLEOPS_AP_ENABLE_MANAGEMENT_WRITES=true; the management process never exposes open-world discovery or payment execution. The one-time Agent Key secret is never returned to the model. The server reserves the 0600 destination before issuance and automatically revokes a newly issued key if storage fails.
The wallet-pairing tool returns only the exact message the user must sign. No tool accepts a private key, seed phrase, or KMS credential. The user signs in their own wallet and returns only the signature.
For daily runtime use, remove the management key and use a restricted Agent Key plus the user-operated signer sidecar:
STABLEOPS_AGENT_KEY=ak_sandbox_... \
STABLEOPS_SIDECAR_URL=http://127.0.0.1:8789 \
STABLEOPS_SIDECAR_TOKEN=... \
npx -y -p @stableops/agent-payments-mcp-server@0.2.0 stableops-agent-payments-mcp
Management and runtime modes are mutually exclusive. The server refuses to start when both STABLEOPS_API_KEY and STABLEOPS_AGENT_KEY are set. Runtime mode only exposes discovery, budget, preview, controlled purchase, and payment-reconciliation tools; it cannot change policy or approve its own payment.
Security model
- The server never accepts or stores wallet private keys, seed phrases, or KMS credentials.
- The user must sign wallet-ownership proofs outside the server.
- Runtime payment can only call the user-operated constrained signer sidecar, never an arbitrary signing endpoint.
- Unknown origins, unknown recipients, and above-threshold payments require human approval in StableOps.
- Every new purchase requires a stable
idempotency_key; uncertain settlement must reconcile the original intent. - Every purchase must use a
preview_tokenbound to the exact URL, maximum quote, and audit context; the purchase tool accepts no replacement URL. - Preview tokens are process-local. After an MCP restart, preview the original exact URL again and resume with the new token; the API verifies the full URL hash stored on the intent.
- Responses over 256 KiB are available as short-lived MCP resources; all inline summaries are marked as untrusted external content.
Documentation
See the complete guide at https://stableops.dev/en/docs/agent-payments/quickstart
License
Apache-2.0
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.