Flameox

io.github.morluto由 GitHub 账号 morluto 发布v0.2.9更新于 Oct 24, 2026

Bounded local runtime evidence from explicit artifacts and typed direct targets.

已验证STDIO仅桌面开发者工具数据与分析

概览

AI 生成的概览

本地 MCP 服务器,对指定产物或命令运行性能剖析、基准测试与追踪处理,返回有界且带来源标注的证据。

可以做什么
  • 用命名分析工具分析显式指定的产物路径,并内联返回有界结果
  • 按 argv 与绝对工作目录捕获类型化的本地目标,可带受限的环境变量覆盖
  • 通过 evidence_id 查看已保存证据的脱敏元数据与重放来源
  • 按返回的 next_page 工具与参数原样重放,继续获取后续结果
  • 在结果旁记录观测输入、执行来源、覆盖范围与局限
适用场景
适合需要针对特定产物或命令获取实测运行时证据(性能剖析、基准测试、追踪分析)的编码代理,无需初始化工作区或维护项目配置。也适合由代理自行选择假设与实验、并希望记录来源与局限的调查场景。
运行要求
以本地 stdio 进程运行,通常通过 uvx 从 PyPI 包启动,需要 Python 3.12 或更高版本。未声明账号、API 密钥或请求头。可选的证据保存会写入用户级数据目录,可用 FLAMEOX_DATA_DIR 更改位置。客户端配置通过该包的 setup 命令完成。
安装前请注意
捕获功能会按你提供的 argv 与工作目录执行本地命令,只应运行可信目标。证据保存为可选操作,会写入用户级数据目录;会话中的 analysis_id 在被淘汰或服务器停止后失效。剖析结果仅用于探索,不能据此断定因果关系或性能提升。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Flameox,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

flameox

[flameox mascot: an ox with a flame graph between its horns]

Bounded local runtime evidence for coding agents.

Flameox coordinates profilers, benchmark tools, trace processors, and direct local targets. It turns an explicit artifact or command into bounded evidence while keeping durable preservation optional. The agent chooses hypotheses and experiments; Flameox records observed inputs, execution provenance, typed evidence, coverage, and limitations.

There is no workspace to initialize or project configuration to maintain. Pass exact artifact paths to analysis and an explicit argv plus absolute working directory to capture. Flameox does not search parent directories, edit project files, or provide a hosted service.

Quick start

Configure an MCP client with the global setup command:

console
npx flameox@latest setup

Setup detects supported clients and asks which configurations to update. For automation, select clients explicitly, for example --client codex --yes or --all --yes; --dry-run reports the paths and actions without writing. Setup preserves unrelated client configuration and does not change project files. See the npm package guide for details.

Update existing MCP registrations with:

console
npx flameox@latest update

update --check reports available updates without changing configuration. Updates preserve each client's provider extras and settings, verify the new environment before changing release pins, and report which clients need a restart or reconnect. Use --client codex to select one client, or --version 0.2.8 to select a specific release, including for rollback. The Python CLI exposes the same flameox update command.

For direct CLI use, pass exact artifact paths or an explicit command:

console
uvx flameox analyze preview_artifact /absolute/path/to/artifact.jsonuvx flameox capture --provider direct --cwd "$PWD" -- python benchmark.py

To launch the stdio MCP server manually:

console
uvx flameox mcp serve

For local development, clone the repository, install its development dependencies, and inspect the available tools:

console
git clone https://github.com/morluto/flameox.gitcd flameoxuv sync --extra dev --extra memory --extra trace --extra cpuuv run flameox mcp inspect

Evidence and storage

Analysis and unpreserved capture use bounded session scratch. Session analysis_id values expire when evicted or when the server stops. Explicit preservation creates the user-level Flameox data directory and stores native bytes and a canonical evidence bundle by SHA-256. Set FLAMEOX_DATA_DIR to choose another location. Preservation is optional; it does not imply full console-output retention.

Flameox distinguishes observed, derived, and inferred claims. Profiles guide exploration but do not establish causality or performance improvement. Confirmatory claims require representative workloads, declared metrics and estimands, compatible identities, preserved samples, and a semantic oracle.

MCP

The MCP server has no workspace binding. It exposes named analysis and capture tools through the same operation registry as the CLI. Analysis tools accept explicit sources; capture tools accept a typed target and provider. Tool schemas expose operation-specific fields directly. Inspect the catalog with flameox mcp inspect; use --tool TOOL_NAME for focused schemas and examples. The complete contract and current tool catalog are in the interface guide.

Tools return their full bounded results inline, including failures and recovery actions. Preserved evidence has a durable evidence_id; inspect_evidence returns its redacted metadata and replay sources inline.

Capture takes argv, not a shell string. A direct target supplies an absolute working directory and bounded environment overrides. Results may include next_page; replay its named analysis tool and arguments unchanged. Capture continuations read collected artifacts and do not rerun the target. MCP work belongs to the live request, so cancellation applies directly and no detached job survives a restart.

Documentation

Development

Flameox requires Python 3.12 or newer and uses the committed uv.lock. See CONTRIBUTING.md for development setup and contribution guidance.

console
uv run ruff check src tests toolsuv run ruff format --check src tests toolsuv run mypy src tests toolsuv run pytest -q

Flameox is licensed under the MIT License.

来源:README.md,提交 2cc7de4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v0.2.9最新Oct 11, 2026
  2. v0.2.8Oct 9, 2026
  3. v0.2.7Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分