Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article shows you how to add Microsoft Sentinel's Model Context Protocol (MCP) collection of security tools or your own custom tools to your AI agents in Visual Studio Code.
For information about how to get started with MCP tools, see the following articles:
Add a Microsoft Sentinel or custom tool collection
To add a Microsoft Sentinel tool collection or your own custom tools in Visual Studio Code, follow these steps:
Add MCP server:
Press Ctrl + Shift + P then type or choose
MCP: Add Server.Choose HTTP (HTTP or Server-Sent Events).
Enter the URL of the MCP server of the tool collection you want to access, which can be from the available Sentinel collection or your own custom one, then press Enter.
Assign a friendly Server ID (for example,
Microsoft Sentinel MCP server)Choose whether to make the server available in all Visual Studio Code workspaces or just the current one.
Allow authentication. When prompted, select Allow to authenticate using an account with at least a Security reader role.
Open Visual Studio Code's chat. Select View > Chat, select the Toggle Chat icon
beside the search bar, or press Ctrl + Alt + I.Verify connection. Set the chat to Agent mode then confirm by selecting the Configure Tools icon
that you see added under the MCP server.