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
You can find samples demonstrating how to use ModelContextProtocol with an LLM SDK in the [samples](samples) directory, and also refer to the [tests](tests/ModelContextProtocol.Tests) project for more examples. Additional examples and documentation will be added as in the near future.
@@ -228,11 +225,6 @@ await using McpServer server = McpServer.Create(new StdioServerTransport("MyServ
Thestartingpointforthislibrarywasaprojectcalled [mcpdotnet](https://github.com/PederHP/mcpdotnet), initiated by [Peder Holdgaard Pedersen](https://github.com/PederHP). We are grateful for the work done by Peder and other contributors to that repository, which created a solid foundation for this library.
Copy file name to clipboardExpand all lines: docs/concepts/elicitation/elicitation.md
+1-8Lines changed: 1 addition & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,16 +16,9 @@ The C# SDK registers an instance of <xref:ModelContextProtocol.Server.McpServer>
16
16
so tools can simply add a parameter of type <xref:ModelContextProtocol.Server.McpServer> to their method signature to access it.
17
17
18
18
The MCP Server must specify the schema of each input value it is requesting from the user.
19
-
Primitive types (string, number, boolean) and enum types are supported for elicitation requests.
19
+
Only primitive types (string, number, boolean) are supported for elicitation requests.
20
20
The schema may include a description to help the user understand what is being requested.
21
21
22
-
For enum types, the SDK supports several schema formats:
23
-
-**UntitledSingleSelectEnumSchema**: A single-select enum where the enum values serve as both the value and display text
24
-
-**TitledSingleSelectEnumSchema**: A single-select enum with separate display titles for each option (using JSON Schema `oneOf` with `const` and `title`)
25
-
-**UntitledMultiSelectEnumSchema**: A multi-select enum allowing multiple values to be selected
26
-
-**TitledMultiSelectEnumSchema**: A multi-select enum with display titles for each option
27
-
-**LegacyTitledEnumSchema** (deprecated): The legacy enum schema using `enumNames` for backward compatibility
28
-
29
22
The server can request a single input or multiple inputs at once.
30
23
To help distinguish multiple inputs, each input has a unique name.
Copy file name to clipboardExpand all lines: docs/index.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,12 +18,6 @@ For more information about MCP:
18
18
19
19
For how-to guides, tutorials, and additional guidance, refer to the [official MCP documentation](https://modelcontextprotocol.io/).
20
20
21
-
## Official SDK packages
22
-
23
-
The official C# SDK packages for stable and pre-release versions are published to the [NuGet Gallery](https://www.nuget.org) under the [ModelContextProtocolOfficial](https://www.nuget.org/profiles/ModelContextProtocolOfficial) profile.
24
-
25
-
Continuous integration builds are published to the modelcontextprotocol organization's [GitHub NuGet package registry](https://github.com/orgs/modelcontextprotocol/packages?ecosystem=nuget).
26
-
27
21
## License
28
22
29
23
This project is licensed under the [MIT License](https://github.com/modelcontextprotocol/csharp-sdk/blob/main/LICENSE).
0 commit comments