Ask the agentConsoleDocsTractionArcscan
Open app
Getting started
  • Quickstart
Concepts
  • The Meter & Units
  • Streaming & Proof-of-Flow
  • Citation Toll & Royalty Splits
  • Reputation Bonds
Build
  • sluice-pay SDK
  • MCP server
  • API reference
  • Connectors
  • List your endpoint on the Bazaar
Compatibility
  • RSL & llms.txt
  • Self-hosting the toll sidecar
Trust
  • Changelog
  • FAQ
Resources
Whitepaper (PDF) ↗
Build

MCP server

The Sluice MCP server exposes Sluice as native tools so any MCP-capable agent can discover and pay resources on Arc.

Tools

  • discover_resources, get_price
  • pay_resource — real nanopayment (needs SLUICE_PRIVATE_KEY)
  • get_receipts, register_resource

Run

bash
SLUICE_API=https://sluiceflow.vercel.app/gw SLUICE_PRIVATE_KEY=0x... pnpm --filter @sluice/mcp start

Wire into a client

json
{
  "mcpServers": {
    "sluice": {
      "command": "pnpm",
      "args": ["--filter", "@sluice/mcp", "start"],
      "cwd": "/path/to/Sluice",
      "env": { "SLUICE_API": "https://sluiceflow.vercel.app/gw", "SLUICE_PRIVATE_KEY": "0x..." }
    }
  }
}
Previoussluice-pay SDK
Next API reference
On this page
  • Tools
  • Run
  • Wire into a client