Skip to main content
Glama

NetExec MCP Server

MCP License: MIT TypeScript NetExec

A Model Context Protocol (MCP) server that provides AI assistants with access to NetExec (nxc), the powerful network execution and penetration testing tool formerly known as CrackMapExec.

Features

This MCP server enables AI assistants to execute NetExec commands via SSH to a Kali Linux machine, supporting:

Protocol

Capabilities

SMB

Windows enumeration, credential dumping (SAM/LSA/NTDS), command execution, pass-the-hash

WinRM

Remote Windows management, PowerShell execution, credential dumping

SSH

Linux/Unix authentication, key-based auth, remote command execution

LDAP

Active Directory enumeration, Kerberoasting, ASREPRoast, BloodHound collection

MSSQL

SQL Server queries, xp_cmdshell execution, login enumeration

RDP

Credential validation, screenshot capture

WMI

Windows Management Instrumentation command execution

Additional features:

  • Password spraying across all protocols

  • Module management and execution

  • SMB share enumeration and file operations

  • NetExec credential database queries

Related MCP server: redteam-mcp

Prerequisites

  • Node.js 18+

  • SSH access to a Kali Linux machine with NetExec installed

  • SSH key-based authentication (recommended) or password

Installation

# Clone the repository
git clone https://github.com/schwarztim/sec-netexec-mcp.git
cd sec-netexec-mcp

# Install dependencies
npm install

# Build the project
npm run build

Configuration

Environment Variables

Variable

Description

Default

KALI_HOST

SSH hostname or IP for Kali machine

kali

SSH_USER

SSH username

(none)

SSH_KEY

Path to SSH private key file

(none)

SSH_TIMEOUT

Command timeout in seconds

300

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "netexec": {
      "command": "node",
      "args": ["/path/to/sec-netexec-mcp/dist/index.js"],
      "env": {
        "KALI_HOST": "your-kali-host",
        "SSH_USER": "kali",
        "SSH_KEY": "/path/to/ssh/key"
      }
    }
  }
}

Available Tools

nxc_smb

SMB protocol operations including enumeration, share listing, user/group/session enumeration, credential dumping (SAM, LSA, NTDS), and command execution.

nxc_winrm

WinRM remote management for authentication testing, cmd/PowerShell execution, and credential dumping.

nxc_ssh

SSH protocol for authentication testing, key-based auth, and remote command execution.

nxc_ldap

LDAP/Active Directory operations including user/group/computer enumeration, Kerberoasting, ASREPRoast, BloodHound collection, and trust enumeration.

nxc_mssql

SQL Server operations including queries, xp_cmdshell execution, and login enumeration.

nxc_rdp

RDP credential validation and screenshot capture.

nxc_wmi

WMI-based command execution on Windows targets.

nxc_modules

List and query available NetExec modules for each protocol.

nxc_spray

Password spraying with configurable options including user/password lists, jitter, and continue-on-success.

nxc_shares

SMB share enumeration and file operations (spider, get, put).

nxc_raw

Execute raw NetExec commands for advanced scenarios not covered by other tools.

nxc_database

Query the NetExec credential database for stored hosts and credentials.

Usage Examples

Enumerate SMB Hosts

{
  "tool": "nxc_smb",
  "arguments": {
    "target": "192.168.1.0/24"
  }
}

List Shares with Credentials

{
  "tool": "nxc_smb",
  "arguments": {
    "target": "192.168.1.10",
    "username": "admin",
    "password": "P@ssw0rd",
    "domain": "CORP",
    "action": "shares"
  }
}

Pass-the-Hash Attack

{
  "tool": "nxc_smb",
  "arguments": {
    "target": "192.168.1.10",
    "username": "admin",
    "hash": "aad3b435b51404eeaad3b435b51404ee:5fbc3d5fec8206a30f4b6c473d68ae76",
    "domain": "CORP",
    "action": "shares"
  }
}

Password Spray

{
  "tool": "nxc_spray",
  "arguments": {
    "protocol": "smb",
    "target": "192.168.1.0/24",
    "userList": "/tmp/users.txt",
    "password": "Summer2024!",
    "domain": "CORP",
    "continueOnSuccess": true
  }
}

BloodHound Collection

{
  "tool": "nxc_ldap",
  "arguments": {
    "target": "dc01.corp.local",
    "username": "user",
    "password": "password",
    "domain": "CORP",
    "action": "bloodhound",
    "bloodhoundCollection": "All"
  }
}

Dump NTDS from Domain Controller

