Why Build MCP? 4 Levels of Adoption — From API Access to Company-Wide Semantic Layer
Source: Dev.to
1. Simple API‑access use case
The most obvious scenario: you ask the agent
“analyze the Telegram channel @llm_under_hood, identify topics and popular posts”
The agent calls the Telegram API, fetches posts, calculates metrics, and returns the analysis.
2. Raising the abstraction level with MCP
AI frequently makes mistakes—forgetting where servers and data are, producing syntax errors, or mis‑interpreting context. MCP solves this by lifting the abstraction level.
Example: Three small MCP servers (≈200‑300 lines each, TypeScript)
- infra –
vm_healthgenerates a health report (12+ threshold alerts),container_logsreturns logs,redis_queryruns Redis queries. - deps –
dep_versionsacross 5 repositories,tag_api_types,update_consumer. Handles dependency version checks and API‑type syncing. - s3 –
s3_org_tree,s3_device_files,s3_cat. Provides “show files for device X from yesterday” without the endlessaws s3 lspaths.
Without MCP
ssh user@server "docker exec redis redis-cli -a $PASS INFO memory | grep used_memory_human"
The agent often composes the command incorrectly.
With MCP
redis_query({ server: "audioserver", command: "INFO memory" })
A single tool call replaces a fragile, multi‑step SSH command.
3. Domain‑specific wrappers
Dependency management
dep_versions can query versions across multiple repositories, while tag_api_types and update_consumer keep API contracts in sync automatically.
S3 navigation
Functions like s3_org_tree, s3_device_files, and s3_cat let users ask high‑level questions such as “show files for device X from yesterday” without constructing long aws s3 ls paths.
4. Semantic layer for company‑wide access
An MCP server can wrap not just an API but an entire semantic layer. Data is already prepared and labeled, so the agent works with business concepts instead of raw schema.
- Example queries:
- “show traffic insights for yesterday”
- “which ASNs should we block?”
- “which users generated the most revenue?”
The agent never needs to know table names, join logic, or filtering rules—the MCP server encapsulates all of that. This lets analysts build the semantic layer once and empower the whole team, including non‑technical managers.
5. Role‑based access and industry adoption
- Google Search Console – Instead of handing out credentials, an internal OAuth flow grants access based on corporate SSO and role.
- Revenue dashboards – Some users see yesterday’s revenue, others do not, enforced at the tool level.
This pattern is now standard. Companies such as Sentry, Stripe, GitHub, Atlassian, Cloudflare, Supabase, Linear, Grafana, Playwright, AWS, Terraform, MongoDB, and many others expose remote MCP servers with OAuth 2.1. Users simply add a URL, log in via a browser, and start working—zero configuration.
6. Production patterns analysis
We examined the source code and documentation of 50 production MCP servers from the vendors above and distilled the findings into a Claude Code skill covering:
- Architecture – transport choice (STDIO vs. Streamable HTTP), deployment models, OAuth 2.1.
- Tool design – naming conventions, LLM‑friendly descriptions, managing tool count (1 → 1400+).
- Implementation – error handling, security, prompt‑injection protection, token optimization.
- Operations – debugging with MCP Inspector, LLM‑based evaluation testing, Docker deployment.
- Industry patterns – top 35 patterns from production, pre‑release checklist.
7. Claude Code skill for MCP building
The skill is packaged as a Claude Code skill (23 sections). Drop it into your ~/.claude/skills/ directory and run /mcp-guide:
MCP Building Guide Skill on GitLab
The agent will automatically apply these best practices when planning, developing, or reviewing MCP servers.