PlexTrac MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PlexTrac MCP Serverlist reports for client Acme Corp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
plextrac-mcp2
Unofficial MCP server for PlexTrac, backed by
plextrac-api2.
This project is not affiliated with, endorsed by, or supported by PlexTrac.
plextrac-mcp2 gives MCP-capable agents such as Codex, Claude, and MCP
Inspector access to PlexTrac over stdio. It follows the same philosophy as
monarch-mcp2: expose a broad API surface, but keep default responses compact
and readable so agents do not burn context on raw payloads unless they ask for
them.
What This Is For
The server is useful when an agent needs to help with PlexTrac work such as:
finding clients, reports, findings, assets, users, and templates
creating, editing, copying, or moving findings
building report content from existing writeups and templates
attaching or inspecting evidence, artifacts, and affected assets
working with assessments, content libraries, runbooks, and scheduler data
performing administrative lookups when the authenticated user has permission
The current server registers 335 tools across the polished PlexTrac API
groups exposed by plextrac-api2. The common API helpers are not exposed as a
separate MCP group, and webhook receiver helpers are intentionally omitted.
Related MCP server: reptor-mcp
Installation
Install from GitHub with pipx:
pipx install git+https://github.com/erikrubstein/plextrac-mcp2.gitConfirm the executable is available:
which plextrac-mcpThe package depends on plextrac-api2 from GitHub. During local development you
can install a sibling checkout of the API in editable mode; see
Development.
Add To Codex
codex mcp add plextrac -- plextrac-mcpIf your session file is somewhere other than the default path:
codex mcp add \
--env PLEXTRAC_SESSION_PATH="/absolute/path/to/session.json" \
plextrac \
-- plextrac-mcpThen restart Codex or open a new Codex thread so the server is loaded.
Add To Claude Code
claude mcp add --scope user plextrac -- plextrac-mcpWith a custom session path:
claude mcp add --scope user \
-e PLEXTRAC_SESSION_PATH="/absolute/path/to/session.json" \
plextrac \
-- plextrac-mcpAdd To Claude Desktop
Add an entry like this to your Claude Desktop MCP config:
{
"mcpServers": {
"plextrac": {
"command": "plextrac-mcp",
"env": {
"PLEXTRAC_SESSION_PATH": "/absolute/path/to/session.json"
}
}
}
}Omit env if you use the default session path.
Use With MCP Inspector
MCP Inspector is a good way to inspect the tool list and try calls directly:
npx @modelcontextprotocol/inspector plextrac-mcpIf plextrac-mcp is not on your PATH, pass the absolute path from
which plextrac-mcp.
Sessions And Credentials
The default session file is:
~/.config/plextrac/session.jsonThe MCP server intentionally uses the same session and keyring conventions as
plextrac-cli2:
PLEXTRAC_CONFIG_DIRchanges the config directory.PLEXTRAC_SESSION_PATHchanges the session file.PLEXTRAC_PROFILEchanges the keyring credential profile.PLEXTRAC_KEYRING_SERVICEchanges the keyring service name.
By default the keyring service is plextrac-cli2, so sessions and saved
credentials created by the CLI can be reused by the MCP server.
Authentication tools include:
auth_create_sessionauth_session_from_tokenauth_get_session_statusauth_refresh_sessionauth_load_sessionauth_save_sessionauth_use_sessionauth_export_sessionauth_logoutauth_forget_credentials
Auth tools redact tokens by default. Set include_token=true only when a
trusted caller explicitly needs the bearer token.
Tool Names
Tool names use:
{group}_{function_name}Examples:
clients_list_clientsreports_list_reportsreports_get_reportfindings_list_report_findingsfindings_get_findingfindings_create_findingassets_list_report_assetsaffected_assets_bulk_create_affected_asset_status_updatesfiles_list_artifactscontent_library_list_writeup_repositoriesrunbooks_list_runbook_repositories
The broad API groups are useful for full coverage, but most day-to-day report writing tends to involve clients, reports, findings, assets, affected assets, files, templates, content library, assessments, and runbooks.
Output Controls
Every registered API tool accepts the same output controls:
output_mode="summary"returns curated, compact output by default.output_mode="full"returns complete structured data without raw API payloads.output_mode="raw"returns complete structured data including raw API payloads when available.fields=[...]returns only selected dotted paths from the output.
Examples:
{
"client_id": "client-123",
"output_mode": "summary"
}{
"client_id": "client-123",
"report_id": "report-456",
"fields": ["report_id", "name", "status", "findings_count"]
}Summary output is hand-curated in this repository. If a summary is confusing, too noisy, or missing the values an agent needs for normal work, that is a bug worth fixing here instead of forcing every caller to use raw output.
Helpful Workflows
For report-writing and finding work, these tools are usually the best starting points:
clients_list_clientsandclients_get_clientto identify the right client.reports_list_reportsandreports_get_reportto inspect the report target.findings_list_report_findingsandfindings_get_findingto understand existing report content.findings_create_finding,findings_update_finding, and related finding tools to draft or revise findings.content_library_list_writeup_repositoriesand related content-library tools to reuse approved writeups.templates_list_report_templatesto inspect report template options.assets_list_report_assetsand affected-asset tools to connect findings to impacted systems.files_list_artifactsand file tools to locate or attach supporting evidence.
This MCP server is intentionally large. Agents should prefer these high-value tools first, then reach for the more specialized groups when the task calls for them.
Development
python3 -m venv .venv
.venv/bin/python -m pip install -e ".[dev]"
.venv/bin/python -m pytest
.venv/bin/python -m ruff check .When testing against a local plextrac-api2 checkout:
.venv/bin/python -m pip install -e ../plextrac-api2
.venv/bin/python -m pip install --no-deps -e ".[dev]"Useful files:
src/plextrac_mcp/server.pyregisters MCP groups.src/plextrac_mcp/groups/contains group-specific tool wrappers.src/plextrac_mcp/output.pycontains curated summaries.src/plextrac_mcp/tool_metadata.pyadds output controls and annotations.src/plextrac_mcp/session.pyandsrc/plextrac_mcp/credentials.pyhandle sessions and keyring credentials.
See AGENTS.md for contributor and coding-agent guidance.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/erikrubstein/plextrac-mcp2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server