We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31c851 commit 546f7f5Copy full SHA for 546f7f5
README.md
@@ -112,7 +112,8 @@ public static class EchoTool
112
{
113
[McpServerTool, Description("Echoes the message back to the client.")]
114
public static string Echo(string message) => $"hello {message}";
115
-}```
+}
116
+```
117
118
Tools can have the `IMcpServer` representing the server injected via a parameter to the method, and can use that for interaction with
119
the connected client. Similarly, arguments may be injected via dependency injection. For example, this tool will use the supplied
0 commit comments