Skip to content

Conversation

@og-pixel
Copy link
Contributor

@og-pixel og-pixel commented Jan 12, 2026

  • Bump version of @modelcontextprotocol/sdk
  • Fix complication error
  • Change depricated Server to MCPServer (which wraps Server)

Copilot AI review requested due to automatic review settings January 12, 2026 14:52
@codacy-production
Copy link
Contributor

codacy-production bot commented Jan 12, 2026

Codacy's Analysis Summary

0 new issue (≤ 1 medium issue)
0 new security issue (≤ 0 issue)
0 complexity
0 duplications

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the @modelcontextprotocol/sdk dependency from version 1.0.1 to 1.25.2 to address security vulnerabilities (CVE related to the qs transitive dependency). The code is refactored to use the new McpServer class instead of the deprecated Server class.

Changes:

  • Updated @modelcontextprotocol/sdk from version 1.0.1 to 1.25.2
  • Migrated from deprecated Server to McpServer wrapper class
  • Updated all server method calls to use mcpServer.server accessor pattern

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
package.json Bumps the MCP SDK dependency from 1.0.1 to 1.25.2 to address security vulnerabilities
index.ts Refactors code to use McpServer instead of deprecated Server, updates import statement, renames variable from server to mcpServer, and adds type suppression for triggers capability

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Turns out these triggers were never used
in the first place (custom property). For
now to satisfy the compiler I have removed
them.
@og-pixel og-pixel merged commit 7f941f2 into master Jan 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants