frontier-mcp
Summary: FrontierMCP turns a repo's .scratch/ markdown issue tracker into a queryable ticket graph, letting you list, read, create, and maintain efforts, boards, tickets, maps, and specs without parsing prose.
List Efforts (
list_efforts) — see every Effort in a workspace with its Ticket count and which header docs it holds.Read a Board (
get_board) — get an Effort's Destination plus one line per Ticket (name, title, kind, status, Edges) with the takeable Frontier marked; bodies are excluded.Fetch Tickets (
get_tickets) — pull full bodies for a chosen list of Ticket ids or names in one call.Create Tickets (
create_tickets) — publish a whole breakdown atomically (all or none), naming Tickets and wiringblocked_byEdges; cycles refused;create: truestarts a new Effort.Update a Ticket (
update_ticket) — lifecycle moves (claim, resolve with gist, drop, reopen, release), replace Edges, change title/kind/type, set triage or tags, append comments, tick acceptance criteria, and set or drop extra frontmatter keys.Edit a Map (
edit_map) — read or edit an Effort's Destination, Notes, fog patches (add/graduate), and out-of-scope rulings without rewriting other sections; Decisions-so-far is generated from resolved Tickets.Get or Put a Spec (
spec) — read or wholesale replace an Effort's Spec as one opaque document, alongside or instead of a Map.Check the Tracker (
check_tracker) — get the frontmatter schema, layout contract, a valid example, and itemized diagnostics (file, key, expected, fix); reads only, never repairs.Work across repos — pass
rooton any call or setFRONTIER_ROOTto target another workspace or worktree.
Click on "Deploy 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., "@frontier-mcp what issues are available to work on?"
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.
frontier-mcp
An MCP server that serves the markdown issue tracker under .scratch/ as a queryable graph — so agents
stop re-parsing prose to learn what is open, blocked, or takeable.
Stability
Pre-1.0: the API can change in a breaking way on any release. The tool surface is fixed at eight
tools, but their arguments, results, and the on-disk conventions under .scratch/ are still being
settled. Semver is honoured within 0.x as best it can be, and the
CHANGELOG.md records every break, but a 0.x bump is not a promise of compatibility. Pin an exact
version (see below) and read the changelog before moving the pin. From v1.0.0 on, breaking changes
wait for a major.
Related MCP server: brainforge-mcp
Requirements
Node 20.20.2+ on 20.x, 22.17.1+ on 22.x, or 24.15.0+ on 24.x for
frontier-mcp@0.5.0Node 16.20.2+ to run the setup bootstrap; pnpm for development of this repository
Node 24 LTS is recommended for new installations. The package floors passed on macOS, Linux, and Windows in
runtime CI, on commit 7bc26d9.
That commit has the same tree as 9c28ac4; the v0.5.0 commit adds only the version bump and
changelog.
Install
Register FrontierMCP once in the client's user scope. The recommended setup downloads the bootstrap from the published 0.5.0 tarball, installs the exact 0.5.0 server outside your project, verifies its MCP handshake, and previews a Cursor user-scope entry before applying it. The guide states what was measured for 0.5.0 and what still rests on earlier releases.
SETUP_DIR="$(mktemp -d)"
curl -fsSL https://registry.npmjs.org/frontier-mcp/-/frontier-mcp-0.5.0.tgz \
-o "$SETUP_DIR/frontier-mcp-0.5.0.tgz"
tar -xzf "$SETUP_DIR/frontier-mcp-0.5.0.tgz" -C "$SETUP_DIR" \
package/scripts/frontier-setup.cjs
node "$SETUP_DIR/package/scripts/frontier-setup.cjs" --version 0.5.0 --applyIt may run from a project pinned to Node 16; project runtime markers are evaluated later from the
client's working directory when the saved launcher starts. Omit --apply for a preview. For a manual
Cursor entry instead:
{
"mcpServers": {
"another-server": {
"command": "/absolute/path/to/another-server"
},
"frontier": {
"command": "npx",
"args": ["-y", "frontier-mcp@0.5.0"]
}
}
}Restart Cursor after saving. The pin is the version you get; updates remain manual.
For Claude Code, register it with the CLI rather than editing a file:
claude mcp add --scope user frontier -- npx -y frontier-mcp@0.5.0Claude Code keeps user and local scope in ~/.claude.json and reads project scope only from
.mcp.json at the repository root. For Codex, codex mcp add frontier -- npx -y frontier-mcp@0.5.0
writes ~/.codex/config.toml.
User scope is the recommendation: one entry serves every repository. To pin a version per
repository and commit it for a team instead, put the same frontier entry in the file each client
reads from the repository root:
Client | Per-repository file |
Claude Code |
|
Cursor |
|
Codex | Not verified. |
Neither Claude Code nor Cursor reads .agents/mcp.json. This repository keeps its entry there and
makes it reachable by committing .mcp.json and .cursor/mcp.json as symlinks to it; copying
only .agents/mcp.json leaves Claude Code and Cursor without the server, and neither reports an
error. To see which files declare frontier and which installed clients read them, run the setup
script's doctor from the repository.
Published releases through 0.6.0 ship bootstrap revision 2, which rejects --doctor and
--client claude-code. Until a release carries revision 3, run the doctor from a source checkout:
node path/to/frontier-mcp/scripts/frontier-setup.cjs --doctor --project .The installation guide covers Node 16 projects, a PowerShell bootstrap, runtime managers, absolute desktop paths, Bun and Deno (enabled only for older pins), other clients, updates, recovery, and removal.
First use in a repository
Open the repository in your editor. FrontierMCP resolves the workspace from the session working directory — walking upward to the nearest
.scratch/, or.gitin either form — so opening the project is the only setup step. A git worktree is its own workspace: it carries.gitas a file, and it is served instead of the repository it was made from.Read the tracker configuration document once: fetch MCP resource
frontier://tracker-doc, or readdocs/agents/issue-tracker.mdin a repo that vendors it.Call
list_effortsto see whether.scratch/exists yet.Call
get_boardon an Effort to see the Frontier, thenget_ticketsonly for the Tickets you work.
A repository with no .scratch/ directory is not an error. Create the first Effort with
create_tickets, edit_map, or spec and create: true.
Ticket names
A Ticket is named by its path: <effort>.<name>, the name being its file's stem, so
.scratch/auth/issues/token-cache.md is auth.token-cache. Whoever creates a Ticket chooses the
name — one to three words for what it is — and Edges use it: bare inside the Effort, in full across
Efforts.
{
"effort": "auth",
"tickets": [
{ "name": "token-cache", "title": "Cache the access token" },
{ "name": "refresh-flow", "title": "Refresh an expired token", "blocked_by": ["token-cache"] }
]
}A Ticket whose frontmatter carries an id is named by that id instead. The naming rules, the
references a call accepts and the hand-written file conventions are in
docs/agents/issue-tracker.md; the reasoning is in
ADR 0008.
Upgrading from 2.x
Existing Tickets stop being Tickets on upgrade. In 3.0 a file is a Ticket only when its
frontmatter carries the line frontier: ticket and it sits directly in an Effort's issues/
(ADR 0009). Until the line is
added, a 2.x Ticket is an unmarked file: off every Board, off the Frontier, never written. Its id
and its name come back unchanged once it is marked.
The server never adds the marker. Nothing is migrated, normalized or moved, and
migrate_effort is gone. Add the line by hand, or have an agent add it, after upgrading:
---
frontier: ticket
id: T12
title: Cache the access token
status: open
---To find the files to mark:
list_effortssuffixes an Effortunmarked=Nwhile N of itsissues/files have frontmatter holdingtitleandstatusbut no marker.get_boardnames them on anunmarked-ticket-likewarning line, three at a time with a count.check_trackerlists every one, with the schema, the layout contract and a valid example.A file with no frontmatter at all, such as one 2.x read from prose, is not listed. Run 2.x's
migrate_efforton its Effort before upgrading, or write its frontmatter by hand.
Once marked, a file must also validate. One that does not — an unknown status, a missing title,
YAML that does not parse — is counted excluded=N and named on the Board with its fault, and
get_tickets on its name gives the detail. A hand edit carries no revision check, so mark files
while no session is writing to the tracker. A vendored copy of the tracker document should be
replaced with revision 9.
Upgrading from 1.x
Existing Tickets need no action. Every id a file already carries keeps resolving, as an Edge and as tool input, and no existing file is renamed or rewritten. There is no migration step.
One case needs a hand: two files of one Effort with no id whose names differ only in the NN-
prefix, such as 01-notes.md and 02-notes.md. Both are now called notes. The Board lists them
under duplicate names, and every write to either is refused until one file is renamed.
What breaks in 2.0:
create_ticketstakesnameand refuseskey. Every Ticket in the call needs aname, and siblings in one call name each other by it.A created Ticket is
issues/<name>.mdwith noidfield and noNN-sort-order prefix. Anything that read an id out of a new file or its filename finds none.Nothing mints an id.
id_patternin.scratch/frontier.ymlis ignored; a file that still sets it draws one Board warning and can be deleted.<effort>#<order>is gone, and so is the Board'sno idwarning. A Ticket with noidis addressed by its name.A fenced Ticket holding keys outside the schema is counted on the Board as holding Unimported keys, and
update_ticketdrop_keysremoves them.A Board lists blockers above the Tickets they block. An existing
NN-prefix only breaks ties.An Edge that looks like a slip is refused rather than left dangling: a near miss of an existing name, a bare name only another Effort has, or the Board's
T9@betaform.Two branches adding the same name conflict in git (add/add). Rename one side's file before merging.
Creating a Ticket needs a filesystem with hard links.
An Effort slug that would step outside .scratch/ is refused, as it has been since 1.0.1. A vendored
copy of the tracker document should be replaced with revision 8. Then read
Upgrading from 2.x.
Override the workspace
Optional, per call or per session:
Pass
rooton any tool call to read another directory.Set
FRONTIER_ROOTin the server environment for a non-standard layout.
The working directory is the one your client launched the server in, and it is fixed for the session.
Moving to another worktree mid-session does not retarget it — use root, FRONTIER_ROOT, or restart
the server.
Tools
Eight tools: list_efforts, get_board, get_tickets, create_tickets, update_ticket,
edit_map, spec, check_tracker. See the tracker configuration document for when to use each.
Development
pnpm install
pnpm test
pnpm run check
pnpm run build
pnpm run test:runtime
FRONTIER_NODE16=/path/to/node16 FRONTIER_NODE24=/path/to/node24 pnpm run test:setup
node src/bin.tsReleasing
Publishing is CI-only via release-it. There is no local publish script, and adding one would mean minting the long-lived npm token that the CI setup exists to avoid.
Merge the work you want to ship to
master.On GitHub: Actions → Release → Run workflow, pick
auto/patch/minor/major.autois the default and derives the bump from the conventional commits since the last release —feat:gives a minor,fix:a patch. Pick an explicit one to override it. If nothing since the last tag is releasable,autoexits green having shipped nothing, so confirm a new tag appeared.The workflow runs checks + tests, bumps
package.json, updatesCHANGELOG.md, tagsv*, creates a GitHub Release, and publishes to npm withpnpm.Replace the current
frontier-mcp@0.5.0pin in your user MCP config with the exact version you released when you want the new build — pins stay manual on purpose.
The workflow is dispatchable from any branch but refuses to run off master: release-it commits,
tags and pushes as part of the run, so a release from a feature branch would rewrite that branch.
Local dry-run (no tag, no publish). It needs a clean working tree and an upstream branch, so commit first:
pnpm run release:drynpm publishing uses Trusted Publishing — GitHub Actions OIDC, configured for this repo on
npmjs.com, so there is no NPM_TOKEN to rotate.
Before changing .release-it.json or the workflow, read the release-it bullet in
AGENTS.md Work Guidance. Several settings there look removable and are not — the
absent registry-url, npm.skipChecks, npm.publishArgs, and the pnpm 10 pin each exist for a
reason recorded in one place so it cannot drift.
License
MIT — see LICENSE.
Available Tools
8 toolscheck_trackerCheck TrackerBRead-only
How to write a Ticket and what is wrong with the files there: the frontmatter schema, the versioned layout contract, a valid example, and every diagnostic itemized with file, key, expected and fix. Reads only; the server never repairs a file.
Inputs: root, effort.
create_ticketsCreate TicketsA
Publish a whole breakdown in one call. You name each Ticket; Edges may name a sibling from the same call. All are written or none — a partial failure creates nothing. Cycles are refused. An unknown Effort needs create.
Inputs: effort (required), tickets (required), root, create.
edit_mapEdit MapADestructive
Read a Map's Destination and Notes, or edit one typed section — set Destination or Notes, add or graduate a fog patch, rule something out of scope — without rewriting the others. Decisions-so-far is generated from resolved Tickets and never accepted as input. Mutations pass expected_revision from a prior read so concurrent sessions cannot clobber each other.
Inputs: effort (required), root, notes, create, +5 more.
get_boardGet BoardARead-only
An Effort's Destination, then one line per Ticket — name, title, kind, status, Edges — with the Frontier marked. Never returns bodies; fetch those with get_tickets.
Inputs: effort (required), root.
get_ticketsGet TicketsARead-only
Full bodies for a list of Ticket ids, in one call. Use after get_board, only for the Tickets you actually work.
Inputs: ids (required), root.
list_effortsList EffortsARead-only
List the Efforts in a repo, each with its Ticket count and which header docs it holds.
Inputs: root.
specSpecADestructive
Get or put a Spec as a whole opaque document (conventionally with YAML frontmatter). Nothing edits a Spec section by section — an Effort may hold both a Map and a Spec. Puts pass expected_revision from a prior read so concurrent sessions cannot clobber each other.
Inputs: effort (required), root, create, content, +1 more.
update_ticketUpdate TicketADestructive
Change one Ticket. Lifecycle: claim, resolve with a one-line gist, drop with a reason, reopen with a reason, or release a claim — at most one of those per call. Graph: replace the Edges, refused if they close a cycle. Identity: title, kind, and type. Annotations: triage role, tags, a comment, ticking acceptance criteria, setting extra keys or dropping them; these touch no part of the graph. Any of the four groups may accompany the others or stand alone.
Inputs: id (required), drop, kind, root, +14 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a clearly distinct resource and action: board summaries, full ticket bodies, ticket mutations, bulk creation, map section editing, spec document access, effort listing, and tracker validation. The summaries vs. full-body distinction and Map vs. Spec distinction are explicitly called out, leaving little room for misselection.
Seven of eight tools follow a clear verb_noun snake_case pattern (get_board, get_tickets, list_efforts, edit_map, update_ticket, create_tickets, check_tracker). The lone bare-noun 'spec' is a readable but minor deviation from the otherwise consistent convention.
Eight tools is a well-scoped set for this domain, covering reading, writing, validation, and summary views without obvious redundancy. No tool feels superfluous and the surface stays concise.
Ticket lifecycle, graph editing, map sections, spec handling, and validation are covered, but there is no explicit tool to create or delete an Effort. The note that 'An unknown Effort needs create' highlights this gap, since efforts can be listed and viewed but not created through the toolset.
Maintenance
Related MCP Connectors
Minimal issue tracker: projects, objectives and trackable plans, written by agents over MCP.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Repository knowledge graph MCP server for codebase understanding and debugging.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides an MCP server for scraping and retrieving data from GitHub Projects, including issues, pull requests, and organizational metadata. It enables natural language interaction with project boards and repository contents using GitHub Personal Access Tokens.1-
- AlicenseAqualityDmaintenanceAn MCP server that transforms markdown notes into an AI-powered knowledge graph. It enables LLM clients to explore, analyze, and diagnose knowledge graphs through tools for node explanation, path finding, causal chain analysis, and wiki health reporting.5MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables full-text search and link navigation over Markdown files as a knowledge graph.-
- AlicenseNot gradedqualityDmaintenanceMCP server for managing a project backlog as Markdown files in Git, enabling AI agents to read, create, and update tasks programmatically.2MIT