{
  "tool": "nxc_smb",
  "arguments": {
    "target": "dc01.corp.local",
    "username": "admin",
    "password": "P@ssw0rd",
    "domain": "CORP",
    "action": "ntds"
  }
}

Security Considerations

This tool is intended for authorized security testing only. Always ensure you have:

  • Written authorization to test target systems

  • Proper scope definition for penetration testing engagements

  • Compliance with applicable laws and regulations

Never use this tool against systems you do not have explicit permission to test.

Development

# Watch mode for development
npm run dev

# Build for production
npm run build

# Start the server
npm start

Architecture

┌─────────────────┐     ┌──────────────────┐     ┌────────────────┐
│   AI Assistant  │────▶│  NetExec MCP     │────▶│  Kali Linux    │
│  (Claude, etc.) │     │  Server (Node.js)│ SSH │  (nxc)         │
└─────────────────┘     └──────────────────┘     └────────────────┘
                              │
                              │ stdio
                              ▼
                        ┌──────────────┐
                        │ MCP Protocol │
                        └──────────────┘

References

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This software is provided for educational and authorized security testing purposes only. The authors are not responsible for any misuse or damage caused by this program. Users are responsible for ensuring compliance with all applicable laws and regulations.

Available Tools

12 tools
nxc_databaseC

Query the NetExec database for stored credentials and hosts.

ParametersJSON Schema
NameRequiredDescriptionDefault
protocolYesProtocol database to query
actionYesAction to perform
exportFormatNoExport format (for export action)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must cover behavioral traits. It implies a read operation but omits whether 'export' action writes files or just formats output. No mention of safety, permissions, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence with no superfluous content. Efficiently conveys the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Lacks information about return values or behavior of each action (hosts, creds, export). With no output schema, the description should elaborate on results but does not. Incomplete for practical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% with all parameters documented adequately. The description adds no extra meaning beyond the schema, warranting the baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Query the NetExec database for stored credentials and hosts' clearly states the action (query) and resource (database). It implies retrieval of historical data, differentiating it from siblings that perform live protocol operations, though it does not explicitly contrast.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus sibling tools like nxc_smb or nxc_ldap. The description lacks any indication of prerequisites, typical use cases, or alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_ldapB

Execute NetExec LDAP protocol commands for Active Directory enumeration, including users, groups, Kerberoasting, and BloodHound collection.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget domain controller IP or hostname
usernameNoUsername for authentication
passwordNoPassword for authentication
hashNoNTLM hash for pass-the-hash
domainNoDomain name
actionNoAction to perform
bloodhoundCollectionNoBloodHound collection method (All, DCOnly, etc.)
moduleNoModule to run (e.g., adcs, daclread, maq)
outputFileNoOutput file path for results
threadsNoNumber of concurrent threads

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, and the description does not disclose behavioral traits such as read-only vs. destructive actions, authentication requirements, rate limits, or side effects. The description simply states 'execute commands' without clarifying impact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that front-loads the main purpose. No extraneous information is present.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 10 parameters, a rich enum, and no output schema, the description is too brief to be fully informative. It fails to explain how actions work, output format, or error handling, making it incomplete for a complex tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage for all 10 parameters. The description adds examples of actions (users, groups, etc.) but does not significantly enhance meaning beyond the schema's own descriptions. With full schema coverage, the description's incremental value is limited.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool executes NetExec LDAP protocol commands for Active Directory enumeration, listing specific actions like users, groups, Kerberoasting, and BloodHound collection. This distinguishes it from sibling tools that target other protocols (e.g., SMB, RDP).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this LDAP tool versus alternatives like nxc_smb or nxc_ldap is implied, but no explicit conditions, prerequisites, or exclusions are mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_modulesB

List or get information about available NetExec modules for a protocol.

ParametersJSON Schema
NameRequiredDescriptionDefault
protocolYesProtocol to list modules for
moduleNameNoSpecific module name to get info about

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavior but only states 'list or get information' without confirming read-only nature, output format, error handling, or any side effects. This is insufficient for an AI agent to understand implications of invocation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no redundant words. It front-loads the verb and resource, making it efficient for an agent to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple listing tool, the description gives the core function but lacks details about return values, error cases (e.g., invalid protocol), and pagination or limits. Given no output schema, agents may be uncertain about the response structure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both parameters. The tool description adds context about the operation (list vs get info) but does not provide additional parameter semantics beyond what the schema already offers, meeting the baseline for high coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool lists or gets information about NetExec modules for a protocol, distinguishing it from sibling tools like nxc_smb or nxc_ldap which focus on specific protocol operations rather than module discovery. However, it does not explicitly contrast with other module-related tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus siblings like nxc_shares or nxc_spray. It does not mention prerequisites, scenarios, or when not to use it, leaving the agent without decision support for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_mssqlB

