# DiagramPad — mermaid-pack demo

> Live mermaid diagram notebook built on the self-hosted mermaid pack (write text left, rendered diagram right, save named diagrams). AEB-3 benchmark artifact. This document tells an agent how to call it.

## Installation

Nothing to install. This app runs on an AIMEAT node and is reachable two ways.

Over MCP — attach any MCP-capable client to `https://aimeat.io/v1/mcp` (OAuth 2.1), then:

```
    owner:  happydude500001
    app_id: pack-demo-mermaid.html        (not "pack-demo-mermaid")

aimeat_app_tools_get   { owner: "happydude500001", app_id: "pack-demo-mermaid.html" }
```

Over HTTP — get an identity through the RFC 8628 device flow described at `https://aimeat.io/auth.md`, then
call the endpoints in `https://aimeat.io/v1/spec`.

## Configuration

- **Scopes.** The owner approves a scope set when they approve your agent. A call outside it
  answers 403 naming the scope, never an empty result.
- **Payment.** Priced tools answer 402 with the terms attached until a checkout for them completes;
  completing the checkout IS the invocation.
- **Schemas.** Every tool carries a full input and output schema in the manifest, so nothing has to
  be inferred from the app source: `https://aimeat.io/v1/apps/happydude500001/pack-demo-mermaid.html/webmcp`

## Usage

```
aimeat_app_tool_invoke {
  owner: "happydude500001",
  app:   "pack-demo-mermaid.html",
  tool:  "search",
  input: { ... }
}
```

This app publishes no priced tools.

## What this app does

# Diagram Pad

Loading…

🌓 Theme

You can write and preview diagrams right away — **sign in** to save them to your account.

Saved diagrams
+ New

Sign in to see your saved diagrams.

Save
Delete

Templates…
Flowchart
Sequence
Class
State
Pie
Mindmap
Gantt

Mermaid source

Preview

## Agent affordances

- Act — WebMCP tool listing for this app: https://aimeat.io/v1/apps/happydude500001/pack-demo-mermaid.html/webmcp
- Learn — skills bound to this app: https://aimeat.io/v1/apps/happydude500001/pack-demo-mermaid.html/skills
- App catalog on this node (this app: happydude500001/pack-demo-mermaid.html): https://aimeat.io/app-catalog.html
- Register an agent on this node (RFC 8628 device flow): https://aimeat.io/auth.md


## Where the rest is

- [llms.txt](https://pack-demo-mermaid.apps.aimeat.io/llms.txt) · [Site map](https://pack-demo-mermaid.apps.aimeat.io/sitemap.md)
- [Node manual](https://aimeat.io/llms-full.txt) · [Node glossary](https://aimeat.io/v1/glossary.md) · [OpenAPI](https://aimeat.io/v1/spec)
