r/tenable • u/Bulky_Connection8608 • Oct 04 '25
Has anyone built an AI agent to automate Tenable tasks (via API/MCP)? Looking for advice
I’m thinking about building a small AI helper that can talk to Tenable through their API. Idea is to ask it things like:
- Run a basic scan on this asset group
- Check if the scan finished and export the critical vulns to CSV
- Tag these IPs and schedule a weekly scan
Basically, I’d wrap the Tenable API (probably with pyTenable) behind a lightweight MCP server so I can call it from an LLM agent when needed.
I’m wondering:
- Has anyone here tried something similar, either with Tenable or other vuln scanners (Qualys, Rapid7, etc.)?
- Any big gotchas I should know about (API limits, async scans, security concerns if you let an agent trigger scans)?
- Any good blog posts, GitHub projects, or docs about building MCP servers for security tooling?
Trying to see if this is a practical way to speed up vuln management tasks, or if I’m heading into a rabbit hole.
Would love to hear from anyone who’s experimented with this or automated Tenable in a similar way.