Asymptote-Labs/asymptote-mcp-server
If you are the rightful owner of asymptote-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Asymptote Security MCP Server is a tool designed for real-time code security scanning and vulnerability detection, integrating seamlessly into AI-powered development workflows.
Asymptote Security MCP Server
An MCP (Model Context Protocol) server for code security scanning and vulnerability detection. Integrate Asymptote’s security policies directly into your AI-powered development workflow to catch vulnerabilities and enforce security rules in real time, and easily add your own custom security rules and policies.
Installation
npm install @asymptote-labs/asymptote-security-mcp
Configuration
Set the following environment variables:
ASYMPTOTE_API_KEY(required): Your Asymptote API key for authenticationASYMPTOTE_API_URL(optional): Override the default API endpoint
Cursor Setup
- Open Cursor Settings (
Cmd+,on macOS orCtrl+,on Windows/Linux) - Search for "MCP" or navigate to Features > MCP Servers
- Click "Add new MCP server"
- Enter the following configuration:
- Name:
asymptote-security-mcp - Type:
command - Command:
npx -y @asymptote-labs/asymptote-security-mcp
- Name:
- Click "Add Server"
- In the MCP server list, find
asymptote-security-mcpand add your environment variable:- Click the server entry to expand it
- Add environment variable:
ASYMPTOTE_API_KEY=your-api-key-here
Alternatively, you can manually edit your Cursor MCP configuration file:
- macOS:
~/.cursor/mcp.json - Windows:
%APPDATA%\Cursor\mcp.json - Linux:
~/.config/cursor/mcp.json
{
"mcpServers": {
"asymptote-security-mcp": {
"command": "npx",
"args": ["-y", "@asymptote-labs/asymptote-security-mcp"],
"env": {
"ASYMPTOTE_API_KEY": "your-api-key-here"
}
}
}
}
After adding the server, restart Cursor or reload the window for the MCP server to become available.
Tools
get_policies
Retrieve active security policies in your instance. Use this to see what security rules are being enforced and their settings.
evaluate_diff
Evaluate code changes against your security policies in your instance. Pass in a unified code diff and receive a decision (allow, warn, or block) along with any policy violations found, including remediation guidance.
Requirements
- Node.js >= 18.0.0
- Valid Asymptote API key
License
- Apache License 2.0