
Security News
pnpm 12’s Rust Rewrite Cuts Install Times by Up to 90%
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.
@stablecoinx/mcp
Advanced tools
Model Context Protocol server for the StablecoinX merchant API. Log in via thirdweb email-OTP, then drive merchant CRUD, API keys, payment sessions, paymaster clients/allowlist, and webhooks on the merchant's behalf from any MCP client. Bundles an optiona
MCP server for the StablecoinX merchant API. Log in once via thirdweb email-OTP, then drive merchant CRUD, API keys, payment sessions, paymaster clients/allowlist, and webhooks on the merchant's behalf from any MCP client (Claude Code, Claude Desktop, Cursor, and others). Ships a bundled skill for end-to-end payment-gateway integration.
npx @stablecoinx/mcp setup
This installs the stablecoinx skill into ~/.claude/skills and registers the
MCP (claude mcp add, user scope) with the harness defaults and a freshly
generated state passphrase. Restart your MCP client afterwards.
Prefer natural language? In your MCP client, ask "set up StablecoinX payments" - it runs the bundled skill, which drives this MCP.
claude mcp add stablecoinx-mcp -s user \
-e SCX_API_URL=https://api.harness.stablecoinx.com \
-e SCX_CHAIN_ID=84532 \
-e THIRDWEB_CLIENT_ID=830ece55cd210c34f351166a85edbd0f \
-e THIRDWEB_ORIGIN=https://business.harness.stablecoinx.com \
-e SCX_STATE_PASSPHRASE="$(openssl rand -hex 16)" \
-- npx -y @stablecoinx/mcp
Requires Node.js 20+. The setup command and the claude mcp add form above
use Claude Code's claude CLI; other MCP clients register the server through
their own config. THIRDWEB_CLIENT_ID is a public, publishable identifier -
not a secret.
The harness runs on three testnets - pick one via SCX_CHAIN_ID:
| Network | SCX_CHAIN_ID |
|---|---|
| Base Sepolia (default) | 84532 |
| Arbitrum Sepolia | 421614 |
| Ethereum Sepolia | 11155111 |
| Group | Tools |
|---|---|
| Auth & onboarding | auth_status, auth_send_otp, auth_verify_otp, auth_logout, api_key_create, session_key_create |
| Merchant profile | merchant_get, merchant_update |
| API keys | api_keys_list, api_keys_revoke |
| Sessions | sessions_list, sessions_get, sessions_create_dashboard, sessions_create_s2s |
| Paymaster clients | paymaster_clients_list, paymaster_clients_create, paymaster_clients_update, paymaster_clients_revoke |
| Paymaster allowlist | paymaster_allowlist_list, paymaster_allowlist_add, paymaster_allowlist_remove |
| Paymaster usage | paymaster_usage_get |
| Webhooks | webhooks_create, webhooks_list, webhooks_delete, webhooks_rotate_secret, webhooks_deliveries |
In your MCP client:
> Run auth_send_otp with my email you@example.com
> Verify with code 123456
> Show me my merchant profile
auth_send_otp emails a 6-digit code; auth_verify_otp derives the in-app
smart account, signs the SIWE login payload, and caches a 24h JWT in the
encrypted local state file. After 24h, re-run auth_send_otp / auth_verify_otp.
For server-to-server endpoints (sessions_create_s2s), run api_key_create
once to mint and cache an sk_* (no expiry). For future on-chain operations,
run session_key_create to provision a local EOA session key (30-day window).
skills/stablecoinx/ is a bundled skill that generates checkout
integration code (session creation, payment redirect, webhook handler with
HMAC-SHA256 verification) and drives merchant onboarding / verification through
this MCP. setup installs it to ~/.claude/skills/stablecoinx. Invoke it as
/stablecoinx or just ask to integrate StablecoinX payments. It works
with or without the MCP connected - the MCP only accelerates auth/key/webhook
operations.
| Env var | Required | Default (harness) |
|---|---|---|
SCX_API_URL | yes | https://api.harness.stablecoinx.com |
SCX_CHAIN_ID | yes | 84532 (see Supported networks) |
THIRDWEB_CLIENT_ID | yes | 830ece55cd210c34f351166a85edbd0f (publishable) |
THIRDWEB_ORIGIN | yes | https://business.harness.stablecoinx.com |
SCX_STATE_PASSPHRASE | yes | you choose; derives the aes-256-gcm key for the local state file |
SCX_STATE_DIR | no | %APPDATA%\stablecoinx-mcp (Windows) / $XDG_CONFIG_HOME/stablecoinx-mcp |
THIRDWEB_CLIENT_ID together with THIRDWEB_ORIGIN lets a headless Node
process pass thirdweb's Allowed Domains check (Node fetch sends no Origin
by default; an undici interceptor injects it).
<SCX_STATE_DIR>/state.enc - encrypted JSON envelope with up to three slots:
jwt: bearer token + expiry (24h TTL)apiKey: raw sk_* (set by api_key_create)sessionKey: local EOA private key + smart-account address + permission windowEncryption: aes-256-gcm, key via scrypt(SCX_STATE_PASSPHRASE, randomSalt),
file mode 0o600, atomic writes. Anyone with both the state file and the
passphrase can act as the merchant - keep the passphrase out of shell history
and chat transcripts.
npx always resolves the latest published version, so there is nothing to
update manually. To remove:
claude mcp remove stablecoinx-mcp
rm -rf "$SCX_STATE_DIR" # or %APPDATA%\stablecoinx-mcp on Windows
Server-side credentials remain until revoked from the dashboard (API keys) or
via removeSessionKey() from an admin signer (session keys).
All authentication and state stay on the local machine. The only outbound calls
are to the StablecoinX API (Authorization: Bearer ...) and thirdweb endpoints
(OTP / RPC / bundler). No telemetry; nothing is uploaded.
approvedTargets check inside isValidSignature).SCX_STATE_DIR per merchant.FAQs
Model Context Protocol server for StablecoinX. Auth via thirdweb email-OTP, then drive business account CRUD, API keys, payment sessions, paymaster clients/allowlist, and webhooks from any MCP client.
We found that @stablecoinx/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.

Security News
Socket CTO Ahmad Nassri joins AppSec leaders at Black Hat to discuss active malware, package manager risks, and software supply chain defense.

Research
/Security News
Thirteen malicious Packagist themes expose visitors on unpatched iPhones to a WebKit-to-kernel exploit chain that steals device data and wallet seeds.