Skip to main content
Glama
declaw-ai

declaw-mcp-server

Official
by declaw-ai

Declaw MCP Server

MCP server for Declaw — secure sandbox execution for AI agents with network policies, PII scanning, prompt injection defense, and audit logging.

Works with Claude Desktop, Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.

Quick Start

Claude Desktop / Cursor / Windsurf

Add to your MCP config:

{
  "mcpServers": {
    "declaw": {
      "command": "npx",
      "args": ["-y", "@declaw/mcp-server"],
      "env": {
        "DECLAW_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code

claude mcp add declaw -- npx -y @declaw/mcp-server

Set DECLAW_API_KEY in your environment.

Related MCP server: MCP Code Mode

Tools

Tool

Description

create_sandbox

Create a secure sandbox with configurable security policies

run_command

Execute a shell command inside a sandbox

read_file

Read a file from a sandbox

write_file

Write a file to a sandbox

list_files

List directory contents in a sandbox

kill_sandbox

Destroy a sandbox

list_sandboxes

List all active sandboxes

Security Presets

When creating a sandbox, choose a security preset:

  • none — No guardrails. Full internet access.

  • standard (default) — PII scanning + audit logging. Full internet access.

  • strict — PII scanning + prompt injection defense + audit logging + network deny-all.

You can also pass allowed_domains to restrict outbound traffic to specific domains:

create_sandbox with template="python", security_preset="strict", allowed_domains=["pypi.org", "github.com"]

Why Declaw?

Declaw

Other Sandbox Providers

Sandbox execution

Yes

Yes

Non-bypassable network controls

Yes

??

PII scanning

Yes

No

Injection defense

Yes

No

Full audit trail

Yes

Basic

Snapshots

Yes

Varies

Multiple templates

8 built-in

Varies

Interactive stdio

Yes

Varies

Environment Variables

Variable

Required

Description

DECLAW_API_KEY

Yes

Your Declaw API key

DECLAW_DOMAIN

No

Custom API domain (for on-prem deployments)

On-Prem

For self-hosted Declaw deployments, set the domain:

{
  "mcpServers": {
    "declaw": {
      "command": "npx",
      "args": ["-y", "@declaw/mcp-server"],
      "env": {
        "DECLAW_API_KEY": "your-api-key",
        "DECLAW_DOMAIN": "declaw.internal.company.com"
      }
    }
  }
}

License

Apache-2.0

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    F
    maintenance
    A secure, container-based implementation of the Model Context Protocol (MCP) that provides sandboxed environments for AI systems to safely execute code, run commands, access files, and perform web operations.
    Last updated
    22
    Apache 2.0
  • A
    license
    -
    quality
    C
    maintenance
    Enables AI agents to execute arbitrary Python code securely in a sandboxed environment with resource limits and security constraints via MCP protocol.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud

  • An MCP server for Arcjet - the runtime security platform that ships with your AI code.

  • Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/declaw-ai/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server