Skip to content

Commit 491d305

Browse files
xplusplusaiclaude
andcommitted
Fix: Add bin field for npx support (v2.0.1)
This fix enables npx to execute the MCP server directly without manual path configuration. Changes: - Added "bin" field to package.json pointing to dist/server.js - Added shebang (#!/usr/bin/env node) to dist/server.js - Updated version from 2.0.0 to 2.0.1 - Updated server.json version to 2.0.1 Now users can use cross-platform npx configuration: { "command": "npx", "args": ["-y", "fo-semantic-mcp"] } 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 1ece882 commit 491d305

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ test-*
2626

2727
# Local notes
2828
.git-config-note.md
29-
GITHUB_SETUP.md
29+
GITHUB_SETUP.md.mcpregistry_*
30+
mcp-publisher*
31+
.mcpregistry_*
32+
mcp-publisher*

dist/server.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"name": "fo-semantic-mcp",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Model Context Protocol server providing semantic search over Dynamics 365 F&O artifacts.",
55
"mcpName": "io.github.xplusplusai/fo-semantic-mcp",
66
"type": "module",
77
"main": "./dist/server.js",
8+
"bin": {
9+
"fo-semantic-mcp": "./dist/server.js"
10+
},
811
"scripts": {
912
"start": "node ./dist/server.js"
1013
},

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"name": "io.github.xplusplusai/fo-semantic-mcp",
44
"title": "FO Semantic MCP",
55
"description": "Semantic search over 50,000+ Dynamics 365 F&O artifacts: tables, forms, classes, and more.",
6-
"version": "2.0.0",
6+
"version": "2.0.1",
77
"packages": [
88
{
99
"registryType": "npm",
1010
"identifier": "fo-semantic-mcp",
11-
"version": "2.0.0",
11+
"version": "2.0.1",
1212
"transport": {
1313
"type": "stdio"
1414
}

0 commit comments

Comments
 (0)