Elevate
A self-healing MCP server that compiles verified skills for legacy and internal web apps, allowing AI agents to interact with them deterministically and securely.
README
Elevate
A verified, self-healing MCP server for the systems you already own.
Agents can reach modern SaaS through vendor MCPs — but not the legacy and internal web apps that run the real economy, whose vendor is dead, acquired, or indifferent and will never ship one. Point Elevate at a system you own or license, and it compiles that system's actions once into deterministic, per-step-verified, parameterized skills; replays them at ~zero planner tokens; heals when the UI drifts; and exposes the whole system as one MCP server your agents call. Authorization is solved by definition — it's your software.
How it works
| Layer | What it does |
|---|---|
| Perceive | Renders the page and distills it to a semantic snapshot (ARIA roles + names + testids) — not screenshots, not raw HTML. Produces a structural fingerprint. |
| Compile & cache | On a cache miss, a planner emits a Skill (steps + robust locators + verifies), keyed by (system, intent, fingerprint). |
| Replay & heal | On a hit, steps replay deterministically. A broken locator is re-located semantically and patched in place — no full recompile. |
| Expose | Every skill is served through one MCP server per system with a uniform tool surface. Agents never see HTML. |
A system is described by a SystemDefinition (src/systems/): its base URL, an auth spec, and
its intents — each with declared params and a mutating flag. Intents are data, not code, so a new
system is a new definition, not a new build.
The planner is pluggable (src/compiler/planner.ts):
- HeuristicPlanner — offline recipes carried on the system definition. Runs with no API key. Reports cold tokens as a model estimate.
- LlmPlanner — Claude-backed, compiles systems that have no recipe. Reports measured tokens.
Set ANTHROPIC_API_KEY to switch automatically.
Trust primitives
The reason an ops leader lets an agent touch a system of record:
- Verification depth — every step carries a post-condition that must hold. A write is verified
by re-reading the saved record (
valueEquals), so an agent is never told "success" when nothing happened. - Confirmation gates — a
mutatingintent will not run its irreversible commit step withoutconfirm: true. Unconfirmed, it returnsconfirmation_requiredwith a description of the pending write and touches nothing in the system of record. - Audit log — every verified action is appended to
skills-db/audit.log: what intent, which params, the outcome, and exactly which post-conditions passed. - Failure taxonomy — a failed run is classified
access_revoked/system_changed/skill_wrong/intent_impossible, so an operator knows whether the system changed or the skill did. - Credential seam — login steps reference secrets as
{secret:key}, resolved from aCredentialSourceonly at replay. Secrets never enter the skill cache or the audit log. A real vault is just anotherCredentialSource.
Quickstart
npm install
npx playwright install chromium
npm run demo
The demo boots a local owned system (an "internal CRM" fixture), shows the confirmation gate blocking an unconfirmed write, then runs one intent N times and prints the amortization curve: run 1 compiles, runs 2..N replay free.
│ run │ path │ ok │ planner tok │
│ 1 │ cold │ yes │ 1033* │
│ 2 │ warm │ yes │ 0 │
│ 3 │ warm │ yes │ 0 │
Commands
npm test # unit suite
npm run typecheck
npm run demo # cold→warm token amortization on the owned system
npm run mcp # MCP server (stdio) — boots the fixture, serves internal-crm
npx tsx src/cli/selfheal.ts # proves in-place drift recovery
Demo flags
--intent NAME list_tickets | create_ticket (default: create_ticket)
--param k=v intent params, repeatable (e.g. --param subject="Reset password")
--runs N number of runs (default: 5)
--headed show the browser
--keep keep the cached skill (skip the cold run)
MCP tools
Per system, uniform:
list_intents— discover the verified intents this system exposes.execute_intent— run any intent by name:{ intent, params, confirm? }.- one generated tool per intent (
list_tickets,create_ticket, …) with typed params.
Every call returns status (ok / confirmation_required / failed), path (cold/warm),
plannerTokens, failure (when failed), pendingConfirmation (when gated), and structured data.
Status
MVP. The mechanism is proven end-to-end on an owned-system fixture: cold→warm at 0 warm tokens,
per-step verification, confirmation-gated writes, self-heal recovering a broken locator in place,
and a real MCP call completing a real flow. Adding a system = adding a SystemDefinition.
Safety: never submits payment, never stores credentials, confirmation gates on irreversible actions.
Known limits / next: authenticated sessions are demonstrated via a local credential seam — a production vault integration, verified-agent identity (Web Bot Auth) for licensed third-party portals, and a measured drift rate on a real design-partner system are the next milestones. Non-web legacy (Citrix, green-screen) is explicitly out of scope.
See CLAUDE.md for development guidelines and CONCEPT.md for the thesis.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。