Execute NetExec MSSQL protocol commands for SQL Server enumeration and command execution.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget SQL Server IP or hostname
usernameNoSQL username (or Windows user)
passwordNoPassword for authentication
domainNoDomain for Windows authentication
localAuthNoUse SQL Server authentication instead of Windows
queryNoSQL query to execute
commandNoOS command to execute via xp_cmdshell
moduleNoModule to run (e.g., enum_logins, enum_impersonate)
threadsNoNumber of concurrent threads

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavioral traits but only vaguely implies command execution; no details on destructive potential, authentication requirements, or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, front-loaded with purpose, no unnecessary words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 9 parameters and no output schema, the description is too sparse; it omits common use cases, return format, and error behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers 100% of parameters with descriptions, so the tool description adds no extra meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool executes NetExec MSSQL protocol commands for SQL Server enumeration and command execution, distinguishing it from sibling tools focused on other protocols like SMB or LDAP.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives; lacks context on prerequisites, typical scenarios, or situations where other tools would be preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_rawA

Execute a raw NetExec command with full control over all arguments. Use for advanced scenarios not covered by other tools.

ParametersJSON Schema
NameRequiredDescriptionDefault
commandYesFull nxc command (without 'nxc' prefix)

TDQS

A3.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It implies full control over arguments but does not disclose potential destructive behavior, side effects, or safety risks. The agent is left unaware of the implications of executing arbitrary NetExec commands.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two concise sentences: the first defines the purpose, the second provides usage guidance. No redundant or extraneous information. Every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers purpose and usage but lacks details on return values, potential side effects, or prerequisites. Given the tool's raw execution nature and lack of output schema/annotations, more context would be beneficial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% as the single parameter is described. The description adds 'full control over all arguments' but this is a general statement, not specific to the parameter. It does not provide additional meaning beyond the schema description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Execute a raw NetExec command with full control over all arguments', specifying the verb 'Execute' and the resource 'NetExec command'. It also distinguishes from sibling tools by stating 'Use for advanced scenarios not covered by other tools.'

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly says to use this tool for advanced scenarios not covered by other tools, implying when to use. It does not provide explicit exclusions or list alternative tools, but the contrast is clear given the list of specialized sibling tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_rdpB

Execute NetExec RDP protocol commands for credential validation and screenshot capture.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP, hostname, or CIDR range
usernameNoUsername for authentication
passwordNoPassword for authentication
hashNoNTLM hash for pass-the-hash
domainNoDomain name
screenshotNoTake screenshot of RDP session
threadsNoNumber of concurrent threads

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It lacks details on destructive potential, rate limits, authentication behavior, or what 'execute commands' entails, leaving significant ambiguity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Very concise single sentence with no wasted words. However, it omits important context, so conciseness is a slight penalty for under-specification.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and no annotations, the description fails to explain return values, error handling, or behavioral outcomes. A credential validation tool needs more detail for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All 7 parameters have schema descriptions, so baseline is 3. The tool description adds minimal value 'credential validation and screenshot capture' but does not enrich parameter meaning beyond schema defaults.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool executes NetExec RDP commands for credential validation and screenshot capture, and distinguishes it from sibling tools that handle other protocols like LDAP, SMB, etc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool vs alternatives. No exclusions or context about prerequisites, making it hard for an agent to decide between nxc_rdp and other netexec tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_sharesC

Enumerate and interact with SMB shares on target systems.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP, hostname, or CIDR range
usernameNoUsername for authentication
passwordNoPassword for authentication
hashNoNTLM hash for pass-the-hash
domainNoDomain name
actionNoAction to perform on shares
shareNoSpecific share to interact with
patternNoFile pattern for spider/search (e.g., '*.txt')
depthNoSpider depth (default: 5)
localFileNoLocal file path for get/put operations
remoteFileNoRemote file path for get/put operations
threadsNoNumber of concurrent threads

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must disclose behavioral traits, but it only states a high-level goal. It does not mention authentication complexity, potential for destructive actions (e.g., put operations), rate limits, or output format. The agent cannot infer safety or side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single short sentence, but it is under-specified. It wastes no words, but it fails to provide necessary detail about actions or parameters, making it insufficiently informative for an agent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 12 parameters, multiple actions, and no output schema or annotations, the description is woefully incomplete. It does not explain the 'action' enum, file operations, or result format, leaving critical gaps for correct tool usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema covers all 12 parameters with descriptions, so the baseline is 3. The description adds no additional semantic context beyond the schema; it merely summarizes the tool's general functionality.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly identifies the tool's purpose: enumerating and interacting with SMB shares. It uses specific verbs ('enumerate', 'interact') and a specific resource ('SMB shares'), which helps differentiate from sibling tools like nxc_smb that handle broader SMB operations. However, it does not explicitly contrast with siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives (e.g., nxc_smb for general SMB). The description lacks any context about prerequisites, limitations, or exclusivity, leaving the agent without decision-making support.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_smbB

