MCP Server Studio
Decode HTTP 402 challenges (L402, x402, MPP) and choose agent payment rails from an open registry.
Registry name: org.402mcp/registry
Add to claude_desktop_config.json:
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "<MCP_402_OFFLINE>"
}
}
}
}Run in your terminal:
claude mcp add registry -e MCP_402_OFFLINE='<MCP_402_OFFLINE>' -- npx -y @402mcp/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "<MCP_402_OFFLINE>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"registry": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "<MCP_402_OFFLINE>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"@402mcp/[email protected]"
],
"env": {
"MCP_402_OFFLINE": "<MCP_402_OFFLINE>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"registry": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://402mcp.org/api/v1/mcp"
]
}
}
}Run in your terminal:
claude mcp add --transport http registry https://402mcp.org/api/v1/mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"registry": {
"url": "https://402mcp.org/api/v1/mcp"
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"registry": {
"type": "http",
"url": "https://402mcp.org/api/v1/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"registry": {
"serverUrl": "https://402mcp.org/api/v1/mcp"
}
}
}| Name | Required | What it is |
|---|---|---|
MCP_402_OFFLINE | No | Set to 1 to use the bundled registry snapshot and never fetch. |