Skip to content
MCP server

MCPSentinel

Precision-first security scanning for Model Context Protocol servers.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.8.8
Listing updated
6 days ago

About MCPSentinel

MCPSentinel is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcpsentinel --env MCPSENTINEL_ALLOWED_HOSTS='<MCPSENTINEL_ALLOWED_HOSTS>' -- uvx mcp-guardian-scan

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcpsentinel": {
      "command": "uvx",
      "args": [
        "mcp-guardian-scan"
      ],
      "env": {
        "MCPSENTINEL_ALLOWED_HOSTS": "<MCPSENTINEL_ALLOWED_HOSTS>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcpsentinel": {
      "command": "uvx",
      "args": [
        "mcp-guardian-scan"
      ],
      "env": {
        "MCPSENTINEL_ALLOWED_HOSTS": "<MCPSENTINEL_ALLOWED_HOSTS>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcpsentinel": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-guardian-scan"
      ],
      "env": {
        "MCPSENTINEL_ALLOWED_HOSTS": "<MCPSENTINEL_ALLOWED_HOSTS>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcpsentinel": {
      "command": "uvx",
      "args": [
        "mcp-guardian-scan"
      ],
      "env": {
        "MCPSENTINEL_ALLOWED_HOSTS": "<MCPSENTINEL_ALLOWED_HOSTS>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcpsentinel": {
      "command": "uvx",
      "args": [
        "mcp-guardian-scan"
      ],
      "env": {
        "MCPSENTINEL_ALLOWED_HOSTS": "<MCPSENTINEL_ALLOWED_HOSTS>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MCPSENTINEL_ALLOWED_HOSTSComma-separated MCP server hostnames, optionally with an exact port, that the MCP-native scanner may connect to.Required
  • MCPSENTINEL_ALLOW_PRIVATE_HTTP_TARGETSSet to true only to permit an explicitly allowlisted private or reserved HTTP address in a trusted local network.

Pricing

Open source

MCPSentinel FAQ

Is MCPSentinel free?

Yes. MCPSentinel is open source, so you can use and self-host it for free.

How do I add MCPSentinel to Claude Code?

Run this command in your terminal: claude mcp add mcpsentinel --env MCPSENTINEL_ALLOWED_HOSTS='<MCPSENTINEL_ALLOWED_HOSTS>' -- uvx mcp-guardian-scan

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers