MCP is having a moment on DEV this week. The big thread is about how simple the protocol is. The quieter question underneath it is what all those connected servers cost you, both in context window and in money, before the model writes a single line of code.
I build websites and apps for founders, and I test AI coding tools in real projects. This post is the practical version of that question: where MCP tokens come from, how to measure them for your own setup with about 40 lines of Node, and the three settings that cut the bill. Everything below links to the official docs I checked on November 15, 2026.
Where MCP token cost comes from
An MCP server tells the client what it can do through tools/list . According to the MCP tools specification , each tool has a name , a description , an inputSchema (JSON Schema), and optionally a title , outputSchema and annotations .
Your AI client then hands those definitions to the model. On the model API side, that is just input.β¦