modelcontextprotocol / modelcontextprotocol/python-sdk
Add default /docs route to list information about the HTTP MCP server
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 24.3k
- Forks
- 4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 31
Description
Is your feature request related to a problem? Please describe.
Would be useful to have an equivalent to something like how FastAPI generates OpenAPI docs and are automatically accessible at /docs route.
Describe the solution you'd like
Add a /docs route to the starlette app that provides information about the mcp server (available tools, prompts, resources, version, etc.)
Describe alternatives you've considered
none
Additional context
Basic example I currently use:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name a file or test; start by locating the Starlette app and its existing HTTP route setup. Define the /docs response around the MCP server’s tools, prompts, resources, and version, then verify that the route exposes the expected information.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100