How to Use It: Installation & Configuration¶
Using the BoostSecurity MCP server involves two steps:
- Installation: Connecting your MCP-compatible client (your AI assistant/editor) to the BoostSecurity server endpoint.
- Usage: Prompting your AI agent to use the validation tool (or letting it do so automatically).
Supported Languages and Ecosystems¶
- Python: PyPI
- Go: Go Modules
- JavaScript/TypeScript: npm
- Java: Maven
- C#: NuGet
Requirements¶
An MCP-compliant client, such as:
- Cursor
- Claude Code
- Windsurf
- VS Code (with MCP extension)
Client-Specific Setup Guides¶
Follow the instructions for your specific editor or AI assistant.
Cursor¶
- Go to:
Settings->Cursor Settings->MCP->Add new global MCP server -
Add the following remote server connection configuration:
{ "mcpServers": { "boost-security": { "url": "https://mcp.boostsecurity.io/mcp", "transport": "http" } } } -
Once configured, verify under
Cursor Settings->MCP & Integrationsthat the BoostSecurity MCP tool is enabled forvalidate_package.
Claude Code¶
-
Run the following command in your terminal:
claude mcp add --scope user --transport http boost-security https://mcp.boostsecurity.io/mcp -
To confirm, type
/mcpwithin the Claude Code interface. The BoostSecurity MCP should appear as enabled.
Windsurf¶
- Navigate to
Windsurf Settings->Cascade MCP Servers. -
Add the BoostSecurity MCP server configuration:
{ "mcpServers": { "boost-security": { "serverUrl": "https://mcp.boostsecurity.io/mcp" } } } -
Alternatively, add this configuration to your Windsurf MCP config file (e.g.,
~/.codeium/windsurf/mcp_config.json). - Relaunch Windsurf.
- Go to
Windsurf Settings->Manage MCPsto confirm the connection is enabled and shows thevalidate_packagetool.
VS Code¶
- Navigate to
View->Command Palette - Run the command
MCP: Open User Configuration. -
Add the BoostSecurity MCP server configuration to the JSON file:
{ "servers": { "boost-security": { "type": "http", "url": "https://mcp.boostsecurity.io/mcp" } } } -
You may need to relaunch VS Code.
- Once added, select Start on the MCP configuration in the MCP panel to change its state to Running.
Other MCP Clients¶
The BoostSecurity MCP server can be used by any MCP-compliant client that supports:
- Transport type:
http - Remote server URL:
https://mcp.boostsecurity.io/mcp
Refer to your client’s documentation for instructions on configuring remote MCP servers.
Best Practices for Optimal Security¶
The MCP server provides strong instructions to the AI agent, encouraging it to validate packages. However, for the most consistent results, you should also explicitly instruct your AI agent to use the tool.
Add a rule or instruction to your AI agent's system prompt or configuration.
Example Instruction:
Always use the BoostSecurity MCP tool `validate_package` to ensure a package is safe before adding it to a project.
Use the package versions recommended by BoostSecurity.
By doing this, you ensure the agent makes security validation a non-negotiable step in its workflow.
Example Workflow¶
- Developer: "Please add the
requestspackage to handle API calls." - AI Agent (to MCP): "I intend to add
requestsversion2.25.0. Pleasevalidate_package(name='requests', version='2.25.0')." - BoostSecurity MCP (to AI): "Validation failed: Version
2.25.0has a known vulnerability. A safe alternative is available. Userequestsversion2.31.0or newer." - AI Agent (to Developer): "I've added the
requestspackage. I used version2.31.0as recommended by the security scanner to avoid a known vulnerability in earlier versions."