Before you begin
Make sure you have the following before starting:
Admin access to Microsoft Copilot Studio
Admin access to Microsoft Power Apps
An active Defense.com account with API access (Company Admin role)
Generating your Defense.com API token
Log in to your Defense.com account as a Company Admin.
Select Account from the navigation on the left-hand side.
Next, click API Keys.
In the top-right-hand corner, click + Create API Key.
Complete the API Key form:
Label — give it a clear name, for example:
Copilot IntegrationExpires at — set an expiry date appropriate for your organisation
Scope — select Read
Click Create API key.
Your new API key will be displayed. Make sure you copy and save your new key as you won't be able to access it again.
Add the MCP server in Microsoft Copilot Studio
Go to Microsoft Copilot Studio.
Navigate to Agents → Create new agent.
Give your agent a name.
Click Tools on the right-hand side.
Click Add → Model Context Protocol.
Complete the form with the following details:
Name —
Defense.com threats(or your preferred name)Description — a short description of what the agent will do, for example:
Query Defense.com threat dataServer URL —
https://mcp.defense.com/mcpAuthentication — select API Key
Parameter type — select Header
Header name —
defense-api-keyKey value — paste in the Defense.com API key you copied earlier
Click Add and wait for the connection to be established.
A new window will appear, prompting you to set up the connection.
Click Connection - Not connected → Create new connection.
Paste your API key again when prompted, then click Add.
Your tools panel should now show the Defense.com MCP server as connected.
Click Save. If the Save button is not clickable, click back on the agent tab on the left — you will be prompted to save. Once saved, you can return to the agent.
And that's it! You've now integrated the Defense.com Threat API with Microsoft Copilot 🎉
