You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(mcp): surface 'serverInfo' exposed from the MCP server (#14288)
## Background
introduced in #13825
we used to capture the `serverInfo` in the schema but never surface it
through to the client. only `result.capabilities` was stored and
`result.serverInfo` was thrown away. there was no field on the client to
hold it and no property on the MCPClient interface to access it
## Summary
- added `title` field to `ClientOrServerImplementationSchema` to align
with [MCP
spec](https://modelcontextprotocol.io/specification/2025-11-25/schema#implementation)
- exposed `serverInfo` via a getter function
## Manual Verification
verified by running the client and server under
`examples/mcp/src/server-info`
## Checklist
- [x] Tests have been added / updated (for bug fixes / features)
- [ ] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)
0 commit comments