-
Notifications
You must be signed in to change notification settings - Fork 218
Description
The SDK supports ~everything in the spec, but has a large API and package documentation can be overwhelming.
At the same time...
- We have a large number of tests and examples, and
- Most users only need to interact with a small fraction of the API for the feature they want, and yet it's hard to determine which aspects of the API are necessary.
Furthermore, there is confusion around where to look: as mentioned above, the package docs are too large, and yet the README is too sparse.
Prior to the release, I plan to write documentation oriented not around the API, but around the MCP spec. For each high-level aspect of the spec, I'll write a snippet explaining how to implement it using the SDK. I'll also features of the SDK that aren't explicitly in the spec, such as stateless mode.
Building on the current README generation., I plan to use weave to embed snippets from our existing examples.
We should have a table in the README, linking to relevant markdown files in the doc/ directory.
We may mirror a subset of this to package docs.
I'll put the scaffolding in place, but then this could be a great area for contribution.