Bastion Helix Agent Lens
Web pages for AI agents: may-I-use checks, prompt-injection flags, Markdown, JSON, screenshots
我该使用它吗
质量与安全性
发现(1)
- LOW在 credits 中
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"agent-lens": {
"url": "https://lens.bastionhelix.com/mcp"
}
}
}远程端点
https://lens.bastionhelix.com/mcpstreamable-http它能做什么
工具清单
工具(8)
🟢preflight(url, user_agent)
Free. Before an agent spends money or time on a URL: is it allowed (robots.txt for this service and, if you pass user_agent, for your own bot; Content Signals such as ai-input and ai-train; meta robots), does a bot check or sign-in stand in the way, and which engine each task needs — plain fetch, Kitesurf (Cloudflare's lightweight agent browser) or Chromium. Rate-limited per IP.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "The page (http or https)"
},
"user_agent": {
"type": "string",
"description": "Your own bot's robots.txt name (e.g. \"MyAgentBot\") to check its rules too"
}
},
"required": [
"url"
]
}🟢read(url, engine, max_chars, user_agent)
Returns the main content of a web page as clean Markdown with absolute links. Tries the cheapest way that works: plain fetch, then Kitesurf, then Chromium, and reports which one worked. Refuses (and charges nothing) when the site's robots.txt or Content Signals say no, or when a bot check answers instead of the page. Charged only on success. Price: US$0.004 per successful call (API key credits or x402).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"engine": {
"type": "string",
"enum": [
"auto",
"fetch",
"kitesurf",
"chromium"
],
"default": "auto"
},
"max_chars": {
"type": "integer",
"minimum": 1000,
"maximum": 400000,
"default": 100000
},
"user_agent": {
"type": "string"
}
},
"required": [
"url"
]
}🟢actions(url, engine, user_agent)
Returns the forms (with every field, its label and whether it is required), buttons and links on a page, each with a CSS selector an automation tool can use. Uses the rendered page when the HTML alone has none. Charged only on success. Price: US$0.004 per successful call (API key credits or x402).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"engine": {
"type": "string",
"enum": [
"auto",
"fetch",
"kitesurf",
"chromium"
],
"default": "auto"
},
"user_agent": {
"type": "string"
}
},
"required": [
"url"
]
}🟢extract(url, engine, user_agent)
No AI model involved: returns the structured data the page already publishes — JSON-LD / schema.org objects (products, articles, events, organisations, breadcrumbs), prices and offers, meta and Open Graph tags, canonical URL, language versions, licence, RSS/Atom/JSON feeds, and HTML data tables as columns + rows. Exact values instead of guesses from text. Charged only on success. Price: US$0.002 per successful call (API key credits or x402).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"engine": {
"type": "string",
"enum": [
"auto",
"fetch",
"kitesurf",
"chromium"
],
"default": "auto"
},
"user_agent": {
"type": "string"
}
},
"required": [
"url"
]
}🟢delta(url, previous, engine, user_agent)
For pages an agent checks again and again. The first call returns the page as sections plus a fingerprint; send that fingerprint back as "previous" next time and get only the sections that changed (and the headings of removed ones), or changed:false. Uses HTTP ETag/Last-Modified when the site supports them. Nothing is stored on our side: the fingerprint lives with the agent. Saves tokens on every re-check. Charged only on success. Price: US$0.001 per successful call (API key credits or x402).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"previous": {
"type": "object",
"description": "The \"fingerprint\" object from your last delta call for this URL. Leave out on the first call."
},
"engine": {
"type": "string",
"enum": [
"auto",
"fetch",
"kitesurf",
"chromium"
],
"default": "auto"
},
"user_agent": {
"type": "string"
}
},
"required": [
"url"
]
}🟢site(url, user_agent)
Free. Everything an agent should know about a website before using it: its llms.txt (and llms-full.txt), sitemap (page count and first URLs), feeds, language versions, Content Signals, and which known AI crawlers and agents its robots.txt allows. Rate-limited per IP.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "Any page of the site"
},
"user_agent": {
"type": "string",
"description": "Your bot's robots.txt name, to check its rules too"
}
},
"required": [
"url"
]
}🟢screenshot(url, engine, full_page, user_agent)
PNG screenshot of a page at 1280×800 (or the full page). engine "auto" uses Kitesurf unless the page needs video or WebGL, then Chromium. Charged only on success. Price: US$0.008 per successful call (API key credits or x402).
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string"
},
"engine": {
"type": "string",
"enum": [
"auto",
"kitesurf",
"chromium"
],
"default": "auto"
},
"full_page": {
"type": "boolean",
"default": false
},
"user_agent": {
"type": "string"
}
},
"required": [
"url"
]
}🟢credits
Free. Credits remaining on the API key sent in the Authorization header (1 credit = US$0.001).
输入模式
{
"type": "object",
"properties": {}
}社区
证据