David Cantú
5f992994c3
Decouple Handlers and Collections from protocol types ( #765 )
...
* Decouple Handlers and Collections (e.g. ToolsHandler and ToolsCollection) from Capabilities by promoting them to the options types.
Also, group all handlers in container classes, for server, I decided to move McpServerHandlers down to Mcp.Core and move the NotificationHandlers there too.
Also, Fix ListResourceTemplatesHandler issue.
* Add remarks for empty protocol capability types
* Keep JsonIgnore properties and mark them as Obsolete
* Continue supporting Obsolete members
* Update Obsolete messages to indicate the member will be removed
* Add EditorBrowsable Never to the remaining obsolete members
2025-09-24 09:42:03 -05:00
Mike Kistler
39b0ed3c18
Add conceptual docs on accessing HttpContext ( #771 )
...
* Add doc with sample on accessing HttpContext
* Apply suggestions from PR review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-24 07:41:08 -05:00
Mackinnon Buck
38b4a26998
Restructure IMcpEndpoint, IMcpClient, and IMcpServer ( #723 )
...
* Remove `McpEndpoint` & `IMcpClient`
* Revise naming, add abstract classes
* Fix missing renames
* Move extension methods to instance methods
* Add back old API, but obsoleted
* Add back obsoleted factory classes
* Move deprecation attributes
* `SseClientTransport` -> `HttpClientTransport`
* Update src/ModelContextProtocol.Core/Server/AugmentedServiceProvider.cs
Co-authored-by: Stephen Halter <halter73@gmail.com>
* PR feedback
* PR feedback
* Add back dispose lock
* Fix docs projects
* PR feedback
* Undo `docs/*.md` changes
---------
Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-09-16 10:22:10 -07:00
Stephen Halter
d344c65120
Add middleware and authz support for server-side handlers ( #733 )
2025-09-10 10:07:45 -07:00
Elan Hasson
ec3b08b9dc
Fix typo LoggingTools.cs ( #740 )
2025-09-03 16:10:51 -07:00
Mike Kistler
acf6eb2e6b
Include docs samples in solution build ( #751 )
...
* Include docs samples in solution build
* Update workflow to build for doc updates
* Fix build error
2025-09-03 07:37:01 -05:00
Mike Kistler
7cb3a64c06
Add articles on logging and progress ( #717 )
...
* Add articles on logging and progress
* Address comments in PR review
2025-08-25 20:51:41 -05:00
Mike Kistler
15f8e89ac3
Add framework for conceptual docs ( #708 )
...
Add framework for conceptual docs plus article on elicitation
Co-authored-by: Stephen Halter <halter73@gmail.com>
2025-08-18 22:06:52 -07:00
Den Delimarsky
2972fd715a
Update documentation configuration ( #86 )
...
* Docs configuration
* Update docs/index.md
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
* Update the configuration
* Update docs/docfx.json
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
* Update config
* Update icons, use Makefile, remove warnings
* Use a link that passes markdown link validation
* remove working directory
---------
Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
2025-03-25 15:43:14 +00:00