Skip to content

Nmap doesn’t work - requires add-cap=NET_ADMIN #7

@moconnor-leavened

Description

@moconnor-leavened

nmap doesn’t work on the kali MCP server. I tried adding the —privileged flag and add-cap=NET_ADMIN flags to the docker run mcp gateway command in the claud config.

@theNetworkChuck seems to not add any privilege flags or CAP flags and it just works for him?

I tested my Kali mcp server with the CAP flag and it works so that’s definitely this issue. I searched the mcp gateway docs and couldn’t find anywhere where you can add that flag to a config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions