MuleSoft / Anypoint Control Plane
Omni MCP Registry: Create fails with "extraneous key [cacheScope]/[ttlMs]" when an MCP server returns MCP caching fields
- Reported
- Nov 26, 2026
- Updated
- Nov 26, 2026
- Fixed
- —
- Reports
- 0
- Found in
- —
- Reference
- W-25052547
Summary
Registering an MCP server in Omni through By MCP URL fails on Create when the server returns the MCP caching fields ttlMs and cacheScope in its list responses. Test connection succeeds, but the UI copies these fields into the generated mcp-metadata.json. Exchange's MCP asset schema doesn't allow them, so the create-exchange-asset step fails with a 400 (extraneous key [cacheScope]/[ttlMs] is not permitted) and the server can't be registered.
ttlMs and cacheScope are standard MCP fields (SEP-2549). The official MCP Go SDK sends ttlMs on every list response, whatever protocol version was negotiated, so any server built on a current SDK is affected.
Workaround
Remove ttlMs and cacheScope from the metadata JSON and register through Upload Schema.
Steps to reproduce
1.Omni (EU1) → Add Services → Register MCP Servers → By MCP URL
2.URL: https://api.githubcopilot.com/mcp/, Platform: Other
3.Authentication: OAuth, Authorization code, using a GitHub OAuth app (redirect URI https://eu1.omni.mulesoft.com/api/assets/mcp/oauth2/authorize/callback)
4.Click Test connection: succeeds (46 tools, 2 prompts, 4 resources)
5.Click Create: fails
Error details
We couldn't create the MCP Server. Try again. — The registry service encountered an error while creating the asset.
Status timeline
Nov 30, 2026
created · Solution Scheduled · 0 reports
Nov 30, 2026
content changed · Solution Scheduled · 0 reports