npm @entropy0/mcpstdioupdated 3mo ago
AI agents fetch URLs, follow links, and act on domains they've never seen before. Most of the time that's fine. Sometimes it isn't ā phishing infrastructure, newly registered lookalike domains, brand impersonation sites, or plain malware hosting.
What can you do with entropy0dev?
Entropy0 SDK
AI agents fetch URLs, follow links, and act on domains they've never seen before. Most of the time that's fine. Sometimes it isn't ā phishing infrastructure, newly registered lookalike domains, brand impersonation sites, or plain malware hosting.
Entropy0 adds a trust gate between your agent and the external web. One API call returns a machine-readable recommended action your agent can reason about before it fetches, navigates, or transacts.
POST /v1/decide
{ "domain": "secure-login-verify-account.xyz" }
ā recommended_action: "deny"
confidence: 91%
signals: [NEWLY_REGISTERED_DOMAIN, BRAND_MISMATCH, CERTIFICATE_ANOMALY]
Packages
| Package | Registry | Description |
|---|---|---|
entropy0-langchain |
PyPI | LangChain tool ā trust-gate URLs before agents fetch from them |
@entropy0/express |
npm | Express middleware ā evaluate request targets through /v1/decide |
@entropy0/mcp |
npm | MCP server ā source trust and URL safety tools for Claude Desktop, Cursor, Cline |
Quick start
LangChain (Python)
pip install entropy0-langchain
from entropy0_langchain import Entropy0Tool
tools = [Entropy0Tool(api_key="sk_ent0_xxxx")]
# Agent will call entropy0_trust_check before fetching any external URL
Express (Node.js)
npm install @entropy0/express
import { entropy0Guard } from "@entropy0/express";
app.use(entropy0Guard({ apiKey: process.env.ENTROPY0_API_KEY! }));
// Requests to flagged domains are blocked before your handlers run
Direct API
curl -X POST https://entropy0.ai/v1/decide \
-H "X-API-Key: sk_ent0_xxxx" \
-H "Content-Type: application/json" \
-d '{"domain": "example.com"}'
How it works
Each decision runs a deterministic pipeline ā same inputs always produce the same output:
- Classifies the domain (Clear Threat ā Safe Known) using WHOIS, DNS, SSL, and threat intel feeds
- Maps classification to a base action under your chosen policy
- Shifts strictness based on interaction risk (fetch vs transactional vs privileged)
- Applies confidence clamps ā low-confidence negatives never hard-deny
- Returns
recommended_action+ reason codes + uncertainty + bounded validity window
No probabilistic black boxes. Auditable, explainable, overridable.
Examples
| Example | Description |
|---|---|
examples/rag-agent |
LangChain agent that trust-gates every URL before fetching content |
examples/langgraph-trust-gate |
LangGraph pipeline with Entropy0 trust gate + evidence usability scoring |
LangGraph trust gate demo
This example shows a four-layer retrieval pipeline:
- Search returns candidate sources
- Entropy0 evaluates whether each source should enter the workflow
- The extraction layer retrieves page content
- The evidence usability layer determines whether the agent can safely cite the content
Example run:
[entropy0] 5 approved / 1 sandboxed / 0 denied / 0 unverified
SANDBOX outpost24.com
trust signals: ['LONG_OPERATIONAL_HISTORY', 'STRONG_BRAND_ALIGNMENT']
sandbox reason: ['ELEVATED_DEVIATION']
[evidence layer]
! microsoft.com/security/blog/... boilerplate_dominant ā usability=low
! genai.owasp.org/llmrisk/... boilerplate_dominant ā usability=low
ā pmc.ncbi.nlm.nih.gov/... body_text_captured ā usability=high
ā securecodewarrior.com/... body_text_captured ā usability=high
The agent answered only from high-usability evidence and refused to attribute claims to sources where article body text was not captured.
This prevents a common failure mode in AI search agents:
Treating a reputable URL as equivalent to usable evidence.
Links
- Live playground ā no sign-up required
- API reference
- Get a free API key ā 150 scans/month, no credit card
Install
Add entropy0dev to your client. Pick the one you use.
claude mcp add mcp -- npx -y @entropy0/mcpcodex mcp add mcp -- npx -y @entropy0/mcpamp mcp add mcp -- npx -y @entropy0/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@entropy0/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@entropy0/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@entropy0/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@entropy0/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@entropy0/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@entropy0/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@entropy0/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@entropy0/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @entropy0/mcpRun `goose configure`, choose **Add Extension ā Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance13/25
- Trust6/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 101 days ago
- Has a release history
- Repository is not archived
- No licence detected
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint ā no local install
Version history
| Versions | Published |
|---|---|
| 0.1.3Latest | May 22, 2026 |