mediawork-mcp: Instructions file for Codex

AGENTS.md

mediawork-mcp AGENTS.md is an instructions file for Codex, OpenCode from screen-arts/mediawork-mcp. It costs 2,267 tokens per session, scanned A, original, MIT.

Project instructions for a read-only Mediawork MCP server, a connector that lets agents retrieve the product's published information.

In plain words
What is it for?
Maintaining the server's public API wrapper, layout, conventions, and rules for exposing the vendor directory, FAQ, blog, and subscription plans.
Why use it?
They define the server's limits and keep it restricted to public data with no database credentials or write operations.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is screen-arts/mediawork-mcp's own configuration. It tells Codex and OpenCode how to work on mediawork-mcp 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 mediawork-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to screen-arts/mediawork-mcp. 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/screen-arts/mediawork-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/screen-arts/mediawork-mcp

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 mediawork-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/screen-arts/mediawork-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/screen-arts/mediawork-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/screen-arts/mediawork-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/screen-arts/mediawork-mcp/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 mediawork-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/screen-arts/mediawork-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/screen-arts/mediawork-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,267 This file is loaded in full into every session.
When invoked 2,267 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02267 $0.02267
Opus 5.5 $0.00907 $0.00907
Sonnet 5.5 $0.00453 $0.00453
Haiku 4.5 $0.00227 $0.00227

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

Security

Grade A, and why

mediawork-mcp 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 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.

Makes network callslowCapability

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

curl -X POST http://localhost:3004/mcp \
AGENTS.md · 168 lines

How it starts

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

mcp.mediawork.io for Agents

The Mediawork MCP server: read-only Model Context Protocol access to everything the product publishes publicly — the vendor directory, the FAQ, the blog, and subscription plans.

Connector URL: https://mcp.mediawork.io/mcp (Streamable HTTP, no authentication).

Sibling repos: screen-arts/mediawork-app is the product app that owns the /api/www contract this server wraps, and screen-arts/mediawork-www is the marketing site — the other consumer of that same contract. Neither is a dependency: this repo talks to the app over public HTTP only.

The two rules that define this project

1. Read-only, structurally. This deployment holds one environment variable, APP_API_URL. No database credentials, no secrets, no write path to anything. Do not add a tool that mutates, and do not add a credential that would make one possible — the guarantee is the deployment's shape, not a promise in a code comment.

2. It only ever wraps the app's public API. Every byte served here comes from https://app.mediawork.io/api/www/*, the same published contract the marketing site consumes. If a tool needs data that endpoint doesn't expose, add it to the app's /api/www surface first — never reach around into a database or a private route.

Layout

The Next.js deployable lives in deploy/; server.json sits at the root because it describes the listing, not the deployable.

server.json                          the MCP Registry manifest (see below)
deploy/src/lib/fetch.ts              APP_API_URL, cache tags, the one fetch wrapper
deploy/src/lib/directory-api.ts      directory endpoints + mirrored response types
deploy/src/lib/content-api.ts        FAQ, blog and products endpoints + types
deploy/src/lib/links.ts              canonical www.mediawork.io URL builders
deploy/src/mcp/shape.ts              pure payload -> tool result shapers
deploy/src/mcp/resolve.ts            the `kind:key` id scheme for search/fetch
deploy/src/mcp/tools/*.ts            tool registration, one file per group
deploy/src/app/mcp/route.ts          the handler, mounted at the endpoint path

Read the full file on GitHub · 168 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 · 168 lines · 2,267 tokens per session scan A c7d80cf2f377

Subscribe to this mod's changes

mediawork-mcp AGENTS.md is an instructions file published in the GitHub repository screen-arts/mediawork-mcp (0 stars, last pushed 17d ago), licensed MIT. It adds 2,267 tokens to every session, about $0.0091 per session on Opus 5.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-31.

Related

mediawork-mcp AGENTS.md compared with instructions from other repositories

mediawork-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mediawork-mcp AGENTS.mdscreen-arts/mediawork-mcpInstructions file017d agoMITA2,267Codex, 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