AI MCP and Skills
Overview
Connect your AI assistant to AttackForge, so it can read and update your projects, vulnerabilities, assets, writeups and test cases while you chat with it.
Model Context Protocol (MCP) is an open-source standard, developed by Anthropic, that lets AI assistants connect securely to data sources and tools. AttackForge's MCP server gives your assistant a set of tools, such as
find_vulnerabilitiesorcreate_project.Skills are reusable packages of instructions, scripts and resources that teach an AI model a specific task. The assistant loads a skill when it needs it. AttackForge builds skills so common tasks give consistent output and are easier to maintain.
AttackForge supports any MCP client, including Claude, ChatGPT, Microsoft Copilot Studio, Claude Desktop and LM Studio.
Why it matters
Benefit
What it means
Your data stays where it belongs
AttackForge data isn't sent to AI providers for training. The assistant reads data only when a request needs it, and you can use a local model so data never leaves your computer.
You control access
Admins choose which tools each user's assistant can use. Each user approves their own assistant.
Answers use current data
The assistant works from your latest vulnerabilities and projects, not its training data.
Answers fit the user
Responses are based on the user's own vulnerabilities, writeups, assets and projects.
One interface
Query and update AttackForge by asking, instead of using several APIs or scripts.
Multi-step work in one request
One request can pull data, analyse it, and produce or update a report, spreadsheet or presentation.
No lock-in
Switch AI assistants and keep your integration working.
A growing set of tools and skills
New AttackForge MCP tools and skills become available without custom development.
Who uses it
Role
Typical use
Administrators
Enable MCP, choose how assistants register, and grant tool access to users and groups
Testers and consultants
Draft findings, executive summaries and test case notes from live project data
Project managers and coordinators
Track progress, retests and assigned work, and build dashboards
Security leaders
Get executive summaries, risk rankings and closeout scorecards
Remediation teams
List the vulnerabilities assigned to them and their status
Automation builders
Run AI agents against AttackForge as part of AI agentic workflows
AI agentic workflows
You can also run AI agents that use AttackForge MCP as part of automated workflows. For examples of configuring agents with AttackForge, see AI agentic workflows.

Enable MCP
MCP is included with AttackForge Enterprise. For AttackForge Core, buy it as an add-on under Administration > Subscriptions.
To turn it on, go to Administration > Integrations and switch on MCP.

Choose how to connect
Remote MCP
Local MCP
Where the server runs
Hosted by your AttackForge instance at https://{{ATTACKFORGE-HOSTNAME}}/mcp
On the user's computer, using the @attackforge/mcp-server package
Best for
Web-based assistants such as Claude, ChatGPT and Copilot Studio
Desktop apps such as Claude Desktop and LM Studio, including local models
Sign-in
OAuth 2.1. Each user approves their assistant.
The user's User API Key
Data
Travels between AttackForge and the assistant's provider
Processed on the user's computer. With a local model, it never leaves it.
For remote MCP, users register their assistant in one of two ways:
Self registration: users connect their own assistant. No Client ID or Secret is needed.
Assisted registration: an administrator creates a Client ID and Secret for the user, who enters them in their assistant. Use this when self registration is off.
Connect a remote AI assistant
Remote MCP servers are hosted on the internet, so any MCP client with an internet connection can reach them. This suits web-based AI assistants.
AttackForge has a built-in OAuth 2.1 service that authenticates MCP users. Each user must explicitly allow their AI assistant to act on their behalf.

Turn on self registration
Self registration lets users register their own AI assistant, so administrators don't have to create and share OAuth2 Client IDs and Secrets. It uses AttackForge's built-in OAuth2 Authorization Server (RFC 6749), which is available once MCP is on.
To turn it on, go to Administration > Integrations > MCP.

