-
-
Notifications
You must be signed in to change notification settings - Fork 153
Adding Model Ccntrol Protocol (MCP) sample #424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughA new "mcp" category was added to the device configuration JSON, positioned between the "json" and "mqtt" categories. Additionally, a new text file was introduced in the samples directory, listing "mcp" and "networking" as categories. A newline was added at the end of the Changes
Sequence Diagram(s)No sequence diagram generated as the changes are limited to configuration and category listing updates. 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
device-listing/Configuration.json (1)
63-66
: Check ordering & wording for the newly-added category
- The category list is currently alphabetically sorted; inserting
mcp
aftermqtt
breaks that convention.- The description says “Model Context Protocol” whereas the PR description, commit message and sample folder reference “Model Control Protocol”. Please confirm the correct expansion.
- { - "Name": "mqtt", - "Description": "MQTT" - }, - { - "Name": "mcp", - "Description": "Model Context Protocol (MCP)" - }, + { + "Name": "mcp", + "Description": "Model Control Protocol (MCP)" + }, + { + "Name": "mqtt", + "Description": "MQTT" + },Aligning the order and wording keeps the config tidy and avoids confusion in generated docs/tools.
samples/McpAi/category.txt (1)
1-2
: Minor consistency nitpickConsider keeping the entries alphabetically ordered and add a trailing newline (POSIX & Git diff hygiene).
-mcp -networking +mcp +networking +(No functional impact; purely cleanliness.)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (8)
samples/McpAi/Light.cs
is excluded by none and included by nonesamples/McpAi/McpAi.nfproj
is excluded by none and included by nonesamples/McpAi/McpAi.sln
is excluded by none and included by nonesamples/McpAi/Program.cs
is excluded by none and included by nonesamples/McpAi/Properties/AssemblyInfo.cs
is excluded by none and included by nonesamples/McpAi/README.md
is excluded by!**/*.md
and included by nonesamples/McpAi/WiFi.cs
is excluded by none and included by nonesamples/McpAi/packages.config
is excluded by none and included by none
📒 Files selected for processing (2)
device-listing/Configuration.json
(1 hunks)samples/McpAi/category.txt
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Analyze (actions)
- GitHub Check: Analyze (csharp)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Description
Adding Model Ccntrol Protocol (MCP) sample
Motivation and Context
How Has This Been Tested?
on a real device
Screenshots
Types of changes
Checklist:
Summary by CodeRabbit