steel-tester
Enables AI assistants to control an internal Steel Browser via CLI or MCP, allowing URL navigation, session management, and screenshot capture.
README
steel-tester
内网 Steel Browser 工具:CLI + MCP。browser_navigate 对齐 cursor-ide-browser:默认复用上次视图并打开 URL。
依赖
- Node.js
>= 22.13 playwright-core(CDP,不下载 Chromium)@modelcontextprotocol/sdk+zod(MCP)- 可访问的内网 Steel(
STEEL_BROWSER_API_URL)
安装
npm install -g steel-tester
# 或
npm install -D steel-tester
配置
优先级:--api-url / --cdp-url > 环境变量 > 当前目录 .env。
export STEEL_BROWSER_API_URL=http://<host>:3000/v1
# 可选:STEEL_CDP_URL=ws://10.0.0.12:3000/
CLI
npx steel-tester open --url=https://www.baidu.com
npx steel-tester open --url=https://www.baidu.com --new-tab --screenshot
npx steel-tester open --url=https://www.baidu.com --view-id=<sessionId>
npx steel-tester open --url=https://www.baidu.com --clean
stdout:
{
"viewId": "<uuid>",
"sessionId": "<uuid>",
"cdpUrl": "ws://<ip>:3000/",
"url": "https://www.baidu.com/",
"title": "百度一下"
}
MCP
npx steel-tester mcp
{
"mcpServers": {
"steel-tester": {
"command": "npx",
"args": ["-y", "steel-tester", "mcp"],
"env": {
"STEEL_BROWSER_API_URL": "http://<host>:3000/v1"
}
}
}
}
工具:browser_navigate
| 参数 | 说明 |
|---|---|
url |
要打开的 URL(必填) |
viewId |
目标 session id;省略则用上次视图 |
newTab |
true 时新建标签再导航 |
take_screenshot_afterwards |
true 时导航后截图 |
clean |
true 时先释放全部 live session |
开发
npm install
npm run build
npm run steel-tester -- open --url=https://example.com --clean
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.