mcp-legacy-lane
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-legacy-lanecheck if any legacy MCP clients are still active and give me the removal recommendation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Instrument the old path before you delete it
MCP is an open protocol for LLM apps to call tools over JSON-RPC.
Kent's homework: you have a legacy path still wired in, and you have not counted whether anyone still uses it. Measure before you delete.
This repo runs one dual-era MCP server and a SQLite ledger that survives a restart. You keep the fallback while any legacy operation remains.
The versioning page names the two lanes. Legacy is 2025-11-25 and earlier: the session starts with initialize. Modern is 2026-07-28 and later: each request carries version and identity in _meta.
Count completed work
A reconnecting client changes the request count. Five legacy tool calls cost fifteen requests if the client opens a new connection each time, and seven if it holds one connection. The legacy handshake spends initialize and notifications/initialized once per connection, so a reconnecting client looks like heavy legacy traffic. Each row is the same five tool calls per lane:
Five tool calls per lane | Legacy requests | Modern requests | Legacy share |
Client reconnects for each call | 15 | 10 | 60.0% |
Client holds one connection | 7 | 6 | 53.8% |
Completed operations | 5 | 5 | 50.0% |
You count 5 and 5 on the operations row. The request rows differ by six points because the client chose to reconnect. recommend() reads the operations row. Count the unit that still matches after a transport rewrite or a client that changes how it connects.
Related MCP server: mcpstat
Run it
Node 24 or newer. You store the ledger with node:sqlite.
Start the collector first, then the server, then generate traffic:
pnpm install
pnpm collector # http://127.0.0.1:3000, OTLP (the metric export format) and agent tools
pnpm server # http://127.0.0.1:8787, dual-era MCP server
pnpm traffic # legacy and modern tool calls, plus DCR and CIMD hitsDCR is Dynamic Client Registration: the client POSTs metadata to /register on each connect. Deprecated in 2026-07-28. CIMD is Client ID Metadata Documents: the client id is an HTTPS URL to static metadata, the replacement for DCR.
Then read the two stores:
pnpm report # verdict from .data/migration-evidence.db
pnpm proof # lane series from the collectorWait six seconds after pnpm traffic before pnpm proof so the scrape lands.
The first run prints this:
Migration readiness: MCP protocol lanes
=======================================
window : 7 days
active days : 1/7 required
legacy operations : 5
modern operations : 3
total operations : 8/100 required
legacy % : 62.50%
raw requests : 15 legacy / 6 modern
legacy methods : initialize x5, notifications/initialized x5, tools/call x5
legacy clients : legacy-dashboard@0.9.4
modern clients : modern-agent@2.1.0
auth DCR : 2 attempts (1 success, 1 failure)
auth CIMD : 3 attempts (2 success, 1 failure)
recommendation : keep_both
A legacy client completed an operation. Keep the fallback and check next week.
Ask these clients to upgrade: legacy-dashboard@0.9.4.pnpm traffic sends five legacy clients and three modern ones, the mix Kent describes a few weeks after a spec release. Each client reconnects for its one call, so the requests row reads 15 against 6. The report names legacy-dashboard@0.9.4, so you know who to email.
The policy
Defaults: a seven-day window, seven active traffic days, 100 completed operations.
Evidence | Verdict |
No operations |
|
One or more legacy operations |
|
Zero legacy operations, sample below the guards |
|
Zero legacy operations, both guards passed |
|
recommend() returns keep_both after one legacy operation, even against two hundred modern ones. That call still belongs to a client. Modern volume does not tell you whether anyone still needs the old path.
Deprecation window
The deprecated features registry lists DCR, roots, sampling, and logging as deprecated in 2026-07-28. Earliest removal is the first revision on or after 2027-07-28. A clean local report does not move that date. Clients that follow the spec still have the promised window.
Ask your agent
Leave the collector and server running. .mcp.json points autotel at http://127.0.0.1:3000/mcp and migration at http://127.0.0.1:8787/mcp. migrationStatus reads the durable window.
List
mcp.protocol.lane.operationsin autotel and compare thelane=legacyandlane=modernseries. CallmigrationStatuson the migration server. Can we remove the 2025-11-25 fallback? Cite the operation counts, active days and policy guardrails.
Run that prompt on a weekly cron and you get Kent's answer.
Signals
Signal | Storage | Purpose |
| OTLP | Request volume, one series per |
| OTLP | Comparable operations, one series per |
| OTLP | DCR and CIMD attempts, one series per |
| OTLP | Days of silence on the old lane, |
| SQLite | The report window, client names, across restarts |
list_metrics returns one series per attribute set, so the agent groups by lane. You need autotel-mcp 0.5.1 or newer for those attributes to survive ingest.
Kent averages 125 DCR registrations per user because each reconnect writes another record. A CIMD client writes none. Count both modes and you can see when DCR has gone quiet.
Decisions to copy
Count volume, then measure silence. Read the counters for how much legacy traffic arrived. You need the last arrival to decide on removal. mcp.protocol.legacy.days_since_last_operation reads the ledger when the collector scrapes, so you do not recompute it on the request path. Alert when the gauge crosses 30.
Put method names on the metric. Put client names in the ledger. mcp_method is a label, so each new value creates another series, and an unauthenticated caller chooses the value. STANDARD_METHODS in factory.ts is an allow-list: anything unrecognised records as unknown. Client names have no bound, so they go to SQLite. One more name costs a row.
Keep both guards. A minimum sample stops you approving removal on a quiet afternoon. A minimum of active days stops you approving it on one busy Tuesday that missed the weekly batch job.
Serve both eras without a session. createMcpHandler runs with legacy: 'stateless'. One factory serves both eras and ctx.era names the lane. Any instance can answer any request, so you write the counter. You do not need a session table or sticky routing. A stateful fallback would have you instrument sessions. The report would then depend on the load balancer.
Client names per era
A modern request names its caller. A legacy request names the caller once, during initialize.
Legacy ( | Modern ( | |
Method name | JSON-RPC body |
|
|
|
|
The modern envelope repeats clientInfo in params._meta on every request, so any instance can serve it. The legacy lane puts the name on the handshake. A stateless server has nowhere to keep it for the tool call that follows. factory.ts reads both. The report can name legacy-dashboard@0.9.4 because that name arrived on initialize, not on the tool call that gets counted.
You can route a gateway on MCP-Method because the request describes itself. You attribute traffic without a session for that reason too.
activeDays buckets by UTC date, so a client whose users work US evenings can land in two buckets. The auth routes write DCR and CIMD attempts. They mint no tokens and fetch no CIMD documents.
Configuration
Variable | Effect |
| Ledger location |
| Report window |
| Ledger retention |
| Sample-size guard |
| Active-days guard |
GET /metrics/lanes?windowDays=30 takes the same window, up to 90 days.
To see the ledger survive a restart: run traffic, stop the server, start it again, run pnpm report. The counts remain.
pnpm collector keeps telemetry in autotel.db for 30 days. The server keeps evidence in .data/migration-evidence.db for 90. Git ignores both.
Dual-era server
The server is dual-era because createMcpHandler runs with legacy: 'stateless', and ctx.era names the lane you count. See the changelog for the rest of the 2026-07-28 change set.
autotel-mcp-instrumentation adds spans and duration histograms on both sides. You answer the removal question from the counters and the ledger.
Code map
File | Responsibility |
| Dual-era tools; reads era, method and client per request |
| Parses the body once, shares it with the factory |
| OTel counters and windowed snapshots |
| Indexed SQLite ledger, plus a memory store for tests |
| The guards and the report copy |
| DCR and CIMD attempt evidence |
| Reads the lane series back out of OTLP |
| Two named clients, one per lane |
Verify
pnpm typecheck
pnpm testThirteen tests cover the ratio bias, window filtering, restart persistence, auth outcomes, client attribution, legacy method counts and both removal guards.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides comprehensive monitoring and observability for MCP server ecosystems with real-time health checks, performance metrics, distributed tracing, anomaly detection, and automated performance reports using OpenTelemetry and Prometheus.1MIT
- AlicenseNot gradedqualityCmaintenanceA Python utility for adding usage tracking, analytics, and audit trails to MCP servers using SQLite-backed persistence. It enables developers to monitor tool, prompt, and resource activity and expose these statistics directly to LLM clients.4MIT
- AlicenseAqualityAmaintenanceTransparent MCP proxy with OpenTelemetry tracing. Wrap any MCP server, persist traces to SQLite · Postgres · MySQL. No code changes needed.23311Apache 2.0
- AlicenseNot gradedqualityCmaintenanceMCP-native health monitoring that probes MCP servers using the list_tools protocol handshake, detects version drift, stores history in SQLite, and generates an HTML dashboard.43MIT
Related MCP Connectors
Monitor MCP servers, API contracts and AI outputs for schema drift. Alerts on breaking changes.
MCP uptime, schema, auth, and SLA receipt monitoring.
Remote MCP for A2A failure replay MCP, structured receipts, audit logs, and reviewer-ready evidence.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jagreehal/mcp-legacy-lane'
If you have feedback or need assistance with the MCP directory API, please join our Discord server