In each of the steps below, replace {{ATTACKFORGE-HOSTNAME}} with your AttackForge hostname.
Claude
Sign in to Claude, and open Settings.
Click Connectors.
Click Add custom connector.
Enter a name for the connector, and the MCP server URL
https://{{ATTACKFORGE-HOSTNAME}}/mcp. Click Add.Click Connect.
Log in to AttackForge if asked, then click Agree and Continue.
In a new chat, turn on the AttackForge connector and the tools you want under Settings. Then try a prompt.
ChatGPT
Sign in to ChatGPT, and open Workspace settings.
Click Apps & Connectors.
Click Create.
Enter a name for the connector, and the MCP server URL
https://{{ATTACKFORGE-HOSTNAME}}/mcp. Click Create.Log in to AttackForge if asked, then click Agree and Continue.
Click Publish.
Review the actions, and click Publish.
AttackForge MCP is now available.
In a new chat, click + > More, select the AttackForge connector, and try a prompt.
Microsoft Copilot Studio
Sign in to Copilot Studio, and select Agents > Create blank agent.
Click Tools > Add a tool.
Click Model Context Protocol > New tool.
Click Model Context Protocol.
Enter a name for the connector, and set:
Server URL:
https://{{ATTACKFORGE-HOSTNAME}}/mcpAuthentication: OAuth 2.0
Type: Dynamic discovery
Click Add.
Click Create new connection.
Click Create. Log in to AttackForge if asked, click Agree and Continue, and return to Copilot Studio.
Check the connection, and click Add and configure.
Check that the agent is connected.
Open Tools, and choose the tools the agent can use.
Try a prompt. If you see "Let's get you connected first...", open the connection manager and click Connect.
Use assisted registration
If self registration is off, an administrator registers the AI assistant for the user. This creates an OAuth 2 Client ID and Client Secret, which the administrator shares with the user.

Register an MCP client (administrators)
Go to Users > (select the user) > Applications > MCP Client.
Click Add Client. Enter a name and the redirect URLs, and click Add. The drop-down lists the redirect URLs for popular MCP clients.
Copy the Client Id and Client Secret, and send them securely to the user.
Enter the Client ID and Secret (users)
Follow the steps for your assistant, with one change at step 4:
Claude: under Advanced Settings, enter the Client Id and Client Secret.
ChatGPT: enter the OAuth Client Id and Client Secret.
Copilot Studio: select
OAuth 2.0 → Manualwhen configuring connection
Connect a local AI assistant
Local MCP servers run on your own computer, for example with Claude Desktop or LM Studio. They give you:
Complete data privacy: data is processed on your computer and never leaves it.
Offline use: once downloaded, the server works without internet access. The server still needs to reach your AttackForge instance.
Predictable performance: speed doesn't depend on network latency or outside services.
The local server is the @attackforge/mcp-server npm package. It needs Node.js 22 or later, and your User API Key.

Configuration
Both Claude Desktop and LM Studio use this configuration. Replace AF_HOSTNAME with your AttackForge hostname (for example, demo.attackforge.com) and AF_USER_KEY with your User API Key.
You can also set these optional variables in env:
Variable
What it does
AF_PORT
A custom port, if your AttackForge instance doesn't use the standard port
AF_PROTOCOL
https (the default) or http. http sends your API key unencrypted, so use it only for a local development instance.
AF_TIMEOUT_MS
How long to wait for AttackForge before giving up, in milliseconds. The default is 60000.
LM Studio
Install LM Studio.
Load a model, then open Settings > Program > Install > Edit mcp.json.
Add the configuration, with your hostname and User API Key.
Click Save, and check for the success message.
In a new chat, turn on
mcp/af-mcp-serverand choose the tools.
Claude Desktop
Install Claude Desktop.
Open the app.
Go to Profile > Settings.
Click Developer.
Under Local MCP Servers, click Edit Config.
Add the configuration to
claude_desktop_config.json, with your hostname and User API Key.Save the file and restart the app. Check that
af-mcp-serveris running under Developer.Under Connectors, check that
af-mcp-serveris listed, and configure it.In a new chat, turn on the connector and tools, then try a prompt.
Claude Code
Add the server from the command line:
This runs the af-mcp-server command, so install the package first with npm install -g @attackforge/mcp-server.
Give users access to tools
Once a user has connected their assistant, they can use only the tools an administrator has enabled for them.
Give one user access
Go to Users > (select the user) > Access > MCP.
Select the tools, and click Add.

Give a group access
Go to Groups > (select the group) > Other Access > MCP.
Select the tools, and click Add.
Every member of the group can use those tools.

See a user's MCP sessions
When a user connects through their AI assistant, the session appears under Users > (select the user) > Applications > MCP Sessions.

Remove a user's access
Remove their access to tools (see Give users access to tools), including any group that grants it.
Revoke their MCP sessions (see See a user's MCP sessions).
Remove their MCP clients (see Register an MCP client).
Work with MCP tools
Your assistant chooses and calls tools for you. This section explains how they work, which helps when you write prompts, build agents or skills, or troubleshoot. For the full reference for each tool, see the MCP documentation.
Tool types
Type
Tools
What they do
Read
whoami, find_*, count_*, get_file, get_field_structure, get_args_schema_for_tool
Read data. They never change anything.
Write
create_*, patch_*
Create records, or partly update existing ones
Schema
get_field_structure, get_args_schema_for_tool
Describe your tenant's data model, including custom fields. Use them before you read custom fields or write data.
Tools by record type
This list against the current tools. The tools a user sees depend on your instance and the access they've been given.
Records
Read
Write
Users
whoami, find_users, count_users
create_user, patch_user, delete_user, restore_user
Projects
find_projects, count_projects, find_project_summary_fields, find_project_reporting_fields
create_project, patch_project, patch_project_summary_fields, patch_project_reporting_fields
Project requests
find_project_requests, count_project_requests
create_project_request, patch_project_request
Project scope
find_project_scope, count_project_scope
patch_project_scope
Vulnerabilities
find_vulnerabilities, count_vulnerabilities, find_affected_assets
create_vulnerability, patch_vulnerability, update_vulnerability_status
Remediation notes
find_remediation_notes, count_remediation_notes
create_remediation_note, patch_remediation_note
Writeups
find_writeups, count_writeups
create_writeup, patch_writeup
Assets
find_assets, count_assets
—
Testsuites
find_testsuites, count_testsuites
create_testsuite, patch_testsuite
Library test cases
find_testcases, count_testcases
create_testcase, patch_testcase
Project test cases
find_project_testcases, count_project_testcases
patch_project_testcase, update_project_testcase_lock, create_abuse_case
Test case notes
find_project_testcase_notes, count_project_testcase_notes
create_project_testcase_note, patch_project_testcase_note
Test case workspace notes
find_project_testcase_workspace_notes, count_project_testcase_workspace_notes
create_project_testcase_workspace_note, patch_project_testcase_workspace_note
Files and schemas
get_file, get_field_structure, get_args_schema_for_tool
—
Filter syntax
find_* and count_* tools take a filter written in a MongoDB-style query language. The supported operators are:
$regex accepts either form (prefer the second):
String values use single or double quotes, but operators and field names must be unquoted:
Examples:
Some scoping must not go inside filter. Use the tool's own parameters instead:
Records
Parameters
Vulnerabilities
project_ids, visibility
Writeups
writeup_library_keys
Assets
asset_library_key
Choose fields and custom fields
find_* tools return only id unless you ask for more:
fields: an array of system field names. The allowed values are listed under each tool's parameters.custom_field_keys: an array of custom field keys to include in each record'scustom_fieldsarray. Find the keys withget_field_structure.
Custom fields are no longer returned automatically, so request them.
Pagination
Parameter
Default
Maximum
limit
10
50
skip
0
—
Each response includes count (records in this page) and total (all matching records). If count equals limit and skip + count is less than total, there are more pages: call again with skip increased by limit. If you only need a total, use a count_* tool.
Write data in two steps
create_* and patch_* tools take one args object, whose shape depends on your tenant's configuration.
Call
get_args_schema_for_toolwith the tool's name. It returns the JSON Schema the server uses to checkargs.Build
argsto match the schema, and call thecreate_*orpatch_*tool.
Rich text fields must follow the
richtext_formatblock thatget_args_schema_for_toolreturns with the schema.patch_*tools change only the keys you send.Don't reuse a schema from an earlier conversation. Your configuration may have changed.
Work with test cases
Record types
Record
What it is
Tools
Testsuite
A reusable, named, taggable set of test cases. Add it to a project's testing plan, or offer it on project requests when is_visible_on_project_requests is set.
find_testsuites, count_testsuites, create_testsuite, patch_testsuite
Library test case
A reusable test case in a testsuite. Holds the descriptive fields: title, details, code, tags, sort_order, execution_flow.
find_testcases, count_testcases, create_testcase, patch_testcase
Project test case
A copy of a library test case on one project, made when the testsuite is added. Holds the testing state: status (Tested, Not Tested, Testing In Progress, Not Applicable), assigned_to, project_scope_ids, vulnerability_ids, locked. It has no descriptive fields.
find_project_testcases, count_project_testcases, patch_project_testcase, update_project_testcase_lock
Abuse case
A test case that belongs to one project, in that project's own abuse case testsuite.
create_abuse_case (create_testcase refuses abuse case testsuites)
Get a project test case's title and details
Project test cases don't hold descriptive fields, so it takes two calls:
Call
find_project_testcasesfor the project, and requesttestcase_id.Call
find_testcaseswith those IDs intestcase_ids, and request fields such astitleanddetails.
Use testcase_ids, not a filter on id. Searches never return deleted records, so a filter would silently drop retired methodology and abuse cases. Request is_deleted to tell retired test cases from current ones.
You can't filter on descriptive fields in find_project_testcases. To find project test cases by title, say, filter with find_testcases first, then use the testcase_id values.
Notes and workspace notes
Note
Workspace note
Purpose
A running log of testing: what the tester did and found
Reference material for the test case: background, tips, payloads
Read it when
You want to know how testing is going
You want what a tester needs to hand
Has a title
No
Yes
Tools
find_ / count_ / create_ / patch_project_testcase_note(s)
find_ / count_ / create_ / patch_project_testcase_workspace_note(s)
Both are rich text and can have attached files, which you can download with get_file. Neither create_* tool can attach files.
Remediation notes are separate. They belong to vulnerabilities and use find_remediation_notes, count_remediation_notes, create_remediation_note and patch_remediation_note.
Lock a project test case
Use update_project_testcase_lock to lock or unlock a project test case. patch_project_testcase can't change the lock, and won't change a locked test case.
Locked test cases aren't counted in the project's test case totals, so locking or unlocking changes the tested, not tested and total figures.
To lock a test case, you need at least View access to the project, and must be an Admin or Project Coordinator.
Custom fields
Library test cases and project test cases have separate custom fields. Find them with get_field_structure(model="testcase") and get_field_structure(model="project-testcase").
Custom fields you pass to create_abuse_case are set on the project test case it creates, not on the abuse case. To set the abuse case's own custom fields, call patch_testcase with the returned testcase_id.
Prompt and skill examples
Use these examples as they are, or adapt them. Each one lists the tools the user needs access to. Replace placeholders such as {{INSERT-PROJECT-NAME}} before you run a prompt.
The first four are skills. The rest are prompts you paste into a chat.
#
Example
What it makes
Tools required
Output
1
Interactive Attack Chain Explorer
An interactive page that animates realistic attacker routes through a project's findings
Find Projects, Count Vulnerabilities, Find Vulnerabilities, Find Affected Assets, Get Field Structure
Interactive web page
2
MITRE ATT&CK Attack Chain — Style 1
The project's findings mapped to MITRE ATT&CK tactics, as an executive one-pager
Find Projects, Count Vulnerabilities, Find Vulnerabilities, Find Affected Assets, Get Field Structure
Landscape diagram
3
MITRE ATT&CK Attack Chain — Style 2
The same mapping, as a narrative debrief leave-behind
Find Projects, Count Vulnerabilities, Find Vulnerabilities, Find Affected Assets, Get Field Structure
Portrait diagram
4
Cyber Kill Chain
Each finding mapped to the seven Lockheed Martin Cyber Kill Chain stages, with modern offensive-security labels
Find Projects, Count Vulnerabilities, Find Vulnerabilities, Find Affected Assets, Get Field Structure
Diagram
5
Generate Pentest Executive Summary
A one-page, CISO-level summary of the top one to three findings at the highest severity, with one priority action
Find Projects, Count Vulnerabilities, Find Vulnerabilities, Find Affected Assets, Get Field Structure
Word document
6
Generate Vulnerability Descriptions and Recommendations
Each finding rewritten as a title, root-cause description and high-level remediation direction
Find Writeups, Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
Word document
7
Determine Single Highest-Risk Vulnerability on Project
The one highest-risk finding, ranked by severity, then asset reach, exploitability and business impact
Find Writeups, Find Vulnerabilities, Find Projects, Find Affected Assets, Count Vulnerabilities, Get Field Structure
Word document
8
Show Vulnerabilities Assigned to Me
A table of the user's assigned vulnerabilities across all projects, with a short summary
Whoami, Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
Word document, "Vulnerabilities Assigned"
9
Create a Vulnerability Composition Metrics Dashboard
A dark-mode, SOC-style metrics dashboard
Whoami, Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
Dashboard
10
Top 10 Vulnerabilities Report
The ten highest-risk vulnerabilities, with a timestamp line
Find Vulnerabilities, Count Vulnerabilities, Get Field Structure
Word document
11
Top 10 Vulnerabilities Dashboard
An interactive dashboard of the top ten vulnerabilities
Find Vulnerabilities, Find Projects, Count Vulnerabilities, Get Field Structure
Dashboard
12
Create Interactive Vulnerabilities Chart
A radar chart of vulnerabilities
Find Vulnerabilities, Find Projects, Count Vulnerabilities, Get Field Structure
Interactive chart
13
Review of Vulnerabilities in Retest
A review of vulnerabilities in the retest phase
Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
PDF, "Review of Vulnerabilities in Retest Phase"
14
Top 10 Affected Assets Dashboard
The ten most affected assets, with a pie chart
Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
Dashboard
15
CVSS Dashboard
A CVSS dashboard built without CDN libraries
Find Vulnerabilities, Find Projects, Count Vulnerabilities, Get Field Structure
React artifact
16
Unique OWASP Top 10 Vulnerabilities Report
Unique vulnerabilities grouped by OWASP Top 10 category
Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
PDF, portrait
17
Interactive Executive Project Closeout Scorecard
A dark-theme scorecard for five completed projects, with a bubble chart and vulnerability table
Count Vulnerabilities, Find Vulnerabilities, Find Projects, Find Affected Assets, Get Field Structure
Single HTML page
Skills
Interactive Attack Chain Explorer

The Attack Chain Explorer generates an interactive web page from real AttackForge testing data — turning a project's findings into an animated, explorable kill-chain report. Pick from various distinct attack chains — different routes an attacker could realistically take through the engagement. Watch each chain animate stage-by-stage: attacker → recon → actionable stages → outcome. Hit Best fix to see the single highest-leverage remediation, or Break chain to see where any one fix collapses the path.
MITRE ATT&CK Attack Chain - Style 1

The MITRE ATT&CK option will frame the project's findings against MITRE's tactics — Reconnaissance, Initial Access, Execution, Persistence, etc. It's built to land the attack chain narrative, the remediation plan, and the priority call - all on one page, so it suits board / leadership / engineering briefings.
Style 1 — Executive landscape, one-pager
MITRE ATT&CK Attack Chain - Style 2

The MITRE ATT&CK option will frame the project's findings against MITRE's tactics — Reconnaissance, Initial Access, Execution, Persistence, etc. It's built to land the attack chain narrative, the remediation plan, and the priority call - all on one page, so it suits board / leadership / engineering briefings.
Style 2 — Portrait narrative, debrief leave-behind
Cyber Kill Chain

The Cyber Kill Chain option maps every finding in an AttackForge project onto the seven stages of the Lockheed Martin Cyber Kill Chain — but with modernized offensive-security labels: Reconnaissance, Payload Development, Initial Access, Exploitation, Persistence, Command & Control, Mission Impact.
Prompts
Generate Pentest Executive Summary

Prompt
Generate Vulnerability Descriptions and Recommendations

Prompt
Determine Single Highest-Risk Vulnerability on Project

Prompt
Show Vulnerabilities Assigned to Me

Prompt
Create a Vulnerability Composition Metrics Dashboard

Prompt
Top 10 Vulnerabilities Report

Prompt
Top 10 Vulnerabilities Dashboard


Prompt
Create Interactive Vulnerabilities Chart

Prompt
Review of Vulnerabilities in Retest

Prompt
Top 10 Affected Assets Dashboard

Prompt
CVSS Dashboard

Prompt
Unique OWASP Top 10 Vulnerabilities Report

Prompt
Interactive Executive Project Closeout Scorecard




Prompt
Tips
Start with read tools. Give new users
whoami,find_*,count_*andget_field_structurefirst. Add write tools once they're comfortable.Use groups for tool access. Granting tools to a group is easier to manage and review than granting them user by user.
Name the project. Prompts work best when they name the project, the records and the output you want, such as a Word document or a dashboard.
Ask for custom fields by key.
find_*tools return onlyidby default. Useget_field_structureto find the keys, then request them.Count before you fetch. Use
count_*to see how many records match, then page through withlimitandskip.Check the schema before you write. Let the assistant call
get_args_schema_for_toolin each conversation, rather than reusing an old payload.Use a local model for the most sensitive data. Local MCP with a local model keeps data on your computer.
Keep keys and secrets private. Treat the User API Key and Client Secret like passwords, and remove access promptly when someone leaves.
Turn prompts you reuse into skills. A skill gives the same structure and output every time, and is easier to update than a pasted prompt.
Automate it. Run agents that use AttackForge MCP from AI agentic workflows, or use the Self-Service APIs when you need a fixed integration rather than a conversation.
FAQ
Which AI assistants can I use? Any MCP client. This page covers Claude, ChatGPT, Microsoft Copilot Studio, Claude Desktop, LM Studio and Claude Code.
Is MCP included in my licence? It's included with AttackForge Enterprise. For AttackForge Core, it's an add-on under Administration > Subscriptions.
I've connected my assistant, but it can't see any tools. Why? An administrator needs to enable tools for you, or for a group you're in. Turning on MCP doesn't enable any tools.
Is our data used to train AI models? AttackForge doesn't send data to AI providers for training. Data your assistant reads is handled under your agreement with that provider, so check its data settings. For the most control, use local MCP with a local model.
Can the assistant see everything in AttackForge? No. It can use only the tools enabled for the user, and only the data that user can access.
What's the difference between self and assisted registration? With self registration, users connect their own assistant. With assisted registration, an administrator creates a Client ID and Secret for the user.
I lost the Client Secret. Can I see it again? No. It's shown only once. Remove the client and register a new one.
Can the assistant change data? Only if the user has write tools (create_* or patch_*). Read tools never change data.
Why doesn't my assistant return custom fields? Custom fields aren't returned automatically. Ask for them by key with custom_field_keys.
Why does a search return only 10 records? The default limit is 10, and the maximum is 50. Ask the assistant to page through with skip, or use a count_* tool for totals.
How do I stop someone using MCP? Remove their tool access, revoke their MCP sessions and remove their MCP clients. See Remove a user's access.
Related pages
MCP documentation: the full reference for each MCP tool.
AI agentic workflows: run AI agents with AttackForge.
Flows: automate work when events happen.
Actions: add buttons that run Flows.
Report automation: generate reports automatically.
Administration: manage integrations, subscriptions, users and groups.
Model Context Protocol: the open standard behind MCP.
Last updated