Execute NetExec SMB protocol commands for Windows enumeration, credential validation, command execution, and credential dumping. Supports pass-the-hash attacks.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP, hostname, CIDR range, or file path containing targets
usernameNoUsername for authentication
passwordNoPassword for authentication
hashNoNTLM hash for pass-the-hash (format: LM:NT or :NT)
domainNoDomain name for authentication
localAuthNoUse local authentication instead of domain
actionNoAction to perform
commandNoCommand to execute (for exec-cmd or exec-ps actions)
moduleNoModule to run (e.g., lsassy, mimikatz, spider_plus)
moduleOptionsNoModule options (key=value format)
continueOnSuccessNoContinue spraying after successful auth
threadsNoNumber of concurrent threads (default: 100)

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It mentions credential dumping and pass-the-hash but does not disclose risks (e.g., account lockout, admin requirements) or non-obvious behaviors. The dangerous actions (sam, lsa, ntds) are listed without warnings.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences clearly convey purpose and a key feature (pass-the-hash). No redundant information. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex tool with 12 parameters and no output schema, the description is too brief. It omits common usage patterns, error behavior, privilege requirements, and output expectations, leaving the agent under-informed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description adds high-level context (enumeration, validation, etc.) but does not explain when to use specific actions or parameter interactions beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it executes NetExec SMB protocol commands for enumeration, validation, execution, and dumping, and explicitly mentions pass-the-hash. This distinguishes it from sibling tools targeting other protocols (e.g., nxc_ldap, nxc_mssql).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives, no prerequisites, and no scenarios. It only lists capabilities without contextual advice.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_sprayC

Perform password spraying attacks across multiple targets with configurable options.

ParametersJSON Schema
NameRequiredDescriptionDefault
protocolYesProtocol to use for spraying
targetYesTarget IP, hostname, CIDR range, or file path
userListNoPath to file containing usernames (one per line)
usernameNoSingle username to test
passwordListNoPath to file containing passwords (one per line)
passwordNoSingle password to test
domainNoDomain name
continueOnSuccessNoContinue after finding valid credentials
nobruteforceNoAvoid brute force by pairing user:pass from lists
threadsNoNumber of concurrent threads
jitterNoRandom delay between connections (e.g., '0-5')

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. It only mentions 'configurable options' without disclosing the intrusive nature of password spraying, potential account lockouts, or legal implications. The schema parameters have descriptions, but the description adds no behavioral context beyond that.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise, but it lacks structure and front-loading of key information. It could benefit from a brief sentence on output or prerequisites.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters, no output schema, and no annotations, the description is incomplete. It does not explain the output format, success indicators, or required target format (e.g., IP vs file). Critical context for a security testing tool is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% (all 11 parameters have descriptions). The tool description adds no additional parameter semantics, achieving the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it performs password spraying attacks across multiple targets, using the verb 'perform' and resource 'spray'. However, it does not distinguish this tool from the many protocol-specific sibling tools (e.g., nxc_smb, nxc_ssh), which also could perform spraying within their protocol.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus the protocol-specific siblings. It does not mention when not to use it or suggest alternatives, leaving an agent without decision support for tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_sshA

Execute NetExec SSH protocol commands for Linux/Unix enumeration and command execution.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP, hostname, CIDR range, or file path containing targets
usernameNoUsername for authentication
passwordNoPassword for authentication
keyFileNoPath to SSH private key file
portNoSSH port (default: 22)
commandNoCommand to execute on target
threadsNoNumber of concurrent threads

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, but the description accurately characterizes the tool as executing commands over SSH, implying network activity and authentication. It does not disclose error handling or side effects, but the core behavior is well communicated.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, concise sentence that conveys the tool's purpose without unnecessary words. The structure is front-loaded with the action and resource.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

