← Back to Docs

MCP Integration

Connect Slaash to Claude Desktop, Cursor, or VS Code via the Model Context Protocol.

Authentication required. The MCP endpoint requires an API key or OAuth token. Get your credentials at /keys.

Claude Connector (recommended)

The easiest way to connect. Claude auto-discovers OAuth via /.well-known/oauth-authorization-server.

Automatic setup

In Claude → Settings → Connectors → Add custom connector, enter:

https://www.slaash.ai/mcp

Claude handles OAuth registration and token exchange automatically.

Manual setup (advanced)

If your client requires explicit credentials, go to /keys and click "Generate OAuth credentials" to get:

Client ID:     cid_xxxxxxxxxxxx
Client Secret: xxxxxxxxxxxxxxxxxxxx
Token URL:     https://www.slaash.ai/oauth/token
Authorize URL: https://www.slaash.ai/oauth/authorize

Enter these in the connector's advanced settings.

API Key setup

For clients that don't support OAuth, use a Bearer API key directly.

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "slaash": {
      "url": "https://www.slaash.ai/mcp",
      "headers": {
        "Authorization": "Bearer sk-your-key-here"
      }
    }
  }
}

Cursor / VS Code

Add to your MCP settings (Settings → MCP Servers):

{
  "name": "slaash",
  "url": "https://www.slaash.ai/mcp",
  "headers": { "Authorization": "Bearer sk-your-key-here" }
}

Available Tools

12 agent primitives exposed as MCP tools:

ToolDescription
slaash.extractURL + goal → ranked answer nodes (CRFR)
slaash.searchWeb search + deep parse
slaash.crawlMulti-page intelligent crawl
slaash.actClick, fill forms, extract structured data
slaash.planDecompose goals into action steps
slaash.streamToken-efficient streaming for large pages
slaash.diffCompare page snapshots, return changes
slaash.renderScreenshot a page (Blitz or Chrome)
slaash.linksDiscover and rank links
slaash.exploreFind hidden API endpoints (XHR/fetch)
slaash.learnTeach which nodes were correct (feedback)
slaash.inspectSecurity scan (injection + firewall)

Example conversation

Once connected, Claude can use Slaash tools directly:

User: "What's the current Bitcoin price?"

Claude: I'll use slaash.extract to check.
[calls slaash.extract with url=coinmarketcap.com, goal="bitcoin price USD"]

Result: $67,432.15 (from 3 ranked nodes, 99.2% token savings)

Rate limits

MCP requests count against your API key's rate limits (60 req/min, 1,000 req/day on free tier). Monitor usage at /usage.