Add MCP tools for creating/updating signals, blocks, and interfaces#6
Draft
Copilot wants to merge 2 commits into
Draft
Add MCP tools for creating/updating signals, blocks, and interfaces#6Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Agent-Logs-Url: https://github.com/hni-ase/SysMLV2-mcp/sessions/9478cd3e-df3e-496d-b9c8-eab7a8a6572a Co-authored-by: mahmood1994ha <13472694+mahmood1994ha@users.noreply.github.com>
Agent-Logs-Url: https://github.com/hni-ase/SysMLV2-mcp/sessions/9478cd3e-df3e-496d-b9c8-eab7a8a6572a Co-authored-by: mahmood1994ha <13472694+mahmood1994ha@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
mahmood1994ha
May 20, 2026 12:38
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds dedicated MCP tools for creating and modifying signals, blocks (part definitions and parts), and interfaces.
Changes
ModelCreationTool.cs:CreateSignalDefinition(mapped toItemDefinition)CreateSignal(mapped toItemUsage)CreateBlockDefinition(mapped toPartDefinition)CreatePart(mapped toPartUsage)CreateInterfaceDefinitionCreateInterfaceModelCreationTool.cs:UpdateSignalDefinitionUpdateSignalUpdateBlockDefinitionUpdatePartUpdateInterfaceDefinitionUpdateInterfaceREADME.mdtool inventory to include all new tools.ModelCreationToolsSurfaceTests.csto validate:ItemDefinition,ItemUsage,PartDefinition,PartUsage,InterfaceDefinition,InterfaceUsage)Validation
dotnet build csharp-mcp-example.sln✅dotnet test csharp-mcp-example-test/csharp-mcp-example-test.csproj --filter "Category!=Integration"✅ (50 passed)localhost:9000) (pre-existing environment dependency).