# secure MCP server

> Provides a security-hardened MCP interface for Kali Linux using OAuth 2.0, TLS, and strict tool allowlisting to prevent arbitrary command execution.

- Repository: https://github.com/Zer-project/secure-mcp-server
- Page: https://hostedmcp.org/servers/zer-project/secure-mcp-server
- Transport: —
- Stars: 2
- License: Apache-2.0

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `MCP_PORT` | no | no |  |
| `MCP_PUBLIC_HOST` | no | no |  |

## Tools (7)

- `kali_info`
- `system_status`
- `disk_status`
- `memory_status`
- `network_status`
- `network_interfaces`
- `read_text_file`

## FAQ

### Can I run arbitrary commands through this server?

No, the server is designed with no shell access and no command execution endpoints; it only allows a small set of explicitly registered, read-oriented tools.

### Is it safe to expose this server to the public internet?

No, the project is designed for trusted local networks and public internet exposure is not a supported deployment scenario.

### What authentication methods are used?

The server uses OAuth 2.0 Authorization Code and Refresh Token flows with PKCE (S256).

### Are there restrictions on reading files?

Yes, files must stay within the project workspace, absolute paths and path traversals are rejected, and the maximum file size is 1 MiB.
