Skip to content

feat(mcp): expose resource APIs - #35657

Closed
rekram1-node wants to merge 2 commits into
v2from
mcp-resource-api
Closed

rekram1-node wants to merge 2 commits into
v2from
mcp-resource-api

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • add Location-scoped MCP resource catalog and read endpoints
  • preserve the existing server.mcp client group while adding resourceCatalog and readResource
  • expose mcp.resources.changed on the current public event stream
  • return typed McpServerNotFoundError responses for unknown servers
  • regenerate Promise and Effect clients and re-export canonical MCP contracts

Stacked on #35656. Frontend consumption and MCP resource tools remain excluded.

Testing

  • bun test and bun typecheck in packages/client (24 passed)
  • bun test and bun typecheck in packages/protocol (2 passed)
  • bun typecheck in packages/server
  • bun test in packages/schema (28 passed)
  • bun typecheck and focused contract test in packages/sdk-next
  • bun run check:generated in packages/client
  • git diff --check

The full packages/sdk-next embedded suite is blocked in this environment by the configured OTLP exporter returning HTTP 403; its contract/import test passes.

Base automatically changed from mcp-resources to v2 July 7, 2026 16:55
@rekram1-node

Copy link
Copy Markdown
Collaborator Author

Superseded by #35773, rebuilt from current v2 with only the resource catalog endpoint and public resources-changed event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant