Skip to content

Commit b63808b

Browse files
authored
Merge pull request #413 from benjamine/mcp
feat: an MCP server powered by jsondiffpatch
2 parents 47bea0d + 84b9c81 commit b63808b

File tree

17 files changed

+4446
-79
lines changed

17 files changed

+4446
-79
lines changed

.github/workflows/CI.yml

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
- run: npm ci
2020
- run: npm run build
2121
working-directory: ./packages/jsondiffpatch
22+
- run: npm run build
23+
working-directory: ./packages/diff-mcp
2224
- run: npm run lint
2325
- run: npm run type-check
2426
- run: npm run test

.github/workflows/release-mcp.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch: ~
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v3
14+
with:
15+
node-version: 'lts/*'
16+
cache: 'npm'
17+
registry-url: 'https://registry.npmjs.org'
18+
- run: npm ci
19+
- run: npm publish
20+
working-directory: ./packages/diff-mcp
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+28-27
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
node_modules
2-
lib-cov
3-
*.seed
4-
*.log
5-
*.csv
6-
*.dat
7-
*.out
8-
*.pid
9-
*.gz
10-
.DS_Store
11-
12-
pids
13-
logs
14-
results
15-
coverage
16-
.nyc_output
17-
dist
18-
build
19-
lib
20-
21-
npm-debug.log
22-
.idea/
23-
24-
packages/jsondiffpatch/README.md
25-
packages/jsondiffpatch/MIT-LICENSE.txt
26-
27-
*.local.*
1+
node_modules
2+
lib-cov
3+
*.seed
4+
*.log
5+
*.csv
6+
*.dat
7+
*.out
8+
*.pid
9+
*.gz
10+
.DS_Store
11+
12+
pids
13+
logs
14+
results
15+
coverage
16+
.nyc_output
17+
dist
18+
build
19+
lib
20+
21+
npm-debug.log
22+
.idea/
23+
24+
packages/jsondiffpatch/README.md
25+
packages/jsondiffpatch/MIT-LICENSE.txt
26+
packages/diff-mcp/MIT-LICENSE.txt
27+
28+
*.local.*

demos/html-demo/logo-400px.png

12.5 KB
Loading

0 commit comments

Comments
 (0)