lattice-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | Yes | Absolute path to the `lattice/` package root so `import lattice` resolves from any working directory. | |
| LATTICE_PROJECT_ROOT | Yes | Absolute path to the root directory of the repository being tracked (where `.whiteboard/<board>.json` and the tracked source files live). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| resources | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| readmeB | Read the BowThruster README, System Architecture Guide, or the unified 'bowthruster' SKILL.md template so you know how to format pipe tables and operate BowThruster. |
| atlasA | Step 1 (Explore LOD_0 or Living Spec): Render the 1-line-per-component Atlas topology (with Charter, Role, Why/Rationale, verification statuses, > FLOW edges, health metrics, and optional Mermaid graph) or pass spec=true to compile the full human-readable Markdown specification from the live board. |
| sliceA | Step 1 (Slice + Code in One Shot): Retrieve a <2KB component/symbol slice AND exact #Lstart-Lend source code (set query='<function_or_helper>', include_code=true) BEFORE calling read_file or grep. Pass mark_stale=true when pulling code for an internal fix (no contract change) to mark the matched component STALE in one shot. |
| packetsC | Step 3 (Build STALE Packet): Compile self-contained WorkPackets with Bend 2 laws_skeleton, Python AST python_skeleton (with Spec docstrings & # MUST CALL anchors), and baseline_commit_sha. |
| turnB | Step 2 (Mutate Board First -> STALE): Compile Markdown pipe tables into the Whiteboard in <50ms BEFORE editing any VERIFIED file when contracts/architecture change. Canonical table headers: | Charter | Summary | Principles |, | Component | Role | Why | Owner | Stage | Depends_On | Files | (Why column is optional), | Flow | Source | Target | Payload | Condition |, | Interface | Component | Inputs | Outputs | Owner | Stage | File | Spec |, | Law | Component | Owner | Stage | Bend_Dir | Args | LHS | RHS | Spec | (reserve % LAW for multi-variable k>=2 boolean rules using Bool.and/or/not; never invent 1-boolean x==x tautologies), | Schema | Component | Fields | Owner | Stage | File | Spec |, | Rule | Component | Type | Property | Op | Value | Condition |. |
| git_syncA | Step 4 (Verify & Sync): Run Git <-> Whiteboard sync: mode='pre' (50ms pre-commit gate checking STALE edit guard, AST signatures, call-graph % LAW reachability, > FLOW schemas, dangling imports, Bend 2 proofs, and unregistered_public_symbols; pass mark_verified=true to auto-transition STALE components to VERIFIED when allowed=true), mode='post' (stamp commit_sha, heal git mv renames, refresh #Lstart-Lend AST anchors, cascade STALE), mode='baseline', or mode='drift'. |
| statusB | Step 4 (Transition Status): Transition a component's build lifecycle status (e.g. new_status='VERIFIED' after pre-commit gate and delta/seam tests pass). |
| logsA | Query the append-only Structured Flight Recorder (.whiteboard/logs/lattice_events.jsonl) to diagnose rejected turns or gate errors. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| BowThruster README & MCP Quickstart | Quickstart guide for AI agents using the BowThruster MCP server (pipe-table format, workflow, and tools). |
| BowThruster System Architecture & Brownfield Guide | Full system architecture, Bend 2 formal laws, and brownfield repo migration guide. |
TDQS
Scored across 8 tools
The tools map onto a clear staged workflow (atlas/slice=Step 1, turn=Step 2, packets=Step 3, git_sync/status=Step 4) which aids selection, and logs/readme are distinct. However, git_sync is heavily mode-overloaded (pre/post/baseline/drift), atlas supports two output modes, and status overlaps with git_sync's mark_verified STALE->VERIFIED transition, creating real boundary confusion.
All names are single lowercase words or a single snake_case compound (git_sync), so style is consistent. There is no verb_noun convention, so the name alone doesn't convey the action (e.g. 'turn' and 'packets' are opaque until you read the description), but internal consistency is high.
8 tools is well within a healthy range for a spec/workflow lifecycle server, and each participates in the pipeline rather than duplicating. The only concern is functional density (git_sync's four modes, atlas's two modes) rather than raw count.
The surface covers the core loop: explore (atlas), retrieve code (slice), mutate board (turn), compile packets, verify/sync (git_sync), transition (status), and diagnose failures (logs), plus format guidance (readme). Minor gaps exist: no explicit undo/rollback for a bad turn, and code editing itself is delegated to external read_file/grep and implied editors.