---
title: "San zhang (@mcptokensaver) | Hashnode"
description: "Building tools for AI agent token optimization and MCP development. Read the latest articles by San zhang on Hashnode."
url: "https://hashnode.com/@mcptokensaver"
---

@mcptokensaver

# San zhang

@mcptokensaver · San Francisco, CA · Joined August 2026

Building tools for AI agent token optimization and MCP development.

### [I counted the MCP tools in my Cursor setup: 882,846 tokens of tool definitions, re-sent every turn](https://mcptoon.hashnode.dev/i-counted-the-mcp-tools-in-my-cursor-setup-882-846-tokens-of-tool-definitions-re-sent-every-turn?utm_source=hashnode&utm_medium=feed)

882,846 That's not my download count. Not my traffic either. It's the full text of the 209 MCP tool definitions I have wired into Cline, Claude Desktop, Cursor, and Hermes Agent. Added up, token by to

3 min read · [mcptoon.hashnode.dev](https://mcptoon.hashnode.dev/i-counted-the-mcp-tools-in-my-cursor-setup-882-846-tokens-of-tool-definitions-re-sent-every-turn?utm_source=hashnode&utm_medium=feed)

[Oct 13](https://hashnode.com/posts/i-counted-the-mcp-tools-in-my-cursor-setup-882-846-tokens-of-tool-definitions-re-sent-every-turn/6acde3cdad6c4a92c7df4fda)

### [Claude Code / Codex / Cursor / Hermes Agent: zero config, one shared MCP config and skill set](https://mcptoon.hashnode.dev/claude-code-codex-cursor-hermes-agent-zero-config-one-shared-mcp-config-and-skill-set?utm_source=hashnode&utm_medium=feed)

One environment variable, four clients, one silent miss Last week I added an environment variable to one of my MCP servers — API\_BASE, pointed at an internal host. Added it in Claude Code. Worked. Add

5 min read · [mcptoon.hashnode.dev](https://mcptoon.hashnode.dev/claude-code-codex-cursor-hermes-agent-zero-config-one-shared-mcp-config-and-skill-set?utm_source=hashnode&utm_medium=feed)

[Oct 6](https://hashnode.com/posts/claude-code-codex-cursor-hermes-agent-zero-config-one-shared-mcp-config-and-skill-set/6ac53d4ad8eab4b33442a7bc)

### [Stop Hand-Crafting MCP JSON for Cursor and Claude Code: Sync Once, Cut 98% Discovery Tokens](https://mcptoon.hashnode.dev/stop-hand-crafting-mcp-json-for-cursor-and-claude-code-sync-once-cut-98-discovery-tokens?utm_source=hashnode&utm_medium=feed)

Last Friday, while cross-debugging a payment refactoring branch, I had Cursor open on my left monitor for frontend reviews and Claude Code running in my terminal on the right. To let both AI assistant

5 min read · [mcptoon.hashnode.dev](https://mcptoon.hashnode.dev/stop-hand-crafting-mcp-json-for-cursor-and-claude-code-sync-once-cut-98-discovery-tokens?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/stop-hand-crafting-mcp-json-for-cursor-and-claude-code-sync-once-cut-98-discovery-tokens/6ac21c53684fa41310ffbb12) [Oct 4](https://hashnode.com/posts/stop-hand-crafting-mcp-json-for-cursor-and-claude-code-sync-once-cut-98-discovery-tokens/6ac21c53684fa41310ffbb12)

### [The Name Index Pattern: Cutting Agent Context 99.2% on Tools and Skills Alike](https://mcptoon.hashnode.dev/the-name-index-pattern-cutting-agent-context-99-2-on-tools-and-skills-alike?utm_source=hashnode&utm_medium=feed)

There's a pattern I keep reaching for whenever an agent's context gets crowded, and it took me too long to notice it applies in two places at once. The pattern is small: keep names resident, fetch bod

4 min read · [mcptoon.hashnode.dev](https://mcptoon.hashnode.dev/the-name-index-pattern-cutting-agent-context-99-2-on-tools-and-skills-alike?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/the-name-index-pattern-cutting-agent-context-99-2-on-tools-and-skills-alike/6abdda086a038ff28d8584d6) [Oct 1](https://hashnode.com/posts/the-name-index-pattern-cutting-agent-context-99-2-on-tools-and-skills-alike/6abdda086a038ff28d8584d6)

### [The 4,250-Token Handshake: What 24 MCP Tools Charge Before Your Agent Answers a Single Question](https://mcptoon.hashnode.dev/the-4-250-token-handshake-what-24-mcp-tools-charge-before-your-agent-answers-a-single-question?utm_source=hashnode&utm_medium=feed)

If you run an AI agent wired to MCP servers, there's a handshake happening before every single reply — and you've never seen the invoice. This post is that invoice, itemized, plus the exact engineerin

4 min read · [mcptoon.hashnode.dev](https://mcptoon.hashnode.dev/the-4-250-token-handshake-what-24-mcp-tools-charge-before-your-agent-answers-a-single-question?utm_source=hashnode&utm_medium=feed)

[Sep 10](https://hashnode.com/posts/the-4-250-token-handshake-what-24-mcp-tools-charge-before-your-agent-answers-a-single-question/6aa27464b4803317feeb9a66)
