Model Context Protocol server for PwnDoc pentest documentation
Tools for user management and system configuration.
List all users in the system (admin only).
None.
“Show me all users”
“List team members”
[
{
"_id": "507f1f77bcf86cd799439001",
"username": "pentester1",
"firstname": "John",
"lastname": "Doe",
"email": "john@example.com",
"role": "user",
"enabled": true
}
]
Get details for a specific user by username.
| Parameter | Type | Required | Description |
|---|---|---|---|
username |
string | Yes | The username |
“Show me info about user pentester1”
Get authenticated user’s information.
None.
“What’s my user profile?”
“Who am I logged in as?”
Create a new user (admin only).
| Parameter | Type | Required | Description |
|---|---|---|---|
username |
string | Yes | Username |
firstname |
string | Yes | First name |
lastname |
string | Yes | Last name |
password |
string | Yes | Password |
email |
string | No | Email address |
phone |
string | No | Phone number |
role |
string | No | Role (admin, user, etc.) |
“Create a new user account for Jane Smith”
Update a user’s information (admin only).
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id |
string | Yes | The user ID |
username |
string | No | New username |
firstname |
string | No | New first name |
lastname |
string | No | New last name |
email |
string | No | New email |
phone |
string | No | New phone |
role |
string | No | New role |
enabled |
boolean | No | Enable/disable user |
“Disable user pentester2”
“Change John’s role to admin”
Update your own profile.
| Parameter | Type | Required | Description |
|---|---|---|---|
firstname |
string | No | New first name |
lastname |
string | No | New last name |
email |
string | No | New email |
phone |
string | No | New phone |
username |
string | No | New username |
current_password |
string | No* | Current password (required for password change) |
new_password |
string | No | New password |
confirm_password |
string | No | Confirm new password |
“Update my email to newemail@example.com”
List users who can be assigned as reviewers.
None.
“Who can review audits?”
Get TOTP (2FA) status for current user.
None.
“Is 2FA enabled for my account?”
Set up TOTP (2FA) for current user.
| Parameter | Type | Required | Description |
|---|---|---|---|
totp_token |
string | Yes | TOTP token to verify setup |
“Enable 2FA for my account”
Disable TOTP (2FA) for current user.
None.
“Disable 2FA for my account”
Get system settings (admin only).
None.
“Show me the system configuration”
Get publicly accessible settings.
None.
Update system settings (admin only).
| Parameter | Type | Required | Description |
|---|---|---|---|
settings |
object | Yes | Settings object to update |
“Update the default report template”
Export all settings for backup.
None.
“Export system settings”
Revert settings to defaults.
None.
“Reset settings to defaults”
⚠️ Warning: This will overwrite all custom settings.
List all configured languages.
None.
List all audit types.
None.
“What types of audits can I create?”
List all vulnerability types.
None.
List all vulnerability categories.
None.
List all section definitions.
None.
List all custom field definitions.
None.
List all user roles.
None.
“What roles are available?”
1. list_users → See current team
2. create_user → Add new members
3. update_user → Adjust roles
4. list_reviewers → Assign reviewers
1. get_totp_status → Check 2FA
2. setup_totp → Enable 2FA
3. update_current_user → Strong password
1. get_settings → Review config
2. update_settings → Apply changes
3. export_settings → Backup
| Role | Create Audit | Edit Findings | Manage Users | System Config |
|---|---|---|---|---|
| admin | ✓ | ✓ | ✓ | ✓ |
| user | ✓ | ✓ | ✗ | ✗ |
| reviewer | ✗ | Review only | ✗ | ✗ |