m2mcent-sdk MCP
An ultra-lightweight x402 payment wrapper for AI Agents and MCP Servers that enables USDC settlements on Base L2. It allows developers to monetize any API or MCP tool endpoint by intercepting requests, requiring payment via EIP-712 signed authorization, and settling atomically on-chain via an escrow contract.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Monetize API endpoints with USDC micropayments
- Integrate x402 payment protocol into MCP servers
- Settle payments atomically on Base L2
- Enable gasless payments for AI agents using EIP-3009
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
m2mcent-sdk 1.0.5
{
"version": "1.0.5",
"transport": "stdio",
"identifier": "m2mcent-sdk",
"registryType": "npm",
"environmentVariables": [
{
"name": "BASE_RPC_URL",
"format": "string",
"isRequired": true,
"description": "Base Mainnet RPC endpoint URL"
},
{
"name": "RELAYER_PRIVATE_KEY",
"format": "string",
"isRequired": true,
"description": "Relayer wallet private key for on-chain settlement"
},
{
"name": "TREASURY_ADDRESS",
"format": "string",
"isRequired": true,
"description": "Treasury wallet address to receive payments"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"m2mcent-sdk-mcp": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk@1.0.5"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<YOUR_RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<YOUR_TREASURY_ADDRESS>"
}
}
}
}Cline
{
"mcpServers": {
"m2mcent-sdk-mcp": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk@1.0.5"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<YOUR_RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<YOUR_TREASURY_ADDRESS>"
}
}
}
}VS Code
{
"servers": {
"m2mcent-sdk-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"m2mcent-sdk@1.0.5"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<YOUR_RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<YOUR_TREASURY_ADDRESS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"m2mcent-sdk-mcp": {
"command": "npx",
"args": [
"-y",
"m2mcent-sdk@1.0.5"
],
"env": {
"BASE_RPC_URL": "<YOUR_BASE_RPC_URL>",
"RELAYER_PRIVATE_KEY": "<YOUR_RELAYER_PRIVATE_KEY>",
"TREASURY_ADDRESS": "<YOUR_TREASURY_ADDRESS>"
}
}
}
}Let your agent find its tools
Find servers like m2mcent-sdk MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.