# Ntobjmanager MCP

> Ntobjmanager MCP is an open-source MCP server for security. MCP server for stateful Windows RPC attack-surface research by security analysts. It is available on Windows and CLI.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Windows, CLI
- **Repository:** https://github.com/lupingqaq/ntobjmanager-mcp
- **MCP Registry name:** io.github.lupingQAQ/ntobjmanager-mcp
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-18

## About

The README describes this server as a way to give an AI agent persistent, stateful access to Windows RPC research, built on James Forshaw's NtObjectManager library. A persistent PowerShell engine keeps parsed RPC server objects and connected RPC clients alive across tool calls, so an agent can connect once and issue many calls while keeping authentication state and handle chains intact.

The server exposes 24 tools grouped into a core stateful pipeline, a lab VM bridge for running PowerShell inside a guest with persistent state, and a set of tools that wrap fixed hunting workflows drawn from recent public Windows RPC vulnerability research. Each tool call is written to an audit log, and fuzzing defaults to a dry run.

The README is explicit that it is intended for authorized security research and testing inside an isolated VM, since invoking RPC methods can crash services. It also lists limits, such as that it cannot automatically confirm type confusion bugs and that it currently targets Windows PowerShell 5.1.

## Features

- **Stateful RPC clients:** A persistent PowerShell engine keeps connected RPC clients and session variables alive between tool calls.
- **Context handle chaining:** Return objects can be stored as session variables and passed to later calls without serialization.
- **Parsed interface inspection:** Parses PE files for RPC servers and reports procedures, NDR parameters, and context handles.
- **Dry-run fuzzing:** Primitive-only default-value fuzzing that runs in dry-run mode unless explicitly changed.
- **Lab VM execution:** Runs PowerShell inside a lab virtual machine with state kept in one guest runspace.
- **Audit logging:** Appends every tool call to an audit log file.

## Good for

- Auditing Windows RPC interfaces for context-handle misuse in an isolated lab
- Mapping RPC endpoints and stopped services with unregistered interfaces
- Driving multi-step RPC call sequences from an AI agent without re-authenticating each step
- Inventorying user-startable Windows tasks as part of a security review

## Tools

- `rpc_parse`: Parse a PE for RPC servers and cache them.
- `rpc_state`: List cached servers and live sessions.
- `rpc_get_interface`: Show procedures, NDR parameters, and context handles for an interface.
- `rpc_query_endpoints`: Query the endpoint mapper locally or remotely.
- `rpc_running_servers`: Enumerate live processes or services hosting RPC.
- `rpc_connect`: Generate and connect a stateful RPC client.
- `rpc_methods`: List method signatures with opnum mapping.
- `rpc_call`: Invoke an RPC method via reflection with stored object support.
- `rpc_disconnect`: Drop an RPC session.
- `rpc_vm_exec`: Run PowerShell inside a lab VM with persistent state.
- `rpc_vm_start_listener`: Deploy and start the persistent guest HTTP engine.
- `rpc_scan_context_handles`: Scan for context-handle type confusion patterns.
- `rpc_inventory`: Build an attack-surface inventory with endpoint mapper cross-check.
- `rpc_fuzz`: Primitive-only default-value fuzzing, dry-run by default.
- `rpc_find_hijackable`: List unregistered interfaces of stopped services.
- `rpc_etw_unreachable`: Capture clients calling dead servers via ETW; requires admin.
- `rpc_interface_security`: Audit ALPC security descriptors and anonymous ACEs.
- `rpc_decode_flags`: Decode RpcServerRegisterIf3 flag bitmasks.
- `rpc_format_client`: Export generated C# client source.
- `rpc_new_struct`: Build NDR complex types as session variables.
- `rpc_alpc_squat`: Squat an ALPC port and capture connections.
- `rpc_accessible_tasks`: List user-startable tasks.
- `rpc_vars`: Show session variables.
- `rpc_clear_cache`: Clear the server cache.

## FAQ

### Does it run on non-Windows systems?

The README says it runs on Windows PowerShell 5.1, and that running elsewhere is not yet supported; pwsh 7 is untested.

### Can it confirm exploitable vulnerabilities automatically?

No. The README states that NDR cannot prove distinct handle types, so type confusion findings must be verified through reverse engineering.

### What does it require to run?

The README lists the NtObjectManager PowerShell module and Python with the mcp package, installed via pip from requirements.txt.

### What license is it under?

The README states the project is licensed under MIT.

### Is Ntobjmanager MCP free?

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

### What are the best alternatives to Ntobjmanager MCP?

The closest alternatives to Ntobjmanager MCP are MCP Tool Poisoning Scanner, mcp-agent-template, MCPSense, Cybersec Toolkit and MCP security checks — WARDEN and HISTOR.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.

## Alternatives

- [MCP Tool Poisoning Scanner](https://ai-powered.com/mcp/mcp-tool-poisoning-scanner): MCP Tool Poisoning Scanner is a paid MCP server for security.
- [mcp-agent-template](https://ai-powered.com/mcp/mcp-agent-template): mcp-agent-template is an open-source MCP server for security.
- [MCPSense](https://ai-powered.com/mcp/mcpsense): MCPSense is an open-source MCP server for security.
- [Cybersec Toolkit](https://ai-powered.com/mcp/cybersec-toolkit): Cybersec Toolkit is an open-source MCP server for security.
- [MCP security checks — WARDEN and HISTOR](https://ai-powered.com/mcp/mcp-security-checks-warden-and-histor): MCP security checks — WARDEN and HISTOR is a free MCP server for security.
- [mcpcut](https://ai-powered.com/mcp/mcpcut): mcpcut is an open-source MCP server for security.
- [ACMP MCP Server](https://ai-powered.com/mcp/acmp-mcp-server): ACMP MCP Server is an MCP server for cloud and infrastructure.
- [Wass MCP](https://ai-powered.com/mcp/wass-mcp): Wass MCP is an open-source MCP server for security.

---
Source: https://ai-powered.com/mcp/ntobjmanager-mcp
