fa-mcp-sdk 0.2.196 → 0.2.203

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/fa-mcp.js +7 -0
  2. package/package.json +1 -1
package/bin/fa-mcp.js CHANGED
@@ -32,6 +32,13 @@ const pjContent = fss.readFileSync(path.join(PROJ_ROOT, 'package.json'));
32
32
 
33
33
  const faMcpSdkVersion = JSON.parse(pjContent).version;
34
34
 
35
+ // Print version and exit on -V or --version
36
+ const argv = process.argv.slice(2);
37
+ if (argv.includes('-V') || argv.includes('--version')) {
38
+ console.log(faMcpSdkVersion);
39
+ process.exit(0);
40
+ }
41
+
35
42
  const ALLOWED_FILES = [
36
43
  '.git',
37
44
  '.idea',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fa-mcp-sdk",
3
3
  "productName": "FA MCP SDK",
4
- "version": "0.2.196",
4
+ "version": "0.2.203",
5
5
  "description": "Core infrastructure and templates for building Model Context Protocol (MCP) servers with TypeScript",
6
6
  "type": "module",
7
7
  "main": "dist/core/index.js",