mcp-lite AGENTS.md

A repository guide for mcp-lite, a TypeScript project managed as a Bun monorepo—a repository containing multiple related packages.

In plain words
What is it for?
Use it when building, checking, linting, testing, or adding code to the core library, command-line tool, playground, or examples.
Why use it?
It tells agents where code and tests live and which commands and style rules apply across the packages.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/fiberplane/mcp-lite/agents-md
Clone the repo
git clone --depth 1 https://github.com/fiberplane/mcp-lite

Made for: Codex, OpenCode.

Per session 622 This file is loaded in full into every session.
When invoked 622 The same file — it is already loaded in full.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00622 $0.00622
Opus 5 $0.00311 $0.00311
Sonnet 5 $0.00124 $0.00124
Haiku 4.5 $0.00062 $0.00062

Measured 2d ago against content hash c1a73fad502e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcp-lite AGENTS.md scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- PRs: include description, motivation, and any breaking changes. Link issues. Add before/after snippets or curl examples for protocol changes.
AGENTS.md · 46 lines

How it starts

The opening of the file, as written. The whole thing — 46 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Repository Guidelines

Project Structure & Module Organization

  • Root: Bun monorepo with workspaces in packages/* and playground.
  • Core library: packages/core
    • Source: packages/core/src
    • Tests: packages/core/tests/integration/*.test.ts
    • Build scripts: packages/core/scripts
  • Create MCP Lite CLI: packages/create-mcp-lite
    • Source: packages/create-mcp-lite/src
    • Tests: packages/create-mcp-lite/tests/**/*.test.ts
    • Build scripts: packages/create-mcp-lite/scripts
  • Playground app: playground/minimal-server.ts (Hono + MCP HTTP transport)
  • Examples: examples/*
    • These can all run with bun, and test integration of packages/core (mcp-lite) with various other libraries.

Build, Test, and Development Commands

  • Install deps: bun install
  • Build all packages: bun run build
  • Type-check all: bun run typecheck
  • Lint/format (Biome): bun run lint
  • Test all (Bun): bun test
  • Per-package example: bun run --filter=core build (or cd packages/core && bun run build)

Coding Style & Naming Conventions

  • Language: TypeScript (ESM). Prefer explicit exports.
  • Formatting: enforced by Biome; run bun run lint before pushing.
  • Files: kebab-case for multi-word files (e.g., transport-http.ts).
  • Classes: PascalCase (e.g., McpServer). Functions/vars: camelCase.
  • Types/interfaces: PascalCase; constants SCREAMING_SNAKE_CASE.

Testing Guidelines

  • Framework: Bun.
  • Location: place tests under packages/<name>/tests/** and name as *.test.ts.
  • Run: bun test (all). Run all test files with "foo" or "bar" in the file name bun test foo bar. Run all test files, only including tests whose names includes "baz" bun test --test-name-pattern baz.
  • Write integration tests for public behavior (HTTP transport, JSON-RPC). Favor black-box tests over internals.

Commit & Pull Request Guidelines

  • Commits: concise, imperative subject; scope by package when relevant (e.g., core: add StreamableHttpTransport validation).
  • PRs: include description, motivation, and any breaking changes. Link issues. Add before/after snippets or curl examples for protocol changes.
  • Requirements: green tests, lint clean, typecheck clean. Update docs (README.md, examples) when APIs change.

Read the full file on GitHub · 46 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 46 lines · 622 tokens per session scan A c1a73fad502e

Subscribe to this mod's changes

mcp-lite AGENTS.md is an instructions file published in the GitHub repository fiberplane/mcp-lite (117 stars, last pushed 10mo ago), licensed MIT. It adds 622 tokens to every session, about $0.0031 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.