Skip to content

Commit 4b5e137

Browse files
xplusplusaiclaude
andcommitted
Release v2.0.5 - Fix UTF-8 encoding and version number
- Added UTF-8 encoding for STDIO transport (fixes emoji corruption on Windows) - Updated DEFAULT_SERVER_VERSION from 1.0.0 to 2.0.5 - Fixed initialization timeout issue from v2.0.4 - Embedded Golden Path workflow instructions - Added GitHub Actions workflow for MCP registry publishing Changes: - dist/server.js: Force UTF-8 encoding for stdout/stdin - dist/utils/config.js: Update version constant to 2.0.5 - dist/embeddedInstructions.js: Updated embedded documentation - package.json: Bump version to 2.0.5 - server.json: Update MCP registry metadata to 2.0.5 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3f594be commit 4b5e137

File tree

8 files changed

+373
-70
lines changed

8 files changed

+373
-70
lines changed

.github/workflows/publish-mcp.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Publish to MCP Registry
2+
3+
on:
4+
push:
5+
tags: ["v*"] # Triggers on version tags like v2.0.0
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write # Required for OIDC authentication
12+
contents: read
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: "lts/*"
22+
registry-url: "https://registry.npmjs.org"
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Publish to npm
28+
run: npm publish
29+
env:
30+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
31+
32+
- name: Install MCP Publisher
33+
run: |
34+
curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher
35+
36+
- name: Login to MCP Registry
37+
run: ./mcp-publisher login github-oidc
38+
39+
- name: Publish to MCP Registry
40+
run: ./mcp-publisher publish

dist/embeddedInstructions.js

Lines changed: 302 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/embeddedInstructions.js.map

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

dist/server.js

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

dist/server.js.map

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

dist/utils/config.js

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

package.json

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,34 @@
11
{
22
"name": "fo-semantic-mcp",
3-
"version": "2.0.3",
3+
"version": "2.0.5",
44
"description": "Model Context Protocol server providing semantic search over Dynamics 365 F&O artifacts.",
5-
"mcpName": "io.github.xplusplusai/fo-semantic-mcp",
65
"type": "module",
7-
"main": "./dist/server.js",
86
"bin": {
97
"fo-semantic-mcp": "./dist/server.js"
108
},
119
"scripts": {
12-
"start": "node ./dist/server.js"
10+
"embed": "node scripts/embed-instructions.js",
11+
"build": "npm run embed && tsc --project tsconfig.json",
12+
"build:release": "npm run build",
13+
"build:cjs": "npm run embed && tsc --project tsconfig.cjs.json",
14+
"dev": "tsx watch src/server.ts",
15+
"start": "node ./dist/server.js",
16+
"check": "tsc --noEmit",
17+
"build:exe": "npm run build:cjs && npx pkg dist-cjs/server.js --targets node18-win-x64 --output fo-semantic-mcp-win.exe",
18+
"bundle": "npm run embed && npx esbuild src/server.ts --bundle --platform=node --target=node18 --outfile=dist/server.bundle.js --format=cjs --external:@modelcontextprotocol/sdk --external:node-fetch --external:zod",
19+
"build:exe2": "npm run bundle && npx pkg dist/server.bundle.js --targets node18-win-x64 --output fo-semantic-mcp-win-v2.exe"
1320
},
14-
"keywords": [
15-
"mcp",
16-
"model-context-protocol",
17-
"dynamics-365",
18-
"finance-operations",
19-
"semantic-search",
20-
"ai-assistant"
21-
],
22-
"repository": {
23-
"type": "git",
24-
"url": "https://github.com/xplusplusai/fo-semantic-mcp.git"
25-
},
26-
"author": "XPLUSPLUS.AI",
27-
"license": "MIT",
2821
"dependencies": {
2922
"@modelcontextprotocol/sdk": "^1.0.0",
3023
"node-fetch": "^3.3.0",
24+
"pkg": "^5.8.1",
3125
"zod": "^3.25.76"
3226
},
33-
"engines": {
34-
"node": ">=18.0.0"
27+
"devDependencies": {
28+
"@types/node": "^20.0.0",
29+
"esbuild": "^0.25.10",
30+
"nexe": "^5.0.0-beta.4",
31+
"tsx": "^4.0.0",
32+
"typescript": "^5.0.0"
3533
}
3634
}

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.3",
6+
"version": "2.0.5",
77
"packages": [
88
{
99
"registryType": "npm",
1010
"identifier": "fo-semantic-mcp",
11-
"version": "2.0.3",
11+
"version": "2.0.5",
1212
"transport": {
1313
"type": "stdio"
1414
}

0 commit comments

Comments
 (0)