MyMCP: Instructions file for Codex

AGENTS.md

MyMCP AGENTS.md is an instructions file for Codex, OpenCode from flyset/MyMCP. It costs 1,666 tokens per session, scanned A, original, Apache-2.0.

Repository-specific instructions for MyMCP, a local-first MCP server that hosts a user-controlled memory feature. They describe the project's intent, guardrails, and analysis style.

In plain words
What is it for?
Guiding development and analysis of MyMCP, including its memory tools, storage, workflow, and safety rules.
Why use it?
They help a coding agent make changes that respect consent, privacy, deletion, and the project's limited scope.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions subagents; mentions AGENTS.md.

This is flyset/MyMCP's own configuration. It tells Codex and OpenCode how to work on MyMCP itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MyMCP configures →

View source ↗ flyset/MyMCP
Reuse

Borrowing it

Nothing to install: this file belongs to flyset/MyMCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/flyset/MyMCP/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/flyset/MyMCP

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for MyMCP AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/flyset/mymcp/agents-md/github.svg)](https://agentmods.dev/instructions/flyset/mymcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/flyset/mymcp/agents-md"><img src="https://agentmods.dev/badge/instructions/flyset/mymcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for MyMCP AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/flyset/mymcp/agents-md"><img src="https://agentmods.dev/badge/instructions/flyset/mymcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,666 This file is loaded in full into every session.
When invoked 1,666 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01666 $0.01666
Opus 5.5 $0.00666 $0.00666
Sonnet 5.5 $0.00333 $0.00333
Haiku 4.5 $0.00167 $0.00167

Measured 2mo ago against content hash 501805117d05, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

MyMCP AGENTS.md scanned grade A with 0 findings 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 2mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 138 lines

How it starts

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

AGENTS.md

Project Intent

MyMCP is the repository and host package for a local-first MCP server. It currently hosts the Mnemosyne user-governed memory domain in-process.

Principles

  • Read before changing, especially docs/AI_WORKFLOW.md.
  • Prefer small, explicit MCP tools over broad access.
  • Do not add shell-execution or unrestricted filesystem features.
  • Do not store secrets, tokens, private keys, or sensitive personal data.
  • Keep memory visible, consent-based, and easy to delete.
  • Favor simple filesystem-backed schemas before infrastructure complexity.

Guardrails

  • ALWAYS read docs/AI_WORKFLOW.md

Analysis Style

  • Analysis is a joint, step-by-step exercise with the user; the agent does not deliver a finished analysis on its own.
  • After each short step, present the concrete evidence and stop, so the user can course-correct before the agent draws conclusions.
  • Do not write large standalone analysis dumps; keep each step small and reversible so the user can steer the investigation as it unfolds.

Current Scope

This is an early FastAPI MCP host with a Phase 1 kind-qualified runtime seam, a delivered Phase 2 bundled Mnemosyne extraction, the released MyMCP/mymcp 0.2.0 public host, the prior 0.2.1 Ollama schema-compatibility build, the 0.8.0 MCP principal/session integration over the OAuth Authentication resource-server foundation, the 0.9.0 configurable protocol-header strictness build, the 0.10.0 configurable MCP session-lifetime build, and the current 0.10.1 llama.cpp grammar-safe Tool-schema compatibility build. The bundled Mnemosyne plugin is 0.3.0; memory_recall, memory_list, memory_remember, and memory_revise are capability contract 1.2.0, while the other four capabilities are 1.1.0. The canonical Mnemosyne adapter, configuration, memory domain, and MCP Tool adapters live under mymcp/plugins/mnemosyne/; bootstrap, runtime, bindings, argument normalization, and host list_tools remain host-owned. Host configuration schemas 1 through 7 supply immutable per-process startup intent and loopback packaged-launcher settings; schema 1 retains enabled_plugin_unsupported, schema 2 composes validated external plugins at startup, and schema 3 adds explicit Authentication intent. Schema 4 adds the operator-bearer-v1 verifier-source selector; schema 5 adds the oauth-jwt-jwks-v1 issuer selector, immutable startup validation snapshot, and conditional RFC 9728 protected-resource metadata/challenge; schema 6 adds configurable MCP protocol-header strictness; schema 7 adds bounded registered-session lifetimes. The two production Bearer methods are mutually exclusive, OAuth establishes identity only, and the literal loopback HTTP resource is a local interoperability exception. Registered MCP sessions are host-owned, process-local context; Governance policy remains unimplemented. Repository migration, operational reconnect/approval checks, annotated tag creation, and release publication are complete. Startup composition for operator-installed, operator-trusted external plugins is delivered: MyMCP validates compatibility and composition, not plugin safety, and plugin changes require a server restart. Do not add host-managed installation, dependency environments, hot activation, plugin isolation, or runtime lifecycle management. Keep changes minimal and protocol-aware.

Read the full file on GitHub · 138 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. 2mo ago First seen · 138 lines · 1,666 tokens per session scan A 501805117d05

Subscribe to this mod's changes

MyMCP AGENTS.md is an instructions file published in the GitHub repository flyset/MyMCP (0 stars, last pushed 14d ago), licensed Apache-2.0. It adds 1,666 tokens to every session, about $0.0067 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

MyMCP AGENTS.md compared with instructions from other repositories

MyMCP AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
MyMCP AGENTS.mdflyset/MyMCPInstructions file014d agoApache-2.0A1,666Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode