New:Socket for Asana Is Now Available.Learn more
Sign In

@svgrid/mcp

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@svgrid/mcp - npm Package Compare versions

Comparing version
2.2.0
to
2.2.1
+13
-1
dist/index.js

@@ -14,2 +14,3 @@ #!/usr/bin/env node

*/
import { createRequire } from 'node:module';
import { Server } from '@modelcontextprotocol/sdk/server/index.js';

@@ -46,5 +47,16 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

}
// Report the real package version to MCP clients (read from package.json, which
// ships in the tarball at ../package.json relative to the built dist/index.js),
// so serverInfo.version never drifts from the published version.
const pkgVersion = (() => {
try {
return createRequire(import.meta.url)('../package.json').version;
}
catch {
return '0.0.0';
}
})();
const server = new Server({
name: '@svgrid/mcp',
version: '0.1.0',
version: pkgVersion,
}, {

@@ -51,0 +63,0 @@ capabilities: {

+2
-2

@@ -7,3 +7,3 @@ {

},
"version": "2.2.0",
"version": "2.2.1",
"description": "Model Context Protocol (MCP) server for SvGrid. Exposes example sources, docs, and API reference to AI assistants.",

@@ -34,3 +34,3 @@ "license": "SEE LICENSE IN LICENSE",

"zod": "^3.23.8",
"@svgrid/enterprise": "^2.2.0"
"@svgrid/enterprise": "^2.2.1"
},

@@ -37,0 +37,0 @@ "devDependencies": {