Privilege Secure MCP Server
Officialby netwrix
README.md
# Netwrix Privilege Secure MCP Server
This [Model Context Protocol (MCP)](https://modelcontextprotocol.io/introduction) server enables AI assistants to interface directly with Netwrix Privilege Secure (NPS), enhancing your organization's Privileged Access Management (PAM) capabilities.
## Use Cases
- **Real-time Monitoring:** View active privileged sessions with live screenshots
- **Security Investigation:** Search command history to identify suspicious activity
- **Credential Management:** Identify outdated passwords and credentials needing rotation
## Tools
### Session Monitoring
- **get_active_sessions** - Get active activity sessions
- **get_active_session_image** - Get a live image for an active session
- `session_id`: The session ID to capture (string, required)
- **search_metadata_history** - Search for commands run by users during their sessions
- `search_term`: Term to search for in command history (string, required)
### Credential Management
- **get_admin_credentials_older_than** - Find administrators with outdated passwords
- `days`: Password age threshold in days (number, required)
- **get_managed_credentials_older_than** - Find managed passwords that need rotation
- `days`: Password age threshold in days (number, required)
### Event Search
- **get_events_from_server** - Find latest 10 events that contain the search text
- `search_text`: Text to search for (str, required)
### Version
- **get_nps_version** - Get the version of your Netwrix Privilege Secure server
## Installation
Prequisites:
- Install [uv](https://docs.astral.sh/uv/getting-started/installation/), a Python project manager
- Clone the repository (or download it as a zip)
To clone the repository:
```bash
git clone https://github.com/netwrix/mcp-server-nps.git
```
### Install in Claude Desktop via Desktop Extensions (Recommended)
#### Option 1: One-click Installation
- Download the latest `mcp_server_nps.dxt` file from [releases](https://github.com/netwrix/mcp-server-nps/releases)
- Double-click to open with Claude Desktop (may have to find Claude Desktop to "Open with...")
- Click "Install"
#### Option 2: Upload Desktop Extension File Manually
- Download the latest `mcp_server_nps.dxt` file from [releases](https://github.com/netwrix/mcp-server-nps/releases)
- Navigate to `File -> Settings -> Extensions -> Advanced settings -> Install Extension...`
- Fill out the required fields, select Install and Enable
### Install in Claude Desktop via Configuration File
- Navigate to `File -> Settings -> Developer -> Edit Config`
Open the `claude_desktop_config.json` file and add the following:
```json
{
"mcpServers": {
"mcp-server-nps": {
"command": "uv",
"args": [
"run",
"path/to/src/mcp_server_nps/server.py"
],
"env": {
"NPS_URL": "https://example.com",
"NPS_USERNAME": "your_nps_username",
"NPS_PASSWORD": "your_nps_password"
}
}
}
}
```
Then, restart Claude Desktop.
## License
This project is licensed under the terms of the MIT open source license. Please refer to [MIT](./LICENSE) for the full terms.
## Connect with Us
If you need help using this MCP server, want to better understand your results, or would like to share feedback, visit the [Netwrix Community](https://community.netwrix.com/) - we’re here to help and eager to hear about your experience!
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues