Cloud · MODEL CONTEXT PROTOCOL
netwrix mcp server naa
MCP Server for Netwrix Access Analyzer
WHAT IT CONNECTS
netwrix mcp server naa 为 AI Agent 提供什么
- SQL Server integration with automatic connection on startup
- Dynamic database schema exploration
- SQL query execution
- Netwrix Access Analyzer File System tools
- Python 3.12 or higher
- MCP SDK
- pyodbc 4.0.39 or higher (for SQL Server connectivity)
- python-dotenv 1.0.0 or higher (for environment variable management)
- ODBC Driver 17 for SQL Server or later (must be installed on your system)
- **macOS**: Install using Homebrew: `brew install microsoft/mssql-release/msodbcsql17`
- **Windows**: Download and install from the [Microsoft ODBC Driver page](https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server)
- **Linux**: Follow [Microsoft's instructions](https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server) for your distribution
- Create a `.env` file in your project directory with your SQL Server connection details:
- Replace the example values with your actual database connection information.
- Open Claude Desktop
- Navigate to the Claude Desktop configuration file:
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
- Add the following configuration to the `mcpServers` section.
- Restart Claude Desktop
- Replace `/path/to/your/uv` with the actual path to your `uv` executable (find with `which uv` or `where uv`), and update the path to your `main.py` file as well as the database connection information.
- Restart Claude Desktop to apply the changes
- `server`: SQL Server address
- `database`: Database name
- `username`: SQL Server username (optional if using Windows auth)
- `password`: SQL Server password (optional if using Windows auth)
- `trusted_connection`: Boolean flag for Windows Authentication
- `table_name`: Name of the table to explain
- `table_name`: Name of the table to get schema for.
- `tablename`: Name of the table to sample
- `trustee`: Domain\Username format
- `levelsdown`: How many directory levels to traverse (default: 0)
- `trustee`: Domain\Username format
- `resourcepath`: Path to the resource
- `resource`: Path to the resource
- `resource`: Path to the resource
- Verify your SQL Server is running and accessible from your network
- Check your credentials in the `.env` file
- Ensure the ODBC driver is correctly installed
- Check the logs for detailed error messages
- Use the full path to `uv` in your configuration (use `which uv` or `where uv` to find it)
- Make sure you've restarted Claude Desktop after configuration changes
- Check the Claude logs for any error messages related to the MCP server
SECURITY
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。