New:Socket for Asana Is Now Available.Learn more
Get Started

@sidclaw/mcp-tools

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sidclaw/mcp-tools

MCP server that exposes SidClaw governance as tools — any MCP-compatible agent gets policy checks, approvals, and audit traces.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
12
Maintainers
1
Weekly downloads
 
Created
Source

@sidclaw/mcp-tools

MCP server that exposes SidClaw governance as callable tools — the complement to the transparent MCP proxy shipped with @sidclaw/sdk.

Where the proxy wraps an upstream MCP server and gates its tools, this server provides governance primitives (evaluate, record, approve, policies) that any MCP-aware agent can call directly. Use it with Claude Code, Claude Desktop, or any MCP host.

MIT licensed.

Install

npx @sidclaw/mcp-tools --version

Configure (Claude Code / Claude Desktop)

Add to your MCP config:

{
  "mcpServers": {
    "sidclaw": {
      "command": "npx",
      "args": ["-y", "@sidclaw/mcp-tools"],
      "env": {
        "SIDCLAW_BASE_URL": "https://api.sidclaw.com",
        "SIDCLAW_API_KEY": "ai_your_key_here",
        "SIDCLAW_AGENT_ID": "claude-code"
      }
    }
  }
}

Restart your MCP host. The agent can now call:

ToolWhat it does
sidclaw_evaluatePre-action policy check. Returns allow / approval_required / deny.
sidclaw_recordLog an action outcome (success/error + token usage).
sidclaw_approveBlock until a human decides on a flagged action.
sidclaw_policiesList active policies.
sidclaw_session_startRegister a session.
sidclaw_session_endClose a session.

Plus three resources:

  • sidclaw://policies — active rules
  • sidclaw://status — instance health
  • sidclaw://agent/{agent_id}/history — last 50 traces for an agent

Environment

VariableRequiredDefault
SIDCLAW_BASE_URLyes
SIDCLAW_API_KEYyes
SIDCLAW_AGENT_IDnoclaude-code
SIDCLAW_MCP_NAMEnosidclaw-mcp-tools

When to use this vs the MCP proxy

ScenarioPick
Wrap an existing MCP server (Postgres, filesystem, GitHub)@sidclaw/sdksidclaw-mcp-proxy
Give the agent explicit governance tools to call@sidclaw/mcp-tools (this)
You want both — agent self-governs AND downstream MCPs are gatedLoad both servers

Both approaches are complementary and can run side-by-side.

Develop

npm install
npm test       # vitest unit tests
npm run build  # tsup → dist/
npm run typecheck

Keywords

mcp

FAQs

Package last updated on 17 Apr 2026

Related posts