While the description covers the core purpose, it lacks details on return values, error behavior, or prerequisites. With no output schema, some explanation of expected output would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. The description does not add significant meaning beyond what the schema provides, other than associating the 'command' parameter with execution. No additional semantic enrichment.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Execute', the resource 'NetExec SSH protocol commands', and the target domain 'Linux/Unix enumeration and command execution'. It effectively distinguishes from sibling tools which target other protocols (SMB, LDAP, etc.).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for SSH enumeration/execution on Linux/Unix systems but does not explicitly state when to use this tool over alternatives or provide any exclusions. The context is clear due to sibling differentiation, but explicit guidance is missing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_winrmB

Execute NetExec WinRM protocol commands for remote Windows management and command execution.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP, hostname, CIDR range, or file path containing targets
usernameNoUsername for authentication
passwordNoPassword for authentication
hashNoNTLM hash for pass-the-hash
domainNoDomain name for authentication
actionNoAction to perform
commandNoCommand to execute
threadsNoNumber of concurrent threads

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but only vaguely mentions execution without disclosing potential destructive actions, authentication requirements, or rate limits. The action enum includes 'sam' and 'lsa' which imply sensitive operations, yet no warning is given.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no wasted words, but it is too brief, lacking key details. Still, it achieves conciseness without being ambiguous.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 8 parameters including enums with actions like 'sam' and 'lsa', and no output schema, the description is too sparse to guide the agent on how to use the tool effectively across different actions.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description itself adds no additional meaning beyond the schema, thus no extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool executes NetExec WinRM protocol commands for remote Windows management and command execution, using specific verb ('Execute') and resource ('NetExec WinRM protocol commands'), and distinguishes from siblings by specifying the WinRM protocol.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives like nxc_smb or nxc_wmi, nor any prerequisites or when-not-to-use scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

nxc_wmiB

Execute NetExec WMI protocol commands for Windows management and command execution.

ParametersJSON Schema
NameRequiredDescriptionDefault
targetYesTarget IP, hostname, or CIDR range
usernameNoUsername for authentication
passwordNoPassword for authentication
hashNoNTLM hash for pass-the-hash
domainNoDomain name
commandNoCommand to execute
threadsNoNumber of concurrent threads

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must fully describe behavioral traits. It only states the basic action (execute commands) without disclosing potential side effects, authentication methods, required permissions, or any destructive nature. The description is too minimal to provide transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, concise and front-loaded. While it lacks depth, it is not verbose and wastes no words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a command execution tool with 7 parameters, no annotations, and no output schema, the description is insufficient. It fails to explain return values, error handling, security considerations, or any common usage patterns. The description feels incomplete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Input schema has 100% description coverage, so each parameter is already documented. The tool description adds no additional meaning beyond the schema, earning a baseline score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool executes NetExec WMI protocol commands for Windows management and command execution. It uses a specific verb and resource and distinguishes itself from sibling tools like nxc_smb or nxc_ldap by naming WMI.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives (e.g., WinRM, SMB). There is no mention of prerequisites or scenarios where WMI is preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

A3.5/5.0
Disambiguation5/5

Each tool targets a distinct protocol or feature (e.g., LDAP, MSSQL, SMB, spraying) with clear scope. The only potential overlap is between nxc_smb and nxc_shares, but the descriptions differentiate them well (general SMB vs. share enumeration).

Naming Consistency5/5

All tools follow the consistent 'nxc_<protocol/feature>' pattern, using lowercase with underscores. This uniform naming convention makes the tool set predictable and easy to navigate.

Tool Count5/5

With 12 tools covering major protocols (LDAP, MSSQL, RDP, SMB, SSH, WinRM, WMI) plus auxiliary features (database, modules, shares, spray, raw), the count is well-scoped for a security enumeration/execution server.

Completeness4/5

The tool set covers core NetExec protocols and common attack vectors (password spraying, credential dumping, command execution). Minor gaps exist (e.g., no explicit Kerberos or FTP tool), but the raw tool provides a fallback for advanced scenarios.

Maintenance

ActivityStale
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that connects AI clients to a Linux terminal for real-time automated penetration testing and CTF challenge solving. It enables AI models to execute terminal commands and interact with offensive security tools like Nmap, SQLMap, and Gobuster.
  • F
    license
    Not graded
    quality
    C
    maintenance
    A penetration testing MCP server that runs 20 hacking tools inside a Kali Linux Docker container, enabling AI assistants to execute security scans and attacks via natural language.
    2
  • A
    license
    A
    quality
    F
    maintenance
    An MCP server that provides AI assistants with access to CrackMapExec/NetExec network penetration testing capabilities via SSH to a Kali Linux host, supporting multiple protocols for enumeration, credential dumping, and command execution.
    11
    MIT

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/schwarztim/sec-netexec-mcp'

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