N×M integration hell: почему до 2024 AI-стек был как «до интернета»
В 1970-х ARPAnet, Ethernet и пакетные радиосети жили каждый своей жизнью — каждый мост требовал custom translation layer. TCP/IP унифицировал транспорт, HTTP абстрагировал поверх — и Web взлетел. AI до 2024 в той же точке: мощные LLM без live data и без action layer. «Дать AI руки» — consensus, но интеграция — зоопарк форматов.
N×M custom glue: N моделей × M tools = экспоненциальный adapter hell. ChatGPT Plugins, OpenAI Function Calling, Claude Tool Use, Gemini Function Calling — разные payload-схемы.
Enterprise CRM pain: отдельный adapter под Claude, GPT и Gemini; смена LLM vendor = выкинуть integration layer и писать заново.
IDE silos: Cursor, VS Code, Zed по-разному ходят в FS, DB и API — tool definitions не portable между host'ами.
Agent framework fragmentation: LangChain, CrewAI, AutoGen — свой data plumbing, tight coupling orchestration/tool layer.
USB-C analogy: до USB-C — Mini-USB, Lightning, proprietary connectors. MCP задуман как USB-C для AI tool integration.
Training cutoff у LLM — live systems не подключены напрямую. Tool Use / Function Calling — правильный vector, но без стандарта каждый swap модели или IDE = full rewrite. Фон появления MCP.
MCP under the hood: Host/Client/Server, transport, JSON-RPC discovery
Model Context Protocol (MCP) — open standard с ноября 2024 (Anthropic) для wire protocol между AI model (client side) и external tools/data (server side). Идея: стандартизировать «какие tools доступны и как LLM их дергает».
| Layer | Role | Examples | Responsibility |
|---|---|---|---|
| Host | App, несущая AI | Claude Desktop, Cursor, VS Code | UI, lifecycle MCP Client |
| MCP Client | Protocol client | Встроен в Host | 1:1 session на каждый Server |
| MCP Server | Tool/data exposure | Custom или community | Tools, Resources, Prompts |
| External systems | Real data sources | DB, API, filesystem | Encapsulated Server'ом |
| Transport | Scenario | Traits |
|---|---|---|
| STDIO | Local subprocess | Zero deps, fast boot, process isolation |
| HTTP + SSE | Remote / cloud | Network hop, horizontal scale |
{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "query_database",
"arguments": { "sql": "SELECT * FROM users LIMIT 10" }
},
"id": 1
}
Wire format — JSON-RPC 2.0: tools/list отдаёт capability manifest в runtime; resources/read читает files/records; Server может push'ить в Client (bidirectional, не только request-response как у REST). Каждый tool несёт JSON Schema — LLM понимает params и side effects без manual prompt engineering.
MCP vs HTTP/REST: runtime discovery против static OpenAPI
«HTTP эры AI» — не маркeting fluff, а structural isomorphism: Web connected devices, Agent era connects LLM to tools.
| Dimension | Web era | Agent era |
|---|---|---|
| Core problem | Incompatible network stacks | Incompatible AI tool integration |
| Fix | TCP/IP + HTTP | MCP |
| Value | Common wire language | Unified tool interface for LLM |
| Openness | Open standard | Open-source spec, anyone implements |
| Capability | REST API | MCP |
|---|---|---|
| Tool discovery | Dev reads docs, hardcodes endpoints | Agent calls tools/list at boot |
| Session state | Stateless per request | Persistent connection, multi-step context |
| Self-describe | API не объясняет себя LLM | JSON Schema per tool |
| Direction | Request-response only | Bidirectional, Server может callback |
REST отвечает «можно ли вызвать endpoint». MCP — «как Agent discover/select/invoke tool correctly». Вторая задача — core problem Agent stack.
Почему MCP побеждает: four vendors, AAIF governance, network effect
В 2024 LLM capability перешла agent threshold; tool-calling fragmentation стала blocking issue. MCP вышел в правильный момент с open-source rollout — snowball effect.
| Timeline | Milestone |
|---|---|
| Nov 2024 | Anthropic open-sources MCP spec |
| 2025 | Cursor, Zed, Continue — native MCP support |
| Q1 2026 | OpenAI announces MCP adoption (January) |
| Q2 2026 | Google DeepMind: Gemini supports MCP (February) |
| Q2 2026 | Microsoft onboard; governance → Linux Foundation AAIF |
От vendor-specific spec к shared infrastructure — AAIF governance аналогична IETF для internet protocols. На 2026: 10 000+ public MCP Server. Каждый новый Server instantly available всем MCP Client; каждый новый Client unlock'ит весь existing tool catalog — тот же network effect, что HTTP дал Web. Swap LLM без rewrite tool layer.
Reality check: MCP не finished product. OAuth 2.0/2.1 в roadmap 2026; нет central «MCP DNS registry»; SSE transport требует session affinity; ~1 000 exposed unauthenticated Server — prompt injection cases documented. Google A2A (Agent-to-Agent) — horizontal agent mesh; MCP — vertical tool integration layer. Вместе — agent internet protocol stack.
Шесть шагов deploy MCP Server, hard numbers и cloud Mac KVMNODE
Для engineering org MCP = «write once, run everywhere»: integration assets portable вместо vendor lock-in. Permissions governance на Server layer.
Inventory capabilities: DB queries, file I/O, internal APIs, build triggers — classify по side effects (read-only vs write).
Pick transport: local dev — STDIO subprocess; remote/multi-tenant — HTTP + SSE на stable cloud node.
Implement Server + Schema: official SDK (TypeScript/Python), register tools, JSON Schema на каждый tool.
Wire MCP Client: Cursor mcp.json или Claude Desktop config — spawn command или remote URL.
Validate discovery/calls: tools/list complete; sample tools/call; check multi-step context retention.
Production на cloud Mac: 7×24, intranet access или parallel iOS CI — MCP Server на dedicated KVMNODE Mac Mini; launchd daemon, flexible day/week/month rent. Тарифы: цены аренды.
MCP ecosystem scale (2026): public Server count > 10 000 — network effect isomorphic early Web (Jacar / openEuler community stats).
Integration cost drop: после MCP standardization dev cost на AI tool wiring падает на 38–55% (Atlan / WorkOS industry analysis).
Startup barrier: standardized interface снижает entry barrier AI startups ~62%; classic SI custom work −43% (sector surveys).
| Approach | Long-running MCP Server | Main gap |
|---|---|---|
| Laptop STDIO | OK для dev/debug | Lid close = session drop, no 7×24 |
| Self-hosted VPS без macOS | HTTP+SSE works | No Apple ecosystem, iOS toolchain mismatch |
| Per-LLM REST adapters | Zero MCP learning curve | N×M hell, model swap = rewrite |
| KVMNODE cloud Mac + MCP | Dedicated node, flexible rent | Need monthly budget plan |
Trade-offs на столе: HTTP+SSE MCP Server на MacBook рвётся от travel и OS updates; REST adapter per LLM держит в N×M trap; ignore OAuth roadmap + exposed Server — production incident waiting. Для Apple Silicon, 7×24 uptime и isolation MCP Server / iOS CI / OpenClaw Gateway — аренда Mac Mini M4 / M4 Pro на KVMNODE часто optimal: единый governance plane, flexible rent, aligned с OpenClaw persistent agent guide. Оформить заказ, детали — центр помощи.