T
Tollpay

Available Tools

Monetized MCP tools on the Watchdog Lite demo server

health_check

Utility
FREE

Server status, version, and available tools. Use to verify the MCP server is running and discover its capabilities.

FREE

search_competitors

Intelligence
X402

Search a competitive intelligence database. Returns company profiles with strengths, pricing, market position, and recent updates.

$0.01USDC

analyze_sentiment

AI Analysis
X402

AI-powered sentiment analysis of any URL. Uses Claude to extract tone, confidence, themes, and a one-sentence summary.

$0.02USDC

compare_products

Intelligence
MPP

Side-by-side product comparison with pricing, strengths, weaknesses, integrations, and a recommendation.

$0.05USDC

Add Your Own Tools

Wrap any MCP server with Toll to start charging for tool calls

server.ts
import express from "express"
import { StreamableHTTPServerTransport } from "@modelcontextprotocol/sdk/server/streamableHttp.js"
import { tollMiddleware, loadConfig, createHealthRoutes } from "@rajkaria123/toll-gateway"

const config = loadConfig("./toll.config.json")
const app = express()

app.use(express.json())
app.use("/mcp", tollMiddleware(config))    // paywall + spending policy
app.use(createHealthRoutes(config))        // /health, /health/tools, /cost

app.post("/mcp", async (req, res) => {
  const transport = new StreamableHTTPServerTransport({ sessionIdGenerator: undefined })
  await mcpServer.connect(transport)
  await transport.handleRequest(req, res, req.body)
})

app.listen(3002)