Microsoft Security Copilot
Microsoft Security Copilot can use an MCP server's tools through a custom plugin. You upload a manifest that gives the server's address, how to connect to it and which of its tools Security Copilot may call. Security Copilot can then use those tools in prompts, promptbooks, Logic Apps and custom agents. Microsoft describes the format in Model Context Protocol (MCP) plugins in Microsoft Security Copilot.
This page gives a manifest for the hosted WhoisXML API server, https://mcp-hosted.whoisxmlapi.com/mcp, and a sample promptbook. The manifest asks Security Copilot to connect with your WhoisXML API key. Security Copilot accepts the manifest and asks for the key; whether it then sends the key with each request has not yet been tested.
Preview
Microsoft lists MCP plugins in Security Copilot as a preview and says the feature may change before it is released.
Before you start
- A WhoisXML API account and its API key: sign up or log in at whoisxmlapi.com
- Microsoft Security Copilot, with permission to add custom plugins. By default, owners and contributors can add a plugin for themselves, and only owners can add one for everyone in the workspace. Owners change this under Owner > Plugin settings.
Download the files
| File | What it is |
|---|---|
| whoisxmlapi-security-copilot.yaml | The plugin manifest: the server's address, how Security Copilot connects, and the tools it may call |
| whoisxmlapi-security-copilot-promptbook.txt | A sample promptbook: prompts that check one domain, with the steps to build it |
Add the plugin
- Sign in to Microsoft Security Copilot.
- In the prompt bar, select the Sources icon to open Manage sources.
- Under Plugins, scroll down to Custom and select Add plugin.
- Under Who can use this plugin?, choose Just me, or everyone in your workspace.
- Select Security Copilot plugin, select Upload file and choose
whoisxmlapi-security-copilot.yaml, then select Add. - Security Copilot opens Set up WhoisXML API, with Auth type: APIKey. Enter your WhoisXML API key under Value and select Set up, or select Do this later. To enter it later, select the plugin's Set up button in Manage sources, enter the key under Value in WhoisXML API settings, and select Save. Whether Security Copilot then sends the key has not yet been tested: see Connecting with the API key.
- The plugin is listed under Custom. Use its toggle to turn it on or off.
Connecting with the API key (untested)
The manifest asks Security Copilot to send your key with each request, as Authorization: Bearer <your key>. The WhoisXML API server accepts a key sent that way, and sets no time limit on it.
Security Copilot accepts these settings for an MCP plugin: when you add the plugin, it asks for the key under Auth type: APIKey. What has not been tested is whether it then sends the key with each request. Microsoft's documentation shows API-key settings only for API plugins, and its page on MCP plugins names only OAuth and Microsoft Entra sign-in. Until sending the key is tested, connecting this way may fail: see Troubleshooting.
To change the key, open Manage sources and select the settings icon of WhoisXML API under Custom.
Connecting through OAuth instead (untested)
Security Copilot can also connect through OAuth. You still enter your API key, but on a WhoisXML API page that Security Copilot opens, and the server gives Security Copilot tokens that stand for the key. This has not been tested with Security Copilot either. The server requires a PKCE code challenge when that page is opened, and Microsoft's documentation does not say whether Security Copilot sends one. Until it is tested in a Security Copilot tenant, connecting this way may fail, for example with the error missing code_challenge.
To try it, replace the SupportedAuthTypes and Authorization entries under Descriptor in the manifest with these, then upload it:
SupportedAuthTypes:
- OAuthAuthorizationCodeFlow
Authorization:
Type: OAuthAuthorizationCodeFlow
ClientId: microsoft-security-copilot
AuthorizationEndpoint: https://mcp-hosted.whoisxmlapi.com/oauth/authorize
TokenEndpoint: https://mcp-hosted.whoisxmlapi.com/oauth/token
Scopes: mcp
AuthorizationContentType: application/x-www-form-urlencoded
When you connect, a WhoisXML API page titled API Key Setup opens and names the application microsoft-security-copilot. Enter your API key and select Save API Key, and your browser returns to Security Copilot. If Security Copilot asks for a client secret, enter any text, such as none: the server does not use one.
An OAuth connection gets access tokens that last 10 minutes and a refresh token that lasts 24 hours, renewed each time it is used. A connection left unused for 24 hours must connect again, which matters for an agent or Logic App that runs less than once a day. An API key has no such limit.
Tools the plugin can use
Security Copilot imports only the tools named in the manifest's AllowedTools, and cannot call any other tool on the server. The manifest names these:
| Tool | What it looks up | Credits per call |
|---|---|---|
whois | A domain's registration record | 1; 5 with force_refresh |
dns_lookup | A domain's current DNS records | 1 |
dns_history | A domain's past DNS records, or the domains seen on an IP address | Up to 5 |
ipgeolocation | Where an IP address is located | 1; not yet confirmed with reverse_ip: true |
ip_netblocks | The IP ranges, ASN and organization of a netblock | Not yet confirmed |
vpn_proxy_detection | Whether an IP address is a VPN, proxy, Tor exit or hosting address | 1 |
ssl_certificates | A domain's TLS certificate chain | Not yet confirmed |
domain_reputation | A reputation score from 0 to 100 | 1 in fast mode, 3 in full mode |
threat_intelligence | Matches for a domain, URL, IP address, CIDR range or file hash in malware, phishing, spam and botnet feeds | 1 per 100 records, up to 100 |
categorization | A domain's content categories | Up to 1 |
reverse_ip | Other domains on an IP address | 5; 7 with include_additional_checks |
reverse_mx | Domains that share a mail server | 5; 7 with include_additional_checks |
reverse_ns | Domains that share a name server | 5; 7 with include_additional_checks |
typosquatting | Whether a domain is in a known typosquatting group, and the group's domains | 1 in probe mode, 5 in group mode |
domain_availability | Whether a domain is registered | 1 |
account_balance | The credits left on each product | Free |
Each call spends credits from your WhoisXML API account, from the balance of the tool's product. The tools reference lists which balance each tool uses.
Tools the manifest leaves out
reverse_dns,reverse_whois_advanced,domain_profileand the bulk tools take lists as input, and Security Copilot supports only primitive input types, such as text, numbers and true or false.website_screenshotreturns an image, and Microsoft's documentation does not say whether Security Copilot shows images from MCP tools.subdomain_lookup(up to 10 credits per call) anddomain_and_subdomain_discovery(up to 11 credits per call) are not included. Add them if you need subdomain discovery.- The server's other tools, all listed in the tools reference, are not in the manifest.
To allow a tool, add its name to AllowedTools (commas, no spaces) and upload the manifest again.
Build the sample promptbook
Security Copilot builds a promptbook from the prompts of a session (Build your own promptbooks). The sample file holds the prompts and these steps:
- With the WhoisXML API plugin turned on, start a new session.
- Run the prompts in order, with a real domain in place of
<Domain>. - Select the prompts and choose Create promptbook. Give it a name, tags and a description.
- In each prompt, replace the domain with
<Domain>. Security Copilot lists it under Inputs you'll need. - Choose who can use the promptbook, then select Create.
Each run spends credits for the lookups it makes. The file gives each prompt's tools and their credits per call.
What Security Copilot does not use
- Prompts and resources. Security Copilot uses only an MCP server's tools, so the server's prompts and reference resources are not available there.
- Tool updates. Security Copilot does not pick up changes to the server's tools. After the server adds or changes a tool, upload the manifest again.
Troubleshooting
- Security Copilot can't list the plugin's tools. The WhoisXML API server most likely answered 401 Unauthorized because no key reached it. Security Copilot may show the server's message: "No API key was presented." Check that the plugin has your key: open Manage sources, select the settings icon of WhoisXML API under Custom, and enter the key again. If the tools still do not load, Security Copilot may not send API keys for MCP plugins: try connecting through OAuth instead.
- A call fails for lack of credits. Ask Security Copilot to run
account_balance, which spends no credits, to see what each product has left. - Security Copilot asks you to connect again. This happens only with an OAuth connection, after it goes unused for 24 hours. Open Manage sources, select the settings icon of WhoisXML API under Custom, and connect again.