Gezinmeyi atla
This Anthropic MCP paper is absolute f*cking gold.
0:00 / 0:21

This Anthropic MCP paper is absolute f*cking gold.

Ridark

@ridark_eth16 B takipçi

X profili
182 beğeniİndirOrijinal gönderi

15.869 görüntüleme

This Anthropic MCP paper is absolute f*cking gold. One Anthropic example cut agent tool context from 150,000 tokens to 2,000 The agent stops calling tools and writes code that runs them. Same model, no swap Every MCP server becomes a file. The agent opens only what the task needs and filters the rest in a sandbox tools → files → execution → filter → response The 7 rules of code mode: Part 1 → turn tools into files Every MCP integration gets converted to a .ts file inside ./servers. The agent reads the directory and pulls only what the current task needs. Part 2 → load only what you need Context drops from 150,000 to 2,000 tokens on the very first turn. 98.7% less context burned. 98.7% less cost. Part 3 → filter before the model sees it A 10,000-row spreadsheet runs through the execution sandbox first. Only the 5 rows that matter reach the LLM. Part 4 → loops stay in code Waiting on an async job or polling Slack happens inside a native while loop. The model sits idle with zero inference calls until the event lands. Part 5 → privacy by default Emails and phone numbers swap to [EMAIL_1] and [PHONE_1] tokens before entering the prompt. The actual data still routes directly between downstream APIs. Part 6 → skills compound automatically Finished scripts land in ./skills with a matching SKILL.md alongside them. The agent grows its own toolkit with every successful run. Part 7 → typed sandbox execution Cloudflare turns every MCP server into a typed TypeScript API with strict sandboxing. Model-written code runs in a V8 isolate with zero access to API keys. Loading every tool up front burns your context before the work starts. Code mode means the agent runs on 2 open files. I packed all 7 rules into a single prompt. Drop it in Claude Code and code mode spins up in seconds. 7 mechanisms. 1 prompt. 150,000 tokens down to 2,000.

22 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • slash1s profil fotoğrafı

    @slash1sol

    this mcp is real gold

  • Ricker profil fotoğrafı

    @0xRicker

    7 mechanisms that can change a lot

  • Bober_smart profil fotoğrafı

    @Bober_smart

    worthwhile information

  • Gipp 🦅 profil fotoğrafı

    @gippp69

    skip filtering and you're still paying to send all 10,000 rows to claude

  • FrogPow profil fotoğrafı

    @FrogPow

    the token reduction led to a dramatic result

  • shmidt profil fotoğrafı

    @shmidtqq

    wow nice

  • Nekt0 profil fotoğrafı

    @Nekt_0

    mcp server now run mode people

  • Roan profil fotoğrafı

    @RohOnChain

    daamn, non stop alpha share from ridark

  • Chris Poulsen profil fotoğrafı

    @chrisfinecraft

    @bot study this fully and the links, would this benefit our team at all?

  • Vit from joinrecall.com profil fotoğrafı

    @vitverb

    how do they stop bad scripts from piling up in skills?

  • Yarchi profil fotoğrafı

    @undefinedKi

    the agent building up its own toolkit over time is the part that got me, saving this

  • Dekos profil fotoğrafı

    @PolyDekos

    This topic is very important to everyone right now

  • Whales China profil fotoğrafı

    @WhalesChina

    the token reduction led to a dramatic result

  • starmex profil fotoğrafı

    @starmexxx

    saved this alpha! great info

  • SH profil fotoğrafı

    @RocketmanSh

    does it always open the right file, or does it still wander?

  • Joying.eth profil fotoğrafı

    @Joyingeth

    insane

  • Yumzlef profil fotoğrafı

    @Yumzlef

    Moving logic out of the context window and into a sandbox changes everything about cost.

  • kiosa profil fotoğrafı

    @thegreatest_sv

    Insane cut

  • RR profil fotoğrafı

    @RRweb3

    the context reduction is substantial

  • dimitri.base.eth profil fotoğrafı

    @Sevenfourone

    The line these threads skip: Anthropic's own post says code mode needs a real sandbox, resource limits and monitoring. 150k to 2k tokens is real. The bill just moves to infra.