Repository navigation
feat: introduce @node-i3x/mcp server and upgrade monorepo dependencies - #2
Merged
Merged
Conversation
- Add @node-i3x/mcp package implementing Model Context Protocol for i3X - Implement high-value composite tools: i3x_connect, i3x_inspect_asset, i3x_explore_plant_hierarchy, i3x_query_telemetry, i3x_discover_types_and_schemas, and i3x_monitor_asset_events - Add Levenshtein distance ranking and similarity utility for typo tolerance - Optimize asset inspection with concurrent Promise.allSettled execution - Add defensive timeout handling, URL sanitization, and error truncation - Provide smithery.yaml configuration for 1-click agent installations - Add comprehensive unit test suite covering all tools and error paths - Showcase MCP server in packages/mcp/README.md and root README.md
- Upgrade root and monorepo workspace dependencies via npm-check-updates - Upgrade @biomejs/biome to 2.6.3 and migrate biome.json schema - Upgrade tsup to v9 and vitest/coverage to v5 - Upgrade Fastify and node-opcua ecosystem packages across workspaces - Verified full workspace build and test suite (35 test files, 455 tests passing)
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 introduces
@node-i3x/mcp, an implementation of Anthropic's Model Context Protocol (MCP) for industrial automation and i3X REST gateways, and brings all monorepo dependencies up to date with Biome 2.6.3, Vitest v5, and tsup v9.Key Highlights
1.
@node-i3x/mcpServer Packagei3x_connect: Dynamically connect or switch to target i3X gateway URL and Bearer token at runtime without client restarts.i3x_inspect_asset: Single-turn complete asset diagnostic (identity, ObjectType schema, sub-components, and live VQT telemetry).i3x_explore_plant_hierarchy: ISA-95 plant topology traversal with cycle protection.i3x_query_telemetry: Current VQT & historical trends with pre-computed statistics (min,max,mean,badQualityCount).i3x_discover_types_and_schemas: Search ObjectTypes, RelationshipTypes, and JSON Schema field validation rules.i3x_monitor_asset_events: Subscription snapshot and event monitoring filters.Promise.allSettledparallelization for ~60% faster asset inspection and graceful degradation on telemetry timeouts.src/utils/similarity.ts) for typo-tolerant asset lookup.AbortSignal.timeout(15_000)), URL protocol sanitization, and error payload truncation.packages/mcp/smithery.yamlfor 1-click installation via Smithery across Claude Desktop, Cursor, Zed, and Cline.--url,--token,--help,--version) and process signal listeners (SIGINT,SIGTERM).2. Dependency Upgrades & Tooling Modernization
npm run ncu.biome.jsonschema to@biomejs/biome@^2.6.3.tsupto^9.0.0andvitest/@vitest/coverage-v8to^5.0.5.node-opcuaecosystem dependencies.Verification