AgentSecurityLens MCP Security Trust Check MCP Server
MCP security trust-check for agents before installing MCPs, Skills or tools.
AgentSecurityLens MCP Security Trust Check scores 49 (Fair), with no SPDX license recorded and written in JavaScript. It installs as a local process. It declares 14 tools. Filed under Security. GitHub shows 0 stars. Package registries report about 100 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
49 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- No license recorded.
License, quality and maintenance
Quality: Grade A
94/100 for listing completeness. Lost points: 1 of 14 tools barely described, short summary.
How quality is graded
Where the 49 comes from
22 + 10 + 3 + 0 + 4 + 10 = 49. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 10 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 3 of 20 points.A clear, OSI-style open-source license.
License: 0 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "professor2k8-agent-security-lens": { "command": "npx", "args": [ "-y", "agent-security-lens@0.1.12" ], "env": { "ASL_API_URL": "https://agentsecuritylens-api.agentsecuritylens.workers.dev", "ASL_API_KEY": "YOUR_ASL_API_KEY", "ASL_MODE": "online" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ASL_API_URL | Optional | AgentSecurityLens Cloud Intelligence API URL. |
ASL_API_KEYSecret | Optional | Optional API key for Team, Pro or Enterprise use. |
ASL_MODE | Optional | Set to local for offline fallback mode. |
Tools14Tool docs quality grade D
All capabilitiesautomated coverage that cannot authorize automatic installation.
check_componenttoolretrieves known component intelligence.
curated_baselinetoolmanually curated fallback information with limited evidence.
discovers Agent, MCP, and Skill environments.
returns the current Agent execution policy and records a minimal first-call activation event.
reports online or local intelligence status for MCP clients.
checks whether an unknown component has been reviewed.
returns evidence-backed alternatives and mitigations.
reports the result of an Agent action.
evaluates a proposed component and installation context.
scan_workspacetoolperforms a local fallback assessment.
strict_reviewedtoolversioned evidence, technical scan, community-source check, and independent recalculation completed.
About
AgentSecurityLens
AgentSecurityLens (ASL) is an MCP security trust-check server for autonomous agents.
Before an agent installs or enables an MCP, Skill, tool, prompt bundle, workflow, or memory component, it can ask ASL for a machine-readable safe-install decision.
ASL is not a malware verdict tool. It returns observable risk signals, required controls, safer alternatives or mitigation paths, and a decision contract an agent can execute.
For Autonomous Agents
When you plan to install or enable an MCP, Skill, tool, prompt bundle, workflow or memory component:
- Run
mcp-security-lens ...,agent-security-lens-review ..., or call the MCP toolreview_before_install. - Read
agent_decision_contract. - Do not install automatically when
automatic_install_allowedisfalse. - Apply every
safe_install_planitem before restricted installs. - Prefer
recommended_alternativeswhen ASL returnsavoid,ask_user, or missing controls. - Report the final outcome with
report_install_outcome.
Machine-readable agent instructions are also available in AGENTS.md.
Agent Quick Install
Check whether ASL can reach online intelligence and what local fallback is available:
npx -y agent-security-lens doctor
Try one pre-install decision first:
npx -y mcp-security-lens filesystem \
--type mcp \
--source-url https://github.com/modelcontextprotocol/servers \
--install-command "npx -y @modelcontextprotocol/server-filesystem ." \
--permission filesystem-read \
--permission filesystem-write
The command returns an agent-readable decision, trust score, risk signals, safe install plan, and whether automatic installation is allowed.
If your shell does not expose npm temporary binaries correctly, use npm install -g agent-security-lens once, then run the same command without npx -y.
More copy-ready calls:
Add ASL as a pre-install trust check MCP:
{
"mcpServers": {
"agent-security-lens": {
"command": "npx",
"args": ["-y", "agent-security-lens"]
}
}
}
Then give the agent this policy:
Before installing or enabling any MCP, Skill, tool, prompt bundle,
workflow or memory component, call AgentSecurityLens review_before_install.
Follow agent_decision_contract and agent_actions exactly.
Never submit private source code, secrets, tokens, cookies or file contents.
See Agent install guide for Claude Desktop, Cursor, Codex-style and generic MCP configurations.
Copy-ready files:
Public Intelligence
The public package includes a reviewed baseline so agents can still make conservative decisions when the cloud API is unavailable.
- Public Security Index v0.1
- Top MCP Security Signals v0.1
- Top Skill Security Signals v0.1
- Agent Framework Install Decisions v0.1
- MCP First-Call Examples v0.1
The online ASL intelligence API serves the current expanded catalog. The npm package intentionally does not ship the complete private intelligence database.
Basic MCP Config
{
"mcpServers": {
"agent-security-lens": {
"command": "npx",
"args": ["-y", "agent-security-lens"]
}
}
}
Node.js 20 or newer is required.
Online Configuration
The public MCP uses online intelligence by default:
ASL_API_URL=https://agentsecuritylens-api.agentsecuritylens.workers.dev
ASL_API_URLS=https://agentsecuritylens-api.agentsecuritylens.workers.dev
ASL_API_URLS may contain multiple comma-separated endpoints. The MCP tries them in order and falls back automatically.
Agent Policy
Agents should call get_install_policy after connecting, then call review_before_install before every component installation.
The policy call records a minimal activation event for product health and abuse monitoring when online mode is enabled. It does not send private files, local paths, secrets, tokens or code. Set ASL_DISABLE_USAGE_TELEMETRY=1 to disable this usage event.
allow install from the recorded source and version
allow_with_restrictions apply every safe_install_plan item before installation
ask_user stop automatic installation and request confirmation
avoid do not install automatically
Unknown or incompletely reviewed components never receive automatic-install authorization.
Recommended instruction:
Before installing or enabling any MCP, Skill, tool, prompt bundle, workflow,
or memory component, call AgentSecurityLens review_before_install.
Follow agent_decision_contract and agent_actions exactly.
Never submit private source code, secrets, tokens, cookies, or file contents.
MCP Tools
get_install_policy: returns the current Agent execution policy and records a minimal first-call activation event.get_intelligence_status: reports online or local intelligence status for MCP clients.review_before_install: evaluates a proposed component and installation context.check_component: retrieves known component intelligence.recommend_alternatives: returns evidence-backed alternatives and mitigations.submit_unknown_component: submits public metadata for research.get_research_status: checks whether an unknown component has been reviewed.report_install_outcome: reports the result of an Agent action.submit_decision_feedback: reports useful, incorrect, or incomplete decisions.discover_workspace: discovers Agent, MCP, and Skill environments.scan_workspace: performs a local fallback assessment.
Decision Contract
Example request:
{
"component_name": "filesystem",
"component_type": "mcp",
"source_url": "https://github.com/modelcontextprotocol/servers",
"install_command": "npx -y @modelcontextprotocol/server-filesystem .",
"planned_use": "Read and edit project files.",
"requested_permissions": ["filesystem-read", "filesystem-write"],
"submit_if_unknown": true
}
Example response shape:
{
"decision": "ask_user",
"risk_signals": ["filesystem-read", "filesystem-write", "shell-execution"],
"safe_install_plan": [
"Restrict filesystem scope to the current project directory.",
"Prefer read-only mode when the task only needs inspection.",
"Pin the package version before enabling it."
],
"agent_decision_contract": {
"automatic_install_allowed": false,
"user_confirmation_required": true,
"blocks_install": true
},
"one_step_action": {
"action_type": "ask_user_before_install"
}
}
Agents must execute the structured fields rather than infer policy from prose.
Intelligence States
strict_reviewed: versioned evidence, technical scan, community-source check, and independent recalculation completed.curated_baseline: manually curated fallback information with limited evidence.automatic_assessment: automated coverage that cannot authorize automatic installation.unknown: no matching intelligence record.
ASL evaluates observable behavior and installation context. It does not label a component malicious without evidence.
The public fallback contains strict reviewed records and curated fallback baselines. Automatic assessments are available through the online service but cannot authorize automatic installation.
Privacy
Online lookup uses public component metadata only. Do not submit:
- private source code or file contents
- API keys, passwords, tokens, or SSH keys
- browser cookies or personal browser history
- private prompts, memories, or customer records
- secrets from environment variables
See PRIVACY.md and SECURITY.md.
Local Fallback
$env:ASL_MODE="local"
npx -y agent-security-lens
Local fallback provides basic rules and a limited public intelligence baseline. The current online intelligence service should be preferred when available.
Verification
npm run verify:public
The scoring method is documented in ASL Agent Component Safety Standard v0.2.
License
Apache-2.0
Frequently asked questions
What is AgentSecurityLens MCP Security Trust Check MCP Server?
MCP security trust-check for agents before installing MCPs, Skills or tools.
How do I install AgentSecurityLens MCP Security Trust Check MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. AgentSecurityLens MCP Security Trust Check MCP Server runs locally from the npm package agent-security-lens with the command npx -y agent-security-lens@0.1.12.
Does AgentSecurityLens MCP Security Trust Check MCP Server support remote (HTTP) connections?
No remote endpoint is listed for AgentSecurityLens MCP Security Trust Check MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does AgentSecurityLens MCP Security Trust Check MCP Server provide?
AgentSecurityLens MCP Security Trust Check MCP Server provides 14 tools, including automatic_assessment, check_component, curated_baseline, and discover_workspace. See the full tool list for descriptions and parameters.
How is AgentSecurityLens MCP Security Trust Check MCP Server's trust score calculated?
AgentSecurityLens MCP Security Trust Check MCP Server scores 49 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.