name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Prepare release asset
run: cp dist/index.js dist/todoist-meeting-mcp.js
- name: Create GitHub Release and upload asset
uses: softprops/action-gh-release@v2
with:
files: dist/todoist-meeting-mcp.js
body: |
Run with npx or download the release asset and point your claude_desktop_config.json to it.
**Using npx:**
```json
"mcpServers": {
"todoist-meeting-mcp": {
"command": "npx",
"args": ["-y", "todoist-meeting-mcp"],
"env": { "TODOIST_API_TOKEN": "your_token" }
}
}
```
**Using the downloaded asset:**
Download `todoist-meeting-mcp.js` from this release, then:
```json
"mcpServers": {
"todoist-meeting-mcp": {
"command": "node",
"args": ["/path/to/todoist-meeting-mcp.js"],
"env": { "TODOIST_API_TOKEN": "your_token" }
}
}
```
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}