Skip to main content
Glama
README.md
# VPF MCP server

An [MCP](https://modelcontextprotocol.io) server that helps agents write, check and explain plans in the
[Verifiable Plan Format](https://verifiableplanformat.org) (VPF). Every step of a plan says what is wanted, who does
it and what proves it is done.

## Use it

Add the server to your agent's MCP servers. It runs on Node.js 20 or later:

```json
{
  "mcpServers": {
    "vpf": { "command": "npx", "args": ["-y", "github:verifiableplanformat/mcp-server"] }
  }
}
```

Then ask your agent for a plan in your own words. It reads the rules, writes the plan, checks it and tells it to you
in plain words.

## What it gives

| Tool           | What it does                                                                                   |
| -------------- | ---------------------------------------------------------------------------------------------- |
| `vpf_guide`    | The rules for writing a plan, and every problem a checker tells with how to fix it.            |
| `vpf_examples` | Example plans for everyday work: the list with their wishes, or one plan's JSON by its name.   |
| `vpf_check`    | Every problem of a plan, each with its reason, its step and a sentence, also as structured data. |
| `vpf_show`     | A plan in plain words: the wish and, for each step, what to do, who does it and what proves it. |

Every tool only reads what it is given or what the package holds. None touches files, runs a command or reaches the
network.

| Resource                         | What it is                            |
| -------------------------------- | ------------------------------------- |
| `vpf://guide`                    | The rules for writing a plan.         |
| `vpf://format`                   | Every field and every problem.        |
| `vpf://schema/vpf-1.schema.json` | The JSON Schema of a plan's shape.    |
| `vpf://examples/{file}`          | Each example plan.                    |

The prompt `write_plan` asks for a plan for a wish, checked before it is given.

The checker is the [TypeScript SDK](https://github.com/verifiableplanformat/typescript-sdk), which passes every
conformance case of the specification.

## Content

`content/` is copied from the [specification](https://github.com/verifiableplanformat/vpf): the
[vpf-plans skill](https://github.com/verifiableplanformat/vpf/tree/main/skills/vpf-plans), its reference, the JSON
Schema and the examples. `scripts/sync-content.sh path/to/vpf` copies them again.

## Development

```sh
npm ci
npm test
```

The tests talk to the server as an MCP client does, in memory and over standard input and output.

## License

[Apache-2.0](LICENSE)

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct role: check validates a plan, show explains it, guide provides the rules, and examples provides reference plans. The check-versus-show distinction is explicit in their descriptions, so an agent can select confidently.

Naming Consistency5/5

All tools use a consistent vpf_ prefix followed by a short verb or noun-like action: check, show, guide, examples. The pattern is predictable and easy to scan.

Tool Count5/5

Four tools are well-scoped for a plan-validation domain: learn the rules, see examples, validate a plan, and explain a plan. Each tool earns its place without redundancy.

Completeness4/5

The surface covers learning, examples, validation, and explanation, which are the core workflows for checking VPF plans. A dedicated create or edit-plan tool is absent, but agents can likely author JSON from the guide and examples.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues