squire
Remote runtimes for validation and offload jobs.
README
Squire CLI
Squire is a CLI for running short validation and offload jobs in clean remote runtimes. Use it for cross-environment checks, fresh validation loops, target compilation checks, ephemeral SQL sandboxes, and short heavy jobs that are awkward to run locally.
Quick start
curl -fsSL https://squire.run/install.sh | bash
squire login
squire --help
Defaults to:
https://api.squire.run
Works on:
- macOS
- Linux
- WSL
Update later with:
squire update
Command discovery
Use these first:
squire --helpshows the command catalogsquire --help --jsonshows the command catalog in machine-readable formsquire <command> --helpshows command-specific usage
Prefer --json when another tool or agent will read the result.
For the full generated command catalog, public-policy notes, and examples, see:
docs/commands.generated.md
Task-to-command mapping
Use Squire when a task is environment-sensitive, target-sensitive, or short but heavy.
- shell, Python, or Node runtime validation ->
squire verify - short clean test runs ->
squire test - lint or static analysis ->
squire lint - Go or Rust target compilation ->
squire compile - offline Qiskit Aer simulation ->
squire quantum simulate - SQLite or Postgres validation ->
squire sql - dependency, security, secret, or static checks ->
squire audit - solver tasks ->
squire solve - pandas, polars, or pyarrow jobs ->
squire data - ffmpeg or media transforms ->
squire media - offline headless browser verification ->
squire browser - packaging or build sanity checks ->
squire build - short comparative timing runs ->
squire bench
Public-service note:
depsexists in the CLI, but is currently disabled on the public service under the zero-egress policy
Agent workflows
Squire is intentionally CLI-first and works well in terminal-first coding-agent workflows such as Claude Code, Codex, and shell-driven automation.
Copy and trim the example instruction files in docs/agent/ for your own environment:
docs/agent/CLAUDE.md.exampledocs/agent/SKILLS.md.exampledocs/agent/CODEX.md.exampledocs/agent/squire-usage-guidelines.mddocs/agent/tool-constraints.md
Prefer local execution for tiny trivial checks. Prefer Squire when correctness depends on a fresh environment or when the task is too annoying to run locally.
For per-tool runtime, network, input, output, and public-service constraints, start with:
docs/agent/tool-constraints.mddocs/commands.generated.md
Current public-service limits
browseris offline-only and does not fetch remotehttp://orhttps://URLsdepsis currently disabled on the public service because sandbox egress is not allowedauditsupports secret scanning and local-config static analysis; dependency audit and remote Semgrep configs are disabledquantum simulateis offline-only and currently requirestrustedaccess or higher on the public service
Artifact downloads
Artifact-producing commands can download outputs locally:
squire media --script square.py --input image.png --download-artifacts ./out --json
Use --download-artifacts <dir> for:
squire datasquire mediasquire browsersquire buildsquire quantum simulate
Command examples
squire verify --lang bash --file script.sh --targets alpine-3.20,ubuntu-24.04,debian-12 --json
squire test --lang python --file test_app.py --cmd "pytest -q" --targets py310,py311 --json
squire lint --lang python --tool ruff --file app.py --json
squire quantum simulate --file shor.py --shots 2048 --download-artifacts ./quantum-out --json
squire audit --secrets --path src --json
squire build --lang python --file pyproject.toml --path src --targets manylinux,musllinux --download-artifacts ./dist --json
squire bench --lang python --file bench.py --targets py310,py311 --json
squire browser --path website/public --screenshot page.png --download-artifacts ./browser-out --json
squire sql --dialect sqlite --query "SELECT 1" --json
squire compile --lang go --file main.go --targets linux/amd64,linux/arm64 --json
squire solve --solver z3 --file constraints.smt2 --json
squire data --script transform.py --input big.csv --download-artifacts ./data-out --json
squire media --script clip.py --input image.png --download-artifacts ./media-out --json
A tiny runnable quantum example is in examples/quantum/shor.py.
Optional MCP mode
Bootstrap MCP auth with:
squire mcp login
This logs you in and prints the SQUIRE_TOKEN and SQUIRE_API_BASE_URL values an MCP host needs.
Then either run the local stdio wrapper:
squire mcp serve
This exposes the same Squire command surface over MCP stdio and reuses the current local Squire session. Squire remains CLI-first; MCP is an optional wrapper.
For Cline on a machine that already has a working local Squire session, the shortest path is:
cline mcp add squire -- squire mcp serve
Squire is also published to the MCP Registry as io.github.reidgoodbar/squire.
The registry package is a GHCR-backed OCI stdio server that runs the same squire mcp serve surface and expects:
SQUIRE_TOKENrequiredSQUIRE_API_BASE_URLoptional
Registry metadata lives in registry/server.json.
For Cline and other agent-hosted setup, see:
llms-install.md
Local build
go build -o ./bin/squire ./cmd/squire
Release packaging
./scripts/build-release.sh
Artifacts go to dist/ and use the same stable names that https://squire.run/install.sh downloads.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。