frame-mcp
Supports AI-assisted scan, fix, and exploit features by calling a configurable OpenAI-compatible LLM endpoint, with base URL, API key, model, and repository root configured via environment variables.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
frame-mcp
mcp-name: io.github.lambdasec/frame-mcp
An MCP server that exposes the Frame security scanner to any MCP client, so a coding agent can scan code, verify fixes, and reason about vulnerabilities over stdio.
Frame combines taint analysis with separation logic verification to find data-flow vulnerabilities (SQL injection, command injection, path traversal, and more), and checks each reported path with a solver. This package wraps the frame command line program as MCP tools. It launches frame as a subprocess with an explicit argument list, never a shell, and prefers the frame executable installed next to the running Python interpreter.
Install
Run directly with uvx (no separate install step):
uvx frame-mcpClaude Code
claude mcp add frame -- uvx frame-mcpCodex
Add this stanza to ~/.codex/config.toml:
[mcp_servers.frame]
command = "uvx"
args = ["frame-mcp"]Cursor
Create .cursor/mcp.json:
{
"mcpServers": {
"frame": {
"command": "uvx",
"args": ["frame-mcp"]
}
}
}VS Code
Create .vscode/mcp.json:
{
"servers": {
"frame": {
"type": "stdio",
"command": "uvx",
"args": ["frame-mcp"]
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json under the mcpServers key:
{
"mcpServers": {
"frame": {
"command": "uvx",
"args": ["frame-mcp"]
}
}
}Gemini CLI
Add to ~/.gemini/settings.json under the mcpServers key:
{
"mcpServers": {
"frame": {
"command": "uvx",
"args": ["frame-mcp"]
}
}
}Zed
Add to Zed settings.json under context_servers:
{
"context_servers": {
"frame": {
"command": {
"path": "uvx",
"args": ["frame-mcp"]
}
}
}
}Related MCP server: scanline
Tools
Tool | Purpose | Read only |
| Scan a file or directory for vulnerabilities and return findings as JSON; | yes |
| Scan a path and record the findings as a baseline file. | no |
| Re-scan the files behind earlier findings and report whether each is fixed. | yes |
| Generate and verify fixes for findings. Returns a diff by default. | no |
| Drive an agent to exploit a live, authorized target. | no |
| List the framework packs a scan would load. | yes |
| Validate framework pack files. | yes |
| Check a separation logic entailment | yes |
| Every entry point the engine finds: protected or not, reaches a resource or not, the sink kinds it reaches. | yes |
| One handler or function: protection, sinks, decorators, parameters, the engine's own findings, its source. | yes |
| The handlers of the same class or file, with the guards that hold at each one's data accesses. | yes |
| The data flows the engine found in a function, each with its CWE and evidence level. | yes |
| Every call of a function across the project, with each call's line of code. | yes |
| What a function calls, with where each callee is defined in the project. | yes |
| The conditions that hold on every feasible path to a line. | yes |
| Decide a claim about a line ( | yes |
A security-review prompt chains scan (with the AI layer), verify, and an offer to fix.
The engine_* tools are the queries Frame's own authorization hunt gives its agents, for any agent. The first call on a project starts a frame query <path> --serve process (Frame 1.1.5 or later) that translates the project once, with no model; later calls on that project answer from memory, and the process rebuilds its index by itself when a source file changes. Every answer carries result, the evidence it rests on, the resolution (callers and callees match by simple name, not by type), its limits, the index it was computed over (files, handlers, build_ms, rebuilt) and query_ms.
AI features and environment variables
The scan tool with ai=true, along with fix and exploit, call an LLM through an OpenAI-compatible endpoint. Configure it with these environment variables in the MCP client that launches the server:
Variable | Purpose |
| Base URL of the LLM endpoint, for example a local server or a hosted API. |
| API key for the endpoint, when it requires one. |
| Model name to request. |
These are inherited from the server process environment and forwarded to each frame subprocess. Every other setting (streaming, timeouts, agent budgets, the hunt's budgets) is a key of the [llm] / [hunt] tables in the project's .frame.toml, which each frame command reads. The plain scan (taint analysis plus verification) needs none of them.
Exploit authorization
The exploit tool drives an autonomous agent that sends live traffic to a target. Run it only against systems you own or are explicitly authorized to test. Unauthorized testing of systems you do not control may be illegal.
License
Apache-2.0. See LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for static security analysis of Android source code
Static MCP server scan: injection, secrets, tool poisoning. SARIF + rules catalog.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn AppSec-focused MCP server that performs static analysis scans on C/C++ source code for memory-safety vulnerabilities and parses compiled PE/ELF binary headers locally to audit active defensive compiler mitigations (ASLR, DEP/NX, PIE).41MIT
- AlicenseNot gradedqualityDmaintenanceSecurity scanning MCP server. Semgrep integration, SARIF parsing, baseline diffing, framework-aware ruleset selection, and automated finding triage.4 npm1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for static analysis of multi-tenant SaaS and MCP server code, catching cross-tenant data leakage. Provides tools to scan code, list/explain rules, and manage suppressions.9,810 npm5MIT
- AlicenseNot gradedqualityBmaintenanceStandalone MCP server that provides security scanning, project mapping, and vulnerability fix generation to AI coding assistants.1,118 npm2MIT