1. Conduid
  2. Data
  3. Frontagent
MCP server · Data

Frontagent

Frontend AI coding agent platform with CLI, VS Code extension, desktop app, MCP server, RAG planning, Skills, SDD guardrails, browser automation, and LoRA planner models | 面向前端工程的 AI Agent 平台,支持 CLI、VS Code 插件、桌面端、MCP 服务、RAG、Skills、SDD、浏览器自动化与 LoRA 规划模型

79Good

Scored 1 hours ago · breakdown

About Frontagent

Frontagent is an MCP server published by ceilf6 in the Data category: frontend AI coding agent platform with CLI, VS Code extension, desktop app, MCP server, RAG planning, Skills, SDD guardrails, browser automation, and LoRA planner models | 面向前端工程的 AI Agent 平台,支持 CLI、VS Code 插件、桌面端、MCP 服务、RAG、Skills、SDD、浏览器自动化与 LoRA 规划模型. Conduid read 35 tools from its source: apply_patch, click, close_browser, create_file, evaluate, filesense_check and 29 more. It is published to npm as frontagent and starts with npx.

The repository has 125 stars and 20 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v2.2.0 (30 Jul 2026): FrontAgent v2.2.0 FrontAgent v2.2.0 is a minor release after v2.1.1. It follows v2.1.1 (9 Jun 2026), and the 5 most recent releases go back to v1.0.9 (20 May 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include controllable, feedback, frontend, grounded, multi-phases and rag.

Install

Claude Code
claude mcp add frontagent -- npx -y frontagent
npx
npx -y frontagent
From source
git clone https://github.com/ceilf6/FrontAgent

Tools (35)

apply_patch应用替换、插入、删除补丁。TS/JS/JSON 完整结果先做解析器校验;原文件合法而结果非法时拒绝写盘。原文件已有语法错误时允许部分修复;dryRun 仅预览,success 仅表示投影成功,语法结果见 validation.syntaxChecked/syntaxValid;测试 fixture 可显式设置 skipSyntaxValidation。
ParameterTypeDescription
dryRunboolean是否仅预览不实际修改,默认 false
patches *array补丁列表。所有行号均相对原始文件内容(应用任何补丁之前),各补丁的行范围不得重叠
path *string相对于项目根目录的文件路径
skipSyntaxValidationboolean跳过语法校验,用于故意包含无效语法的测试 fixture;默认 false
click点击页面上的元素
ParameterTypeDescription
selector *stringCSS 选择器
close_browser关闭浏览器
create_file创建新文件并自动创建目录。TS/JS/JSON 内容先做解析器校验,失败则不写盘;测试 fixture 可显式设置 skipSyntaxValidation。
ParameterTypeDescription
content *string文件内容
overwriteboolean是否覆盖已存在的文件,默认 false
path *string相对于项目根目录的文件路径
skipSyntaxValidationboolean跳过语法校验,用于故意包含无效语法的测试 fixture;默认 false
evaluate在页面中执行 JavaScript 代码
ParameterTypeDescription
script *stringJavaScript 代码
filesense_check检查索引覆盖率和新鲜度。报告缺失索引、过期索引、无效索引等问题。用于验证 Filesense 索引是否完整且最新。
ParameterTypeDescription
pathstring要检查的目录路径(相对于项目根目录),默认为项目根目录
filesense_init初始化 Filesense 目录索引。在项目根目录创建 .filesrc.json 配置、.filesignore 忽略规则、JSON Schema 文件,并执行首次索引同步。适用于首次在项目中启用 Filesense 时调用。
ParameterTypeDescription
pathstring要初始化的目录路径(相对于项目根目录),默认为项目根目录
filesense_navigate首选的 Agent 目录导航工具:按需、只读/预算化扫描当前仓库,返回 summary、candidates、factsDelta、warnings 和 scanned 元信息。用于结构理解、入口定位、创建/重构前探路;避免为普通导航触发全仓 sync_and_summarize。
ParameterTypeDescription
depthnumber最大递归深度,默认 2
intentstring导航意图,用于候选路径排序和摘要聚焦
maxBytesnumber返回结果最大字节预算,默认不强制
maxEntriesnumber最大条目预算,默认 300
outputstring输出详细程度,默认 summary
pathsarray要扫描的相对路径列表,默认项目根目录
timeoutMsnumber最大扫描耗时毫秒,默认 3000
writeModestring写入模式,默认 none。navigate 是只读工具,none/cache 均不写盘。
filesense_query查询目录的索引和语义摘要。返回 FILES.json 中的文件列表(含哈希、大小、类型)和 FILES.notes.json 中的目录用途、Agent 提示等信息。用于快速了解目录内容而无需逐个读取文件。
ParameterTypeDescription
path *string要查询的目录路径(相对于项目根目录)
filesense_summarize为目录生成语义摘要。基于目录内容推断目录用途、Agent 提示、编码约定和关键入口点,写入 FILES.notes.json。帮助 Agent 快速理解目录结构和导航策略。
ParameterTypeDescription
forceboolean是否覆盖已有的人工编写的 notes 字段,默认 false(保留人工编写内容)
pathstring要生成摘要的目录路径(相对于项目根目录),默认为项目根目录
filesense_sync同步目录索引。递归扫描目录树,更新每个目录的 FILES.json 索引文件。仅在文件发生变化时重新计算哈希,增量更新高效。用于在文件操作后保持索引最新。
ParameterTypeDescription
depthnumber最大递归深度。用于限制大仓库扫描范围。
fullboolean是否强制全量重新计算所有文件哈希(忽略 mtime/size 缓存),默认 false
maxEntriesnumber最多扫描目录数量,超出后截断。
pathstring要同步的目录路径(相对于项目根目录),默认为项目根目录
timeoutMsnumber最大扫描耗时毫秒,超出后截断。
filesense_sync_and_summarize持久化生成/刷新 Filesense 索引和语义摘要(sync + summarize)。这是较重的维护操作;普通规划、定位、结构理解应优先使用只读轻量的 filesense_navigate。
ParameterTypeDescription
fullboolean是否强制全量重新计算哈希,默认 false
pathstring要处理的目录路径(相对于项目根目录),默认为项目根目录
frontagent_init_sddcreates an SDD template. Existing files are not overwritten unless `force=true`.
ParameterTypeDescription
forcebooleanOverwrite an existing SDD file. Defaults to false.
outputstringProject-relative output path. Defaults to sdd.yaml.
frontagent_list_skillslists visible content skills.
frontagent_plan_taskgenerates a FrontAgent execution plan without executing tools or writing files.
frontagent_run_taskruns a full FrontAgent task. Inputs include `task`, `type`, `files`, `url`, `sddPath`, and `securityMode`.
frontagent_statusreturns project root, SDD status, visible skills, LLM backend status, RAG status, and run-log directory.
frontagent_validate_sddvalidates the project SDD file.
ParameterTypeDescription
sddPathstringProject-relative SDD path. Defaults to sdd.yaml.
get_accessibility_tree获取当前页面的 Accessibility Tree,用于语义化理解页面结构
get_ast获取 TypeScript/JavaScript 文件的 AST 结构分析,包括导入、导出、函数、组件等信息。
ParameterTypeDescription
path *string相对于项目根目录的文件路径(支持 .ts, .tsx, .js, .jsx)
get_interactive_elements获取页面上所有可交互元素
ParameterTypeDescription
filterstring过滤类型,默认 all
get_page_structure获取当前页面的结构化 DOM 信息
ParameterTypeDescription
selectorstring可选,限定范围的 CSS 选择器
get_snapshots获取指定文件的所有快照
ParameterTypeDescription
path *string文件路径
list_directory列出目录内容。可以递归列出子目录。
ParameterTypeDescription
includeHiddenboolean是否包含隐藏文件(以 . 开头),默认 false
maxDepthnumber递归时的最大深度,默认 3,必须是正整数,上限 10
maxEntriesnumber返回条目数预算,默认 2000,必须是正整数,上限 2000;超出时 truncated 为 true 并返回 omittedEntries
path *string相对于项目根目录的目录路径
recursiveboolean是否递归列出子目录,默认 false
navigate导航到指定 URL
ParameterTypeDescription
url *string要导航到的 URL
rag_queryQuery the full repository knowledge base using BM25 + semantic hybrid search with metadata filters.
ParameterTypeDescription
filtersobjectOptional metadata filters applied after keyword and semantic candidate retrieval
maxResultsnumberMaximum number of matches to return
query *stringNatural-language query for the knowledge base
refreshbooleanForce a repository sync and re-index before querying
read_file读取指定文件的内容。支持指定行范围。
ParameterTypeDescription
encodingstring文件编码,默认 utf-8
endLinenumber结束行号(1-based,包含),可选
path *string相对于项目根目录的文件路径
startLinenumber起始行号(1-based),可选
rollback回滚到指定快照
ParameterTypeDescription
snapshotId *string快照 ID
run_command执行终端命令(需要用户批准)
ParameterTypeDescription
command *string要执行的命令
timeoutnumber超时时间(毫秒,默认 60000)
workingDirectorystring工作目录(可选,默认为项目根目录)
screenshot获取页面截图
ParameterTypeDescription
fullPageboolean是否截取整个页面,默认 false
selectorstring可选,只截取特定元素
scroll滚动页面
ParameterTypeDescription
amountnumber滚动距离(像素),默认 500
direction *string滚动方向
search_code在代码库中搜索文本或正则表达式。返回匹配的行及其上下文。
ParameterTypeDescription
contextLinesnumber每个匹配显示的上下文行数,默认 2
filePatternstring限定搜索哪些文件的 glob(如 "src/features/checkout/**" 或 "**/*.test.ts"),默认搜索常见代码文件。目录范围与文件类型都由它控制,不要写进 pattern。
globOnlyboolean仅执行 glob 文件发现,不搜索文件内容。用于写入前先收集候选路径。
maxResultsnumber最大返回结果数,默认 100
patternstring搜索文件内容用的正则(优先于 query)。只接受正则,不接受 glob——要限定搜索的目录或文件类型请用 filePattern,把 "src/xxx/**" 写在这里是无效的。
querystring要搜索的文本(会进行精确匹配)
type在输入框中输入文本
ParameterTypeDescription
selector *stringCSS 选择器
text *string要输入的文本
wait_for_selector等待元素出现
ParameterTypeDescription
selector *stringCSS 选择器
timeoutnumber超时时间(毫秒),默认 30000
web_fetch抓取指定 URL 的网页内容并返回清洗后的可读文本(HTML→纯文本)。用于查阅库/框架文档、API 参考、错误信息等外部资料。内置 SSRF 防护:拒绝私网/环回/链路本地/云元数据地址。
ParameterTypeDescription
allowed_domainsarray可选域名白名单,仅 web_fetch 适用,可省略。采用精确主机名匹配(不含 scheme/端口):提供后仅允许抓取主机名恰好出现在列表中的 URL,子域需逐条列出(如 example.com 不会自动放行 www.example.com)。空数组视为不启用白名单(而非全部拒绝)。用于最小权限场景,限制 Agent 只能访问受信任的文档站点。
blocked_domainsarray可选域名黑名单,仅 web_fetch 适用,可省略。采用精确主机名匹配(不含 scheme/端口):提供后拒绝抓取主机名恰好出现在列表中的 URL,子域需逐条列出(如 example.com 不会自动拦截 www.example.com)。优先级高于 allowed_domains;空数组视为不启用黑名单。
formatstring返回格式:text(默认,HTML 转纯文本)或 html(原始 HTML)
maxBytesnumber响应体最大字节数,超出后截断,默认 2000000,硬上限 5000000
timeoutMsnumber请求超时时间(毫秒),默认 15000,硬上限 60000
url *string要抓取的 URL(仅支持 http/https)

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 6.7K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
  • !No dynamic code executionScanned 267 source files and found 2 calls to eval or shell execution, in packages/mcp-shell/src/index.ts:152 and packages/runtime-node/src/hooks.ts:122. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiopackages/mcp-file/src/server.ts:10
Starts other programs
6 callsmodels/frontagent-planner/train_mlx.py:181, packages/core/src/sub-agents/process-isolated-code-quality-subagent.ts:121, packages/mcp-shell/src/index.ts:147
Outbound network calls
9 callsapps/cli/src/commands/rag.ts:139, packages/mcp-memory/src/rag/embedding.ts:78, packages/mcp-memory/src/rag/providers.ts:231
Writes or deletes files
6 callsmodels/frontagent-planner/data/generate_data.py:565, models/frontagent-planner/eval.py:553, models/frontagent-planner/train_mlx.py:127
Lockfile
pnpm-lock.yaml

Pattern matches on the source text of 267 files: places to read, not proof of what the code does at run time.

Releases

v2.2.0FrontAgent v2.2.0 · 30 Jul 2026FrontAgent v2.2.0 FrontAgent v2.2.0 is a minor release after v2.1.1. It ships the new Electron desktop client, headless non-interactive CLI mode, session resume, lifecycle hooks, declarative permission rules, context zone budgets, the…
v2.1.1FrontAgent v2.1.1 · 9 Jun 2026FrontAgent v2.1.1 FrontAgent v2.1.1 is a patch release after v2.1.0. It focuses on maintainability, security hardening, workflow reliability, and test coverage across the agent execution path, Filesense, hybrid RAG, memory persistence,…
v2.1.0FrontAgent v2.1.0 · 8 Jun 2026FrontAgent v2.1.0 FrontAgent v2.1.0 is a minor release after v2.0.0. It adds Open Memory Gateway integration, publishes the OSS Harness workflow assets, expands test coverage across core runtime paths, and tightens CI, dependency, and…
v2.0.0v2.0.0 — Architecture Refactoring & Test Coverage · 20 May 2026Highlights Architecture Refactoring: All large monolithic source files decomposed into focused, single-responsibility modules 565 Unit Tests: Coverage increased from near-zero across the monorepo Biome: Project-wide linter and formatter…
v1.0.9v1.0.9 · 20 May 2026Bug Fixes mcp-shell: Enforced the `timeout` parameter that was previously accepted but never used, preventing runaway commands from hanging indefinitely (default 60s with SIGTERM/SIGKILL escalation) mcp-shell: Added a 10MB output size cap…

README

The repository's README runs to about 6.7K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Frontagent

How do I install Frontagent?

In Claude Code, run claude mcp add frontagent -- npx -y frontagent. Other MCP clients take the command after "--" in their server configuration.

Is Frontagent safe to use with an AI agent?

Its trust score is 79 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 267 source files found that it serves MCP over stdio, starts other programs (6 calls), makes outbound network calls (9 calls) and writes or deletes files (6 calls). Its dependencies are pinned by pnpm-lock.yaml. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Frontagent still maintained?

Yes — the latest release is v2.2.0 (30 Jul 2026), and the last commit was 4 hours ago. The repository has 125 stars and 10 open issues.

What tools does Frontagent provide?

Conduid read 35 tools from the source: apply_patch, click, close_browser, create_file, evaluate, filesense_check, filesense_init, filesense_navigate and 27 more. 29 of them publish their parameters, listed under Tools above.

What license is Frontagent released under?

The repository declares the MIT license. That applies to the latest release, v2.2.0, as well.