Skip to content

Commit 66a9de8

Browse files
committed
Release v2.1.0: Enhanced MCP instructions with query examples and guidance
- Added comprehensive query examples to tool description - Added 'BEST FOR' and 'NOT SUITABLE FOR' sections - Enhanced Golden Path prompt with query construction tips - Added workflow automation for NPM auto-publish - Updated embedded instructions with query strategy guide
1 parent b1518f1 commit 66a9de8

File tree

6 files changed

+171
-4
lines changed

6 files changed

+171
-4
lines changed

.github/workflows/publish.yml

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
name: Publish to NPM and GitHub Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
publish:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Node.js
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: '18'
23+
registry-url: 'https://registry.npmjs.org'
24+
25+
- name: Get version from tag
26+
id: version
27+
run: |
28+
VERSION=${GITHUB_REF#refs/tags/v}
29+
echo "version=$VERSION" >> $GITHUB_OUTPUT
30+
echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
31+
32+
- name: Verify package.json version matches tag
33+
run: |
34+
PKG_VERSION=$(node -p "require('./package.json').version")
35+
TAG_VERSION="${{ steps.version.outputs.version }}"
36+
if [ "$PKG_VERSION" != "$TAG_VERSION" ]; then
37+
echo "❌ Version mismatch: package.json=$PKG_VERSION, tag=$TAG_VERSION"
38+
exit 1
39+
fi
40+
echo "✅ Version matches: $PKG_VERSION"
41+
42+
- name: Install dependencies
43+
run: npm ci
44+
45+
- name: Publish to NPM
46+
run: npm publish --access public
47+
env:
48+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
49+
50+
- name: Create GitHub Release
51+
uses: actions/create-release@v1
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
with:
55+
tag_name: ${{ steps.version.outputs.tag }}
56+
release_name: FO Semantic MCP Server v${{ steps.version.outputs.version }}
57+
body: |
58+
# FO Semantic MCP Server v${{ steps.version.outputs.version }}
59+
60+
**AI-powered semantic search for Microsoft Dynamics 365 Finance & Operations development**
61+
62+
## 🎯 What's New
63+
64+
See [CHANGELOG.md](https://github.com/xplusplusai/fo-semantic-mcp/blob/main/CHANGELOG.md) for detailed release notes.
65+
66+
## 📦 Installation
67+
68+
```bash
69+
npm install fo-semantic-mcp@${{ steps.version.outputs.version }}
70+
```
71+
72+
Or update to latest:
73+
```bash
74+
npm update fo-semantic-mcp
75+
```
76+
77+
## 🚀 Quick Start
78+
79+
1. Get your API key at https://www.xplusplus.ai
80+
2. Configure in Cursor/Claude Desktop:
81+
```json
82+
{
83+
"mcpServers": {
84+
"fo-semantic-mcp": {
85+
"command": "npx",
86+
"args": ["-y", "fo-semantic-mcp"],
87+
"env": {
88+
"FOINDEX_API_KEY": "your-api-key"
89+
}
90+
}
91+
}
92+
}
93+
```
94+
3. Restart your IDE
95+
4. Start searching D365 F&O artifacts!
96+
97+
## 📚 Documentation
98+
99+
- [Getting Started Guide](https://github.com/xplusplusai/fo-semantic-mcp/blob/main/docs/GETTING_STARTED.md)
100+
- [API Documentation](https://github.com/xplusplusai/fo-semantic-mcp/blob/main/README.md)
101+
- [Troubleshooting](https://github.com/xplusplusai/fo-semantic-mcp/blob/main/docs/TROUBLESHOOTING.md)
102+
103+
---
104+
105+
**Ready to transform your F&O development workflow!** 🚀
106+
draft: false
107+
prerelease: false
108+

dist/prompts/goldenPathPrompts.js

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

dist/prompts/goldenPathPrompts.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/tools/searchFOArtifacts.js

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

dist/tools/searchFOArtifacts.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.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fo-semantic-mcp",
3-
"version": "2.0.8",
3+
"version": "2.1.0",
44
"mcpName": "io.github.xplusplusai/fo-semantic-mcp",
55
"description": "Model Context Protocol server providing semantic search over Dynamics 365 F&O artifacts.",
66
"type": "module",

0 commit comments

Comments
 (0)