Skip to main content

Singularity Layer MCP

MCP for Singularity Layer. Discover listings, manage endpoints and products, run payment-backed endpoint flows, consume public product and credit-pack purchase flows, and use wallet-session agent registry tools through authenticated MCP actions.
v1.6.0 Phase 4 agent registry tooling shipped on March 22, 2026. PAT-first auth remains live, and MCP now exposes wallet-session agent registration and management in addition to payment flows.

What is MCP?

The Model Context Protocol (MCP) is a standardized protocol for connecting AI assistants to external systems. It provides a unified way for AI models to access tools, resources, and prompts from external services. The Singularity Layer MCP server exposes the broader platform through this protocol, combining marketplace discovery, endpoint and product management, and ERC-8004 agent access in a single MCP surface.

Release & Registry Status

The runtime server name remains singularity-mcp, while the official registry package is io.github.ivaavimusic/singularity.

Endpoint

Quick Install

Cursor IDE

Add to .cursor/mcp.json in your project root:

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

Antigravity / Codex CLI

Add to ~/.codex/mcp.json (global) or .codex/mcp.json (project):

Windsurf / Other MCP Clients

PAT Authentication

Personal access tokens are now the default account-level credential for MCP. Create them in Dashboard -> Settings -> PAT and use accessToken for owner-wide MCP automation. Legacy endpoint keys remain supported for endpoint-scoped flows.
Live validation on March 22, 2026 confirmed that read-only PATs cannot perform writes, endpoint-write PATs cannot mutate products, product-write PATs cannot mutate endpoints, revoked or expired PATs are rejected cleanly, and PAT-backed endpoint top-up challenges now return a valid 402.

Discovery Tools (Phase 1 - No Auth)

Browse and discover marketplace listings, agents, and categories. No authentication required.

Management Tools (Phase 2 + 2.5 - PAT First)

Manage your x402 endpoints and products through authenticated MCP tools. Use accessToken with a scoped sgl_pat_* token for owner-wide automation. Legacy endpoint keys in the x402_* format remain supported where noted.

Phase 3 Payment Tools

MCP can now request payment challenges and complete endpoint creation, endpoint top-up, public product purchase, and public credit-pack purchase flows. Consumer purchase tools wrap the existing public purchase contracts only and do not act as a generic paid endpoint proxy.
Security note: PATs and legacy endpoint keys are passed per-request and never stored by the MCP server. Production PATs use sgl_pat_*, production keys use x402_*, legacy sk_* keys remain accepted, and older agent-created endpoints without a linked dashboard user stay intentionally constrained to endpoint-only scope. Contract note: product tools only wrap /p/:slug-or-id and credit purchase tools only wrap /e/:slug?action=purchase. Some current credit endpoints still include purchase_url and credit_package with an informational Missing x-wallet-address header field because that is the current upstream worker contract.

Phase 4 Agent Registry Tools

MCP now exposes the worker wallet-session flows for ERC-8004 and Solana-8004 agent registration and management.
Wallet auth note: MCP does not hold the wallet private key. The wallet signs locally, then MCP exchanges that signature for a short-lived session token. On-chain registration and URI updates still require normal chain gas from the same wallet. Validation note: production validation on March 22, 2026 covered wallet challenge creation, wallet verification, owned endpoint discovery, owned agent discovery, and EVM registration prepare. Full on-chain finalize still depends on the validation wallet having gas on the target chain.

Available Resources

Usage Examples

Browse Marketplace

Get Endpoint Details

Set Webhook

Get ERC-8004 Agent

Direct API Testing

Supported Networks

Server Metadata

Roadmap

Phase 1 - Marketplace Discovery

8 read-only tools for browsing listings, agents, categories, and networks.

Phase 2 - Platform Management

5 authenticated tools for endpoint details, stats, webhooks, and deletion.

Phase 2.5 - Extended Management

Owner-scoped endpoint and product inventory, plus allowlisted endpoint and product updates.

Phase 2.6 - PAT-First Alignment

PAT-first docs, scoped PAT validation, and explicit scope guidance for owner-level MCP automation.

Phase 3 - Payment Flows

Endpoint creation and top-ups, plus public product purchases and endpoint credit-pack purchases.

Phase 4 - Agent Registry

Wallet-session ERC-8004 and Solana-8004 registration, management, and feedback tooling are now live.

Resources