{"uid":"cap_2gDNnCgV2PRLEFWG4z_lt","slug":"x402-mcp-server-template-retrieval-36773039","name":"x402 MCP Server Template Retrieval","description":"Complete working x402 MCP server template. Returns package.json + index.js + setup instructions. Replace one URL and deploy your own x402 MCP in 5 minutes.","url":"https://code-toll-production.up.railway.app/template?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gQHly77fKY8HiynIMW07r","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a complete, ready-to-deploy x402 MCP server template including package.json, index.js, and setup instructions","exampleAgentPrompt":"Can you grab the x402 MCP server template so I can deploy my own paywall-enabled MCP server? I just need the package.json, index.js, and setup steps.","exampleUseCases":[{"title":"Bootstrapping a paid MCP server","prompt":"I want to monetize my own MCP tool with x402 micropayments — can you fetch the MCP server template so I have the full package.json and index.js to start from?"},{"title":"Learning x402 payment integration","prompt":"I'm new to x402 and want to understand how to add payment gating to an MCP server — can you pull down the template code and setup instructions so I can study how it works?"},{"title":"Rapid deployment of x402 MCP","prompt":"I need to get an x402 MCP server live as fast as possible on Railway — fetch me the ready-to-deploy template with all the files and setup guide so I can replace the URL and push it."}],"resultDescription":"Returns a complete MCP server template bundle containing a package.json file, an index.js file, and step-by-step setup instructions. The template is designed for x402 payment integration and can be deployed in approximately 5 minutes by substituting a single URL.","failureModes":["Service unavailable if Railway deployment is down or cold-starting (503/504)","Payment not processed correctly (402 error if x402 payment header is missing or invalid)","Network timeout if the Railway instance is sleeping"],"whenToPreferThis":"Choose this endpoint when you need a ready-made, deployable x402 MCP server template rather than writing one from scratch. Ideal for developers who want to monetize an MCP endpoint with micropayments quickly without manually wiring up x402 protocol handling. Prefer this over generic code generation when you specifically need x402 MCP boilerplate with known-good configuration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T12:31:31.847Z","isFirstParty":false,"canonicalSlug":"x402-mcp-server-template-retrieval-36773039"}