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
Copy file name to clipboardExpand all lines: doc/model-context-protocol.md
+70-22Lines changed: 70 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Model Context Protocol (MCP) Support
1
+
# Model Context Protocol (MCP) Support
2
2
3
3
The nanoFramework WebServer provides comprehensive support for the Model Context Protocol (MCP), enabling AI agents and language models to directly interact with your embedded devices. MCP allows AI systems to discover, invoke, and receive responses from tools running on your nanoFramework device.
4
4
@@ -217,28 +217,56 @@ Use classes to handle multiple parameters or complex data structures:
217
217
```csharp
218
218
publicclassDeviceConfig
219
219
{
220
-
[Description("Device name identifier")]
221
-
publicstringDeviceName { get; set; }
220
+
publicstringDeviceName
221
+
{
222
+
[Description("Device name identifier")]
223
+
get;
224
+
set;
225
+
}
222
226
223
-
[Description("Operating mode: auto, manual, or sleep")]
224
-
publicstringMode { get; set; }
227
+
publicstringMode
228
+
{
229
+
[Description("Operating mode: auto, manual, or sleep")]
0 commit comments