anriss
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@anrissWork through the open UI annotations."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Anriss
Click elements on your running web app, leave a comment, and let your AI coding agent fix it. A tiny self-hosted feedback loop for UI work — no React, no browser extension, no SaaS.
Anriss — from German anreißen: marking out a workpiece before machining. And Riss is the plan itself (Grundriss, Aufriss). Mark it. Plan it. Fix it.
you (browser) anriss your AI agent
────────────── ───────────── ─────────────
click elements ──POST──▶ Rust + SQLite ◀──MCP── Claude Code /
+ one comment W3C annotations Codex / opencode
fixes code,
marks resolvedOne script tag to integrate — works with any frontend (plain HTML, Stimulus/Turbo, Vue, React, server-rendered, anything)
Multi-select: click several elements, leave one comment for all of them
Agent-native: built-in MCP endpoint; any MCP-capable coding agent can list open annotations and resolve them
Standards-based: annotations are stored as W3C Web Annotation Data Model JSON (CSS selector + XPath + HTML snippet per target)
Self-contained: single Rust binary with the widget embedded; SQLite file as the only state
⚠️ Development tool. CORS is wide open by design and there is no authentication. Run it on localhost or inside your dev network only.
Quick start
It's a single process — just run the binary:
cargo install --path . # once; installs `anriss` into ~/.cargo/bin
anriss # serves on :4855, SQLite in ./data/annotations.dbOr straight from the checkout:
cargo run --releaseOpen http://localhost:4855/ — the built-in demo page runs the widget, so you can try the whole loop before touching your own app.
Building from a fresh clone only needs Rust; the widget bundle
(dist/anriss.js) is committed. Rebuild it after widget changes with
npm install && npm run build.
A Dockerfile is included if you prefer a container:
docker build -t anriss . && docker run -p 4855:4855 -v "$PWD/data:/data" anriss
Add the widget to your app (dev only!)
<script src="http://localhost:4855/anriss.js" defer></script>Gate it however your stack gates dev-only markup, e.g. Symfony/Twig:
{% if app.debug %}<script src="http://localhost:4855/anriss.js" defer></script>{% endif %}Annotate
Click the Annotate pill (bottom-left) or press Alt+Shift+A
Click one or more elements — click again to deselect
Press Enter or click Comment, write what should change, save
Connect your agent (MCP)
Claude Code — .mcp.json in your project:
{
"mcpServers": {
"annotations": { "type": "http", "url": "http://localhost:4855/mcp" }
}
}Codex — ~/.codex/config.toml:
[mcp_servers.annotations]
url = "http://localhost:4855/mcp"opencode — opencode.json:
{
"mcp": {
"annotations": { "type": "remote", "url": "http://localhost:4855/mcp" }
}
}Then just ask: "Work through the open UI annotations." The agent calls
list_open_annotations, locates each element via the stored selectors and
HTML snippets, fixes the code, and calls resolve_annotation.
Related MCP server: Lens
Lifecycle & live updates
open ──agent resolves (MCP/REST)──▶ done ──you tick ✓ in the widget──▶ archivedThe widget polls the server every 3 s (paused while the tab is hidden), so agent resolutions appear live in the pill's list panel — resolution note included — without a reload. A red dot on the pill means the server is unreachable.
Resolve never deletes. Archiving is deliberately human-only (no MCP tool for it): you review the fix, then tick it away.
The panel's Copy JSON button copies all open annotations — the manual fallback when you want to paste them into any agent directly.
REST API
Method | Path | Description |
|
| The drop-in widget |
|
| Create an annotation (the widget calls this) |
|
| List annotations |
|
| Mark resolved: |
|
| Health check |
Annotations are W3C Web Annotations with ext:* extension fields for
status/resolution. Comments may reference their targets as [#n] — n is the
1-based index into the annotation's target[] array (the widget's numbered
chips/badges use the same numbering). Each target carries a CssSelector, an XPathSelector
and a truncated HTML snippet, so agents (and future UI pins) can re-anchor
even after the DOM changed.
Configuration
Env var | Default | |
|
| HTTP port |
|
| SQLite path |
Widget: <script ... data-hotkey="ctrl+shift+e"> overrides the hotkey.
Development
npm run build # compile Tailwind subset + inline into dist/anriss.js
cargo test # server tests
cargo clippyEnd-to-end tests are Cucumber features driven by Playwright (plain ESM steps —
no compile step). They exercise the real widget through the pages the binary
serves. process-compose boots
the server, waits for /healthz, runs the features, and exits with their
result:
cargo build --release
cd e2e && npm install && npx playwright install chromium && cd ..
process-compose --tui=false up # server + Cucumber, one commandOr run the features against an already-running server: cd e2e && npm test.
The same process-compose up is what CI runs.
Queries are compile-time checked (sqlx). After changing SQL or migrations:
DATABASE_URL=sqlite://.sqlx-dev.db cargo sqlx migrate run && cargo sqlx prepare
(the .sqlx/ offline cache is committed, so plain cargo build needs no DB).
dist/anriss.js is committed so the crate builds without Node.
The widget UI lives in a Shadow DOM and its Tailwind classes are compiled
with important — host-page styles can't break it, and it can't leak out.
Marketing page
docs/index.html is both the landing page and the local demo/test bed:
Served by the binary at
/(embedded at compile time) — there the widget is live and annotations work end to end.Publishable via GitHub Pages: repo Settings → Pages → Build and deployment → Source "Deploy from a branch" → branch
main, folder/docs. On Pages the widget script simply 404s (no server) — the page itself works.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/anriss-dev/anriss'
If you have feedback or need assistance with the MCP directory API, please join our Discord server