Skip to content

Commit 22961ef

Browse files
Merge pull request #330 from basementstudio/canary
v0.5.4
2 parents 0e9a296 + 49e139e commit 22961ef

File tree

86 files changed

+4701
-3505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+4701
-3505
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Publish @xmcp-dev/cli
2+
3+
on:
4+
push:
5+
tags:
6+
- "@xmcp-dev/cli@*"
7+
8+
permissions:
9+
id-token: write
10+
contents: read
11+
12+
jobs:
13+
publish:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 10.8.1
22+
23+
- uses: actions/setup-node@v4
24+
with:
25+
node-version: "20"
26+
registry-url: "https://registry.npmjs.org"
27+
cache: "pnpm"
28+
29+
- name: Install dependencies
30+
run: pnpm install --filter @xmcp-dev/cli --frozen-lockfile
31+
32+
- name: Build @xmcp-dev/cli
33+
run: pnpm --filter @xmcp-dev/cli build
34+
35+
- name: Test @xmcp-dev/cli
36+
run: pnpm --filter @xmcp-dev/cli test
37+
38+
- name: Publish @xmcp-dev/cli
39+
env:
40+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
run: |
42+
cd packages/cli
43+
pnpm publish --access public --no-git-checks

apps/website/content/docs/configuration/transports.mdx

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ const config: XmcpConfig = {
1717
host: "127.0.0.1",
1818
endpoint: "/mcp",
1919
bodySizeLimit: 10485760, // 10MB
20+
debug: false, // adds extra logging to the console
21+
},
22+
};
23+
24+
export default config;
25+
```
26+
27+
These are the default values. Override only what you need to customize.
28+
29+
### CORS
30+
31+
CORS (Cross-Origin Resource Sharing) middleware that can be configured to control cross-origin requests.
32+
33+
```typescript title="xmcp.config.ts"
34+
const config: XmcpConfig = {
35+
http: {
2036
cors: {
2137
origin: "*",
2238
methods: ["GET", "POST"],
@@ -30,15 +46,12 @@ const config: XmcpConfig = {
3046
credentials: false,
3147
maxAge: 86400,
3248
},
33-
debug: false, // adds extra logging to the console
3449
},
3550
};
3651

3752
export default config;
3853
```
3954

40-
These are the default values. Override only what you need to customize.
41-
4255
## STDIO transport
4356

4457
The `stdio` configuration customizes the STDIO transport. Set it to `true` to use defaults, or provide an object to override specific options:

apps/website/package.json

Lines changed: 49 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -9,85 +9,84 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@ai-sdk/openai": "^2.0.42",
13-
"@ai-sdk/react": "^2.0.59",
14-
"@mdx-js/loader": "^3.1.0",
15-
"@mdx-js/react": "^3.1.0",
16-
"@modelcontextprotocol/sdk": "^1.11.4",
17-
"@next/mdx": "^15.3.5",
18-
"@openrouter/ai-sdk-provider": "^1.2.0",
19-
"@orama/orama": "^3.1.14",
20-
"@radix-ui/react-accordion": "^1.2.11",
21-
"@radix-ui/react-collapsible": "^1.1.11",
22-
"@radix-ui/react-dialog": "^1.1.14",
12+
"@ai-sdk/openai": "^2.0.80",
13+
"@ai-sdk/react": "^2.0.109",
14+
"@mdx-js/loader": "^3.1.1",
15+
"@mdx-js/react": "^3.1.1",
16+
"@modelcontextprotocol/sdk": "^1.24.3",
17+
"@next/mdx": "^15.5.7",
18+
"@openrouter/ai-sdk-provider": "^1.5.0",
19+
"@orama/orama": "^3.1.16",
20+
"@radix-ui/react-accordion": "^1.2.12",
21+
"@radix-ui/react-collapsible": "^1.1.12",
22+
"@radix-ui/react-dialog": "^1.1.15",
2323
"@radix-ui/react-dropdown-menu": "^2.1.16",
2424
"@radix-ui/react-presence": "^1.1.5",
25-
"@radix-ui/react-separator": "^1.1.7",
26-
"@radix-ui/react-slot": "^1.2.3",
25+
"@radix-ui/react-separator": "^1.1.8",
26+
"@radix-ui/react-slot": "^1.2.4",
2727
"@radix-ui/react-tabs": "^1.1.13",
2828
"@radix-ui/react-toast": "^1.2.15",
29-
"@radix-ui/react-tooltip": "^1.2.7",
29+
"@radix-ui/react-tooltip": "^1.2.8",
3030
"@radix-ui/themes": "^3.2.1",
31-
"@react-three/drei": "^10.4.2",
32-
"@react-three/fiber": "^9.1.4",
33-
"@shikijs/langs": "^3.7.0",
34-
"@shikijs/themes": "^3.7.0",
31+
"@react-three/drei": "^10.7.7",
32+
"@react-three/fiber": "^9.4.2",
33+
"@shikijs/langs": "^3.19.0",
34+
"@shikijs/themes": "^3.19.0",
3535
"@types/mdx": "^2.0.13",
36-
"@types/three": "^0.178.0",
37-
"@vercel/analytics": "^1.5.0",
38-
"@vercel/mcp-adapter": "^0.11.1",
39-
"@vercel/speed-insights": "^1.2.0",
40-
"ai": "^5.0.56",
41-
"basehub": "^9.0.19",
36+
"@types/three": "^0.178.1",
37+
"@vercel/analytics": "^1.6.1",
38+
"@vercel/speed-insights": "^1.3.1",
39+
"ai": "^5.0.108",
40+
"basehub": "^9.5.3",
4241
"class-variance-authority": "^0.7.1",
4342
"clsx": "^2.1.1",
44-
"framer-motion": "^12.22.0",
45-
"fumadocs-core": "^15.8.2",
46-
"fumadocs-mdx": "^12.0.1",
47-
"fumadocs-ui": "^15.8.2",
43+
"framer-motion": "^12.23.25",
44+
"fumadocs-core": "^15.8.5",
45+
"fumadocs-mdx": "^12.0.3",
46+
"fumadocs-ui": "^15.8.5",
4847
"gray-matter": "^4.0.3",
49-
"gsap": "^3.13.0",
48+
"gsap": "^3.14.1",
5049
"hast": "^1.0.0",
5150
"hast-util-to-jsx-runtime": "^2.3.6",
5251
"html2canvas": "^1.4.1",
53-
"leva": "^0.10.0",
52+
"leva": "^0.10.1",
5453
"lucide-react": "^0.544.0",
5554
"next": "15.5.7",
5655
"next-mdx-remote": "^5.0.0",
57-
"react": "^19.0.0",
58-
"react-dom": "^19.0.0",
56+
"react": "^19.2.1",
57+
"react-dom": "^19.2.1",
5958
"react-error-boundary": "^6.0.0",
60-
"react-remove-scroll": "^2.7.1",
59+
"react-remove-scroll": "^2.7.2",
6160
"rehype-katex": "^7.0.1",
6261
"remark": "^15.0.1",
6362
"remark-gfm": "^4.0.1",
6463
"remark-rehype": "^11.1.2",
6564
"scroll-into-view-if-needed": "^3.1.0",
66-
"shiki": "^3.7.0",
67-
"sugar-high": "^0.9.3",
68-
"tailwind-merge": "^3.3.1",
65+
"shiki": "^3.19.0",
66+
"sugar-high": "^0.9.5",
67+
"tailwind-merge": "^3.4.0",
6968
"three": "^0.178.0",
7069
"unist-util-visit": "^5.0.0",
71-
"zod": "^4.1.11",
72-
"zustand": "^5.0.6"
70+
"zod": "^4.1.13",
71+
"zustand": "^5.0.9"
7372
},
7473
"devDependencies": {
75-
"@eslint/eslintrc": "^3",
76-
"@next/eslint-plugin-next": "^15.3.4",
77-
"@tailwindcss/postcss": "^4",
74+
"@eslint/eslintrc": "^3.3.3",
75+
"@next/eslint-plugin-next": "^15.5.7",
76+
"@tailwindcss/postcss": "^4.1.17",
7877
"@types/hast": "^3.0.4",
79-
"@types/node": "^20",
80-
"@types/react": "^19",
81-
"@types/react-dom": "^19",
82-
"eslint": "^9",
78+
"@types/node": "^20.19.26",
79+
"@types/react": "^19.2.7",
80+
"@types/react-dom": "^19.2.3",
81+
"eslint": "^9.39.1",
8382
"eslint-config-next": "15.3.4",
8483
"eslint-plugin-react-hooks": "^5.2.0",
8584
"glslify-loader": "^2.0.0",
86-
"prettier": "^3.6.2",
87-
"prettier-plugin-glsl": "^0.2.0",
85+
"prettier": "^3.7.4",
86+
"prettier-plugin-glsl": "^0.2.2",
8887
"raw-loader": "^4.0.2",
89-
"tailwindcss": "^4",
90-
"tw-animate-css": "^1.3.8",
91-
"typescript": "^5"
88+
"tailwindcss": "^4.1.17",
89+
"tw-animate-css": "^1.4.0",
90+
"typescript": "^5.9.3"
9291
}
9392
}

examples/auth-nextjs/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
},
1414
"dependencies": {
1515
"next": "15.5.7",
16-
"react": "^19.0.0",
17-
"react-dom": "^19.0.0",
16+
"react": "^19.2.1",
17+
"react-dom": "^19.2.1",
1818
"xmcp": "workspace:*",
19-
"zod": "3.24.4"
19+
"zod": "3.25.76"
2020
},
2121
"devDependencies": {
22-
"@eslint/eslintrc": "^3",
23-
"@tailwindcss/postcss": "^4",
24-
"@types/node": "^20",
25-
"@types/react": "^19",
26-
"@types/react-dom": "^19",
27-
"eslint": "^9",
22+
"@eslint/eslintrc": "^3.3.3",
23+
"@tailwindcss/postcss": "^4.1.17",
24+
"@types/node": "^20.19.26",
25+
"@types/react": "^19.2.7",
26+
"@types/react-dom": "^19.2.3",
27+
"eslint": "^9.39.1",
2828
"eslint-config-next": "15.3.5",
29-
"tailwindcss": "^4",
30-
"typescript": "^5"
29+
"tailwindcss": "^4.1.17",
30+
"typescript": "^5.9.3"
3131
}
3232
}

examples/better-auth-http/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
"@xmcp-dev/better-auth": "workspace:*",
1515
"pg": "^8.16.3",
1616
"xmcp": "workspace:*",
17-
"zod": "3.24.4"
17+
"zod": "3.25.76"
1818
},
1919
"devDependencies": {
20-
"@types/pg": "^8.15.4"
20+
"@types/pg": "^8.15.6"
2121
}
2222
}
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
{
22
"compilerOptions": {
3-
"target": "es2016",
3+
"target": "es2017",
44
"module": "commonjs",
55
"esModuleInterop": true,
66
"forceConsistentCasingInFileNames": true,
77
"strict": true,
8-
"skipLibCheck": true,
8+
"skipLibCheck": true
99
},
10-
"include": [
11-
"xmcp-env.d.ts",
12-
"src/**/*.ts"
13-
]
14-
}
10+
"include": ["xmcp-env.d.ts", "src/**/*.ts"]
11+
}

examples/better-auth-nextjs/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@
1212
"lint": "next lint"
1313
},
1414
"dependencies": {
15-
"better-auth": "^1.3.2",
15+
"better-auth": "^1.4.6",
1616
"next": "15.5.7",
1717
"pg": "^8.16.3",
18-
"react": "^19.0.0",
19-
"react-dom": "^19.0.0",
18+
"react": "^19.2.1",
19+
"react-dom": "^19.2.1",
2020
"xmcp": "workspace:*",
21-
"zod": "3.24.4"
21+
"zod": "3.25.76"
2222
},
2323
"devDependencies": {
24-
"@eslint/eslintrc": "^3",
25-
"@tailwindcss/postcss": "^4",
26-
"@types/node": "^20",
27-
"@types/pg": "^8.15.4",
28-
"@types/react": "^19",
29-
"@types/react-dom": "^19",
30-
"eslint": "^9",
24+
"@eslint/eslintrc": "^3.3.3",
25+
"@tailwindcss/postcss": "^4.1.17",
26+
"@types/node": "^20.19.26",
27+
"@types/pg": "^8.15.6",
28+
"@types/react": "^19.2.7",
29+
"@types/react-dom": "^19.2.3",
30+
"eslint": "^9.39.1",
3131
"eslint-config-next": "15.3.5",
32-
"tailwindcss": "^4",
33-
"typescript": "^5"
32+
"tailwindcss": "^4.1.17",
33+
"typescript": "^5.9.3"
3434
}
3535
}

examples/custom-bundler-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"xmcp": "workspace:*",
14-
"zod": "3.24.4"
14+
"zod": "3.25.76"
1515
}
1616
}
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
{
22
"compilerOptions": {
3-
"target": "es2016",
3+
"target": "es2017",
44
"module": "commonjs",
55
"esModuleInterop": true,
66
"forceConsistentCasingInFileNames": true,
77
"strict": true,
8-
"skipLibCheck": true,
8+
"skipLibCheck": true
99
},
10-
"include": [
11-
"types.d.ts",
12-
"xmcp-env.d.ts",
13-
"src/**/*.ts"
14-
]
15-
}
10+
"include": ["types.d.ts", "xmcp-env.d.ts", "src/**/*.ts"]
11+
}

examples/custom-paths/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
},
1212
"dependencies": {
1313
"xmcp": "workspace:*",
14-
"zod": "3.24.4"
14+
"zod": "3.25.76"
1515
}
1616
}

0 commit comments

Comments
 (0)