@assistant-ui/mcp-docs-server 0.1.36 → 0.1.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/.docs/organized/code-examples/with-ai-sdk-v6.md +2 -2
  2. package/.docs/organized/code-examples/with-artifacts.md +2 -2
  3. package/.docs/organized/code-examples/with-chain-of-thought.md +2 -2
  4. package/.docs/organized/code-examples/with-cloud-standalone.md +2 -2
  5. package/.docs/organized/code-examples/with-cloud.md +2 -2
  6. package/.docs/organized/code-examples/with-custom-thread-list.md +2 -2
  7. package/.docs/organized/code-examples/with-elevenlabs-conversational.md +5 -5
  8. package/.docs/organized/code-examples/with-elevenlabs-scribe.md +5 -5
  9. package/.docs/organized/code-examples/with-eve.md +1 -1
  10. package/.docs/organized/code-examples/with-expo.md +6 -6
  11. package/.docs/organized/code-examples/with-ffmpeg.md +2 -2
  12. package/.docs/organized/code-examples/with-generative-ui.md +3 -3
  13. package/.docs/organized/code-examples/with-google-adk.md +1 -1
  14. package/.docs/organized/code-examples/with-image-generation.md +2 -2
  15. package/.docs/organized/code-examples/with-interactables.md +2 -2
  16. package/.docs/organized/code-examples/with-langchain.md +2 -2
  17. package/.docs/organized/code-examples/with-langgraph.md +2 -2
  18. package/.docs/organized/code-examples/with-livekit.md +5 -5
  19. package/.docs/organized/code-examples/with-mcp.md +17 -8
  20. package/.docs/organized/code-examples/with-pi.md +1 -1
  21. package/.docs/organized/code-examples/with-react-hook-form.md +2 -2
  22. package/.docs/organized/code-examples/with-react-ink-web.md +1 -1
  23. package/.docs/organized/code-examples/with-react-router.md +2 -2
  24. package/.docs/organized/code-examples/with-resumable-stream.md +3 -3
  25. package/.docs/organized/code-examples/with-tanstack.md +2 -2
  26. package/.docs/raw/docs/(docs)/cli.mdx +1 -1
  27. package/.docs/raw/docs/cloud/langgraph.mdx +1 -1
  28. package/.docs/raw/docs/integrations/frameworks/ai-sdk.mdx +3 -3
  29. package/.docs/raw/docs/integrations/index.mdx +1 -1
  30. package/.docs/raw/docs/integrations/observability/langsmith.mdx +2 -2
  31. package/.docs/raw/docs/migrations/react-langgraph-v0-7.mdx +2 -2
  32. package/.docs/raw/docs/primitives/thread-list.mdx +30 -6
  33. package/.docs/raw/docs/runtimes/a2a/quickstart.mdx +1 -1
  34. package/.docs/raw/docs/runtimes/ag-ui/quickstart.mdx +1 -1
  35. package/.docs/raw/docs/runtimes/ag-ui/runtime-options.mdx +3 -1
  36. package/.docs/raw/docs/runtimes/ai-sdk/v6.mdx +1 -1
  37. package/.docs/raw/docs/runtimes/google-adk/quickstart.mdx +1 -1
  38. package/.docs/raw/docs/runtimes/langchain.mdx +2 -2
  39. package/.docs/raw/docs/runtimes/opencode/hooks.mdx +1 -1
  40. package/.docs/raw/docs/tools/defining-tools.mdx +5 -0
  41. package/.docs/raw/docs/tools/generative-ui.mdx +37 -0
  42. package/.docs/raw/docs/tools/mcp-apps.mdx +12 -3
  43. package/.docs/raw/docs/tools/mcp.mdx +5 -0
  44. package/.docs/raw/docs/tools/user-managed-mcp.mdx +17 -3
  45. package/.docs/raw/docs/ui/follow-up-suggestions.mdx +80 -0
  46. package/.docs/raw/docs/ui/model-selector.mdx +38 -5
  47. package/README.md +1 -1
  48. package/dist/constants.d.ts +2 -1
  49. package/dist/constants.d.ts.map +1 -1
  50. package/dist/constants.js +2 -1
  51. package/dist/constants.js.map +1 -1
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +12 -0
  54. package/dist/index.js.map +1 -1
  55. package/dist/prepare-docs/copy-raw.d.ts.map +1 -1
  56. package/dist/prepare-docs/copy-raw.js +0 -4
  57. package/dist/prepare-docs/copy-raw.js.map +1 -1
  58. package/dist/tools/docs.d.ts.map +1 -1
  59. package/dist/tools/docs.js +18 -6
  60. package/dist/tools/docs.js.map +1 -1
  61. package/dist/tools/examples.d.ts +3 -1
  62. package/dist/tools/examples.d.ts.map +1 -1
  63. package/dist/tools/examples.js +1 -1
  64. package/dist/tools/examples.js.map +1 -1
  65. package/dist/tools/resources.d.ts +7 -0
  66. package/dist/tools/resources.d.ts.map +1 -0
  67. package/dist/tools/resources.js +74 -0
  68. package/dist/tools/resources.js.map +1 -0
  69. package/dist/tools/search.d.ts +33 -0
  70. package/dist/tools/search.d.ts.map +1 -0
  71. package/dist/tools/search.js +39 -0
  72. package/dist/tools/search.js.map +1 -0
  73. package/dist/tools/tests/test-setup.d.ts.map +1 -1
  74. package/dist/tools/tests/test-setup.js +3 -1
  75. package/dist/tools/tests/test-setup.js.map +1 -1
  76. package/dist/utils/mdx.d.ts +2 -1
  77. package/dist/utils/mdx.d.ts.map +1 -1
  78. package/dist/utils/mdx.js +19 -2
  79. package/dist/utils/mdx.js.map +1 -1
  80. package/dist/utils/paths.d.ts +2 -1
  81. package/dist/utils/paths.d.ts.map +1 -1
  82. package/dist/utils/paths.js +18 -1
  83. package/dist/utils/paths.js.map +1 -1
  84. package/dist/utils/search.d.ts +10 -0
  85. package/dist/utils/search.d.ts.map +1 -0
  86. package/dist/utils/search.js +97 -0
  87. package/dist/utils/search.js.map +1 -0
  88. package/package.json +2 -2
  89. package/src/constants.ts +2 -0
  90. package/src/index.ts +14 -0
  91. package/src/prepare-docs/copy-raw.ts +0 -5
  92. package/src/tools/docs.ts +30 -4
  93. package/src/tools/examples.ts +4 -2
  94. package/src/tools/resources.ts +114 -0
  95. package/src/tools/search.ts +46 -0
  96. package/src/tools/tests/completions.test.ts +46 -0
  97. package/src/tools/tests/directory-size-cap.test.ts +50 -0
  98. package/src/tools/tests/mcp-protocol.test.ts +12 -1
  99. package/src/tools/tests/resources.test.ts +102 -0
  100. package/src/tools/tests/search.test.ts +37 -0
  101. package/src/tools/tests/test-setup.ts +2 -0
  102. package/src/utils/mdx.ts +21 -1
  103. package/src/utils/paths.ts +22 -0
  104. package/src/utils/search.ts +131 -0
  105. package/.docs/raw/blog/2024-07-29-hello/index.mdx +0 -64
  106. package/.docs/raw/blog/2024-09-11/index.mdx +0 -10
  107. package/.docs/raw/blog/2024-12-15/index.mdx +0 -10
  108. package/.docs/raw/blog/2025-01-31-changelog/index.mdx +0 -127
  109. package/.docs/raw/blog/2026-03-launch-week/index.mdx +0 -258
@@ -316,12 +316,12 @@ export default withAui(nextConfig);
316
316
  "start": "next start"
317
317
  },
318
318
  "dependencies": {
319
- "@ai-sdk/openai": "^3.0.73",
319
+ "@ai-sdk/openai": "^3.0.74",
320
320
  "@assistant-ui/react": "workspace:*",
321
321
  "@assistant-ui/react-ai-sdk": "workspace:*",
322
322
  "@assistant-ui/react-markdown": "workspace:*",
323
323
  "@assistant-ui/ui": "workspace:*",
324
- "ai": "^6.0.208",
324
+ "ai": "^6.0.209",
325
325
  "class-variance-authority": "^0.7.1",
326
326
  "clsx": "^2.1.1",
327
327
  "lucide-react": "^1.21.0",
@@ -426,12 +426,12 @@ export default withAui(nextConfig);
426
426
  "start": "next start"
427
427
  },
428
428
  "dependencies": {
429
- "@ai-sdk/openai": "^3.0.73",
429
+ "@ai-sdk/openai": "^3.0.74",
430
430
  "@assistant-ui/react": "workspace:*",
431
431
  "@assistant-ui/react-ai-sdk": "workspace:*",
432
432
  "@assistant-ui/react-markdown": "workspace:*",
433
433
  "@assistant-ui/ui": "workspace:*",
434
- "ai": "^6.0.208",
434
+ "ai": "^6.0.209",
435
435
  "class-variance-authority": "^0.7.1",
436
436
  "clsx": "^2.1.1",
437
437
  "lucide-react": "^1.21.0",
@@ -800,12 +800,12 @@ export default withAui(nextConfig);
800
800
  "start": "next start"
801
801
  },
802
802
  "dependencies": {
803
- "@ai-sdk/openai": "^3.0.73",
803
+ "@ai-sdk/openai": "^3.0.74",
804
804
  "@assistant-ui/react": "workspace:*",
805
805
  "@assistant-ui/react-ai-sdk": "workspace:*",
806
806
  "@assistant-ui/react-markdown": "workspace:*",
807
807
  "@assistant-ui/ui": "workspace:*",
808
- "ai": "^6.0.208",
808
+ "ai": "^6.0.209",
809
809
  "class-variance-authority": "^0.7.1",
810
810
  "clsx": "^2.1.1",
811
811
  "lucide-react": "^1.21.0",
@@ -568,9 +568,9 @@ export default withAui(nextConfig);
568
568
  "start": "next start"
569
569
  },
570
570
  "dependencies": {
571
- "@ai-sdk/openai": "^3.0.73",
571
+ "@ai-sdk/openai": "^3.0.74",
572
572
  "@assistant-ui/cloud-ai-sdk": "workspace:*",
573
- "ai": "^6.0.208",
573
+ "ai": "^6.0.209",
574
574
  "class-variance-authority": "^0.7.1",
575
575
  "clsx": "^2.1.1",
576
576
  "lucide-react": "^1.21.0",
@@ -328,12 +328,12 @@ export default withAui(nextConfig);
328
328
  "start": "next start"
329
329
  },
330
330
  "dependencies": {
331
- "@ai-sdk/openai": "^3.0.73",
331
+ "@ai-sdk/openai": "^3.0.74",
332
332
  "@assistant-ui/react": "workspace:*",
333
333
  "@assistant-ui/react-ai-sdk": "workspace:*",
334
334
  "@assistant-ui/react-markdown": "workspace:*",
335
335
  "@assistant-ui/ui": "workspace:*",
336
- "ai": "^6.0.208",
336
+ "ai": "^6.0.209",
337
337
  "class-variance-authority": "^0.7.1",
338
338
  "clsx": "^2.1.1",
339
339
  "lucide-react": "^1.21.0",
@@ -460,12 +460,12 @@ export default withAui(nextConfig);
460
460
  "start": "next start"
461
461
  },
462
462
  "dependencies": {
463
- "@ai-sdk/openai": "^3.0.73",
463
+ "@ai-sdk/openai": "^3.0.74",
464
464
  "@assistant-ui/react": "workspace:*",
465
465
  "@assistant-ui/react-ai-sdk": "workspace:*",
466
466
  "@assistant-ui/react-markdown": "workspace:*",
467
467
  "@assistant-ui/ui": "workspace:*",
468
- "ai": "^6.0.208",
468
+ "ai": "^6.0.209",
469
469
  "assistant-stream": "workspace:*",
470
470
  "class-variance-authority": "^0.7.1",
471
471
  "clsx": "^2.1.1",
@@ -439,19 +439,19 @@ export default withAui(nextConfig);
439
439
  "version": "0.0.0",
440
440
  "type": "module",
441
441
  "dependencies": {
442
- "@ai-sdk/openai": "^3.0.73",
443
- "@ai-sdk/react": "^3.0.210",
442
+ "@ai-sdk/openai": "^3.0.74",
443
+ "@ai-sdk/react": "^3.0.211",
444
444
  "@assistant-ui/react": "workspace:^",
445
445
  "@assistant-ui/react-ai-sdk": "workspace:*",
446
446
  "@assistant-ui/react-markdown": "workspace:^",
447
447
  "@assistant-ui/ui": "workspace:*",
448
- "@elevenlabs/client": "^1.12.0",
448
+ "@elevenlabs/client": "^1.12.1",
449
449
  "@tailwindcss/postcss": "^4.3.1",
450
- "ai": "^6.0.208",
450
+ "ai": "^6.0.209",
451
451
  "class-variance-authority": "^0.7.1",
452
452
  "clsx": "^2.1.1",
453
453
  "lucide-react": "^1.21.0",
454
- "motion": "^12.40.0",
454
+ "motion": "^12.41.0",
455
455
  "next": "^16.2.9",
456
456
  "postcss": "^8.5.15",
457
457
  "react": "^19.2.7",
@@ -562,19 +562,19 @@ export default withAui(nextConfig);
562
562
  "version": "0.0.0",
563
563
  "type": "module",
564
564
  "dependencies": {
565
- "@ai-sdk/openai": "^3.0.73",
566
- "@ai-sdk/react": "^3.0.210",
565
+ "@ai-sdk/openai": "^3.0.74",
566
+ "@ai-sdk/react": "^3.0.211",
567
567
  "@assistant-ui/react": "workspace:^",
568
568
  "@assistant-ui/react-ai-sdk": "workspace:*",
569
569
  "@assistant-ui/react-markdown": "workspace:^",
570
570
  "@assistant-ui/ui": "workspace:*",
571
- "@elevenlabs/client": "^1.12.0",
571
+ "@elevenlabs/client": "^1.12.1",
572
572
  "@tailwindcss/postcss": "^4.3.1",
573
- "ai": "^6.0.208",
573
+ "ai": "^6.0.209",
574
574
  "class-variance-authority": "^0.7.1",
575
575
  "clsx": "^2.1.1",
576
576
  "lucide-react": "^1.21.0",
577
- "motion": "^12.40.0",
577
+ "motion": "^12.41.0",
578
578
  "next": "^16.2.9",
579
579
  "postcss": "^8.5.15",
580
580
  "react": "^19.2.7",
@@ -281,7 +281,7 @@ export default withEve(withAui(nextConfig));
281
281
  "@assistant-ui/ui": "workspace:*",
282
282
  "class-variance-authority": "^0.7.1",
283
283
  "clsx": "^2.1.1",
284
- "eve": "^0.12.0",
284
+ "eve": "^0.13.8",
285
285
  "lucide-react": "^1.21.0",
286
286
  "next": "^16.2.9",
287
287
  "react": "^19.2.7",
@@ -1953,14 +1953,14 @@ module.exports = withAui(config);
1953
1953
  "export:web": "expo export --platform web && node scripts/flatten-assets.mjs"
1954
1954
  },
1955
1955
  "dependencies": {
1956
- "@ai-sdk/openai": "^3.0.73",
1957
- "@ai-sdk/react": "^3.0.210",
1956
+ "@ai-sdk/openai": "^3.0.74",
1957
+ "@ai-sdk/react": "^3.0.211",
1958
1958
  "@assistant-ui/react-ai-sdk": "workspace:*",
1959
1959
  "@assistant-ui/react-native": "workspace:*",
1960
1960
  "@expo/vector-icons": "^15.1.1",
1961
1961
  "@react-navigation/drawer": "7.9.4",
1962
1962
  "@react-navigation/native": "7.1.33",
1963
- "ai": "^6.0.208",
1963
+ "ai": "^6.0.209",
1964
1964
  "expo": "~56.0.12",
1965
1965
  "expo-clipboard": "~56.0.4",
1966
1966
  "expo-constants": "~56.0.18",
@@ -1978,9 +1978,9 @@ module.exports = withAui(config);
1978
1978
  "react": "19.2.3",
1979
1979
  "react-dom": "19.2.3",
1980
1980
  "react-native": "0.85.3",
1981
- "react-native-gesture-handler": "~3.0.2",
1981
+ "react-native-gesture-handler": "~2.31.2",
1982
1982
  "react-native-reanimated": "4.3.1",
1983
- "react-native-safe-area-context": "~5.8.0",
1983
+ "react-native-safe-area-context": "~5.7.0",
1984
1984
  "react-native-screens": "4.25.2",
1985
1985
  "react-native-web": "~0.21.2",
1986
1986
  "react-native-worklets": "0.8.3",
@@ -1988,7 +1988,7 @@ module.exports = withAui(config);
1988
1988
  },
1989
1989
  "devDependencies": {
1990
1990
  "@assistant-ui/metro": "workspace:*",
1991
- "@babel/core": "^7.29.7",
1991
+ "@babel/core": "^7.29.0",
1992
1992
  "@types/react": "~19.2.17",
1993
1993
  "typescript": "~6.0.3"
1994
1994
  },
@@ -715,14 +715,14 @@ export default withAui(nextConfig);
715
715
  "start": "next start"
716
716
  },
717
717
  "dependencies": {
718
- "@ai-sdk/openai": "^3.0.73",
718
+ "@ai-sdk/openai": "^3.0.74",
719
719
  "@assistant-ui/react": "workspace:*",
720
720
  "@assistant-ui/react-ai-sdk": "workspace:*",
721
721
  "@assistant-ui/react-markdown": "workspace:*",
722
722
  "@assistant-ui/ui": "workspace:*",
723
723
  "@ffmpeg/ffmpeg": "^0.12.15",
724
724
  "@ffmpeg/util": "^0.12.2",
725
- "ai": "^6.0.208",
725
+ "ai": "^6.0.209",
726
726
  "class-variance-authority": "^0.7.1",
727
727
  "clsx": "^2.1.1",
728
728
  "lucide-react": "^1.21.0",
@@ -1502,18 +1502,18 @@ export default withAui(nextConfig);
1502
1502
  "test": "vitest run"
1503
1503
  },
1504
1504
  "dependencies": {
1505
- "@ai-sdk/openai": "^3.0.73",
1505
+ "@ai-sdk/openai": "^3.0.74",
1506
1506
  "@assistant-ui/react": "workspace:*",
1507
1507
  "@assistant-ui/react-ai-sdk": "workspace:*",
1508
1508
  "@assistant-ui/ui": "workspace:*",
1509
- "ai": "^6.0.208",
1509
+ "ai": "^6.0.209",
1510
1510
  "class-variance-authority": "^0.7.1",
1511
1511
  "clsx": "^2.1.1",
1512
1512
  "lucide-react": "^1.21.0",
1513
1513
  "next": "^16.2.9",
1514
1514
  "react": "^19.2.7",
1515
1515
  "react-dom": "^19.2.7",
1516
- "recharts": "^3.8.1",
1516
+ "recharts": "^3.9.0",
1517
1517
  "tailwind-merge": "^3.6.0",
1518
1518
  "zod": "^4.4.3"
1519
1519
  },
@@ -305,7 +305,7 @@ export default withAui(nextConfig);
305
305
  "@assistant-ui/react-google-adk": "workspace:*",
306
306
  "@assistant-ui/react-markdown": "workspace:*",
307
307
  "@assistant-ui/ui": "workspace:*",
308
- "@google/adk": "^1.2.0",
308
+ "@google/adk": "^1.3.0",
309
309
  "class-variance-authority": "^0.7.1",
310
310
  "clsx": "^2.1.1",
311
311
  "lucide-react": "^1.21.0",
@@ -380,10 +380,10 @@ export default withAui(nextConfig);
380
380
  "start": "next start"
381
381
  },
382
382
  "dependencies": {
383
- "@ai-sdk/openai": "^3.0.73",
383
+ "@ai-sdk/openai": "^3.0.74",
384
384
  "@assistant-ui/react": "workspace:*",
385
385
  "@assistant-ui/ui": "workspace:*",
386
- "ai": "^6.0.208",
386
+ "ai": "^6.0.209",
387
387
  "class-variance-authority": "^0.7.1",
388
388
  "clsx": "^2.1.1",
389
389
  "lucide-react": "^1.21.0",
@@ -627,11 +627,11 @@ export default nextConfig;
627
627
  "start": "next start"
628
628
  },
629
629
  "dependencies": {
630
- "@ai-sdk/openai": "^3.0.73",
630
+ "@ai-sdk/openai": "^3.0.74",
631
631
  "@assistant-ui/react": "workspace:*",
632
632
  "@assistant-ui/react-ai-sdk": "workspace:*",
633
633
  "@assistant-ui/ui": "workspace:*",
634
- "ai": "^6.0.208",
634
+ "ai": "^6.0.209",
635
635
  "class-variance-authority": "^0.7.1",
636
636
  "clsx": "^2.1.1",
637
637
  "lucide-react": "^1.21.0",
@@ -336,8 +336,8 @@ export default withAui(nextConfig);
336
336
  "@assistant-ui/react-langchain": "workspace:*",
337
337
  "@assistant-ui/react-markdown": "workspace:*",
338
338
  "@assistant-ui/ui": "workspace:*",
339
- "@langchain/langgraph-sdk": "^1.9.23",
340
- "@langchain/react": "^1.0.24",
339
+ "@langchain/langgraph-sdk": "^1.9.24",
340
+ "@langchain/react": "^1.0.25",
341
341
  "class-variance-authority": "^0.7.1",
342
342
  "clsx": "^2.1.1",
343
343
  "lucide-react": "^1.21.0",
@@ -740,8 +740,8 @@ export default withAui(nextConfig);
740
740
  "@assistant-ui/react-langchain": "workspace:*",
741
741
  "@assistant-ui/react-markdown": "workspace:*",
742
742
  "@assistant-ui/ui": "workspace:*",
743
- "@langchain/langgraph-sdk": "^1.9.23",
744
- "@langchain/react": "^1.0.24",
743
+ "@langchain/langgraph-sdk": "^1.9.24",
744
+ "@langchain/react": "^1.0.25",
745
745
  "class-variance-authority": "^0.7.1",
746
746
  "clsx": "^2.1.1",
747
747
  "lucide-react": "^1.21.0",
@@ -554,20 +554,20 @@ export default withAui(nextConfig);
554
554
  "version": "0.0.0",
555
555
  "type": "module",
556
556
  "dependencies": {
557
- "@ai-sdk/openai": "^3.0.73",
558
- "@ai-sdk/react": "^3.0.210",
557
+ "@ai-sdk/openai": "^3.0.74",
558
+ "@ai-sdk/react": "^3.0.211",
559
559
  "@assistant-ui/react": "workspace:^",
560
560
  "@assistant-ui/react-ai-sdk": "workspace:*",
561
561
  "@assistant-ui/react-markdown": "workspace:^",
562
562
  "@assistant-ui/ui": "workspace:*",
563
563
  "@tailwindcss/postcss": "^4.3.1",
564
- "ai": "^6.0.208",
564
+ "ai": "^6.0.209",
565
565
  "class-variance-authority": "^0.7.1",
566
566
  "clsx": "^2.1.1",
567
- "livekit-client": "^2.19.2",
567
+ "livekit-client": "^2.20.0",
568
568
  "livekit-server-sdk": "^2.15.5",
569
569
  "lucide-react": "^1.21.0",
570
- "motion": "^12.40.0",
570
+ "motion": "^12.41.0",
571
571
  "next": "^16.2.9",
572
572
  "postcss": "^8.5.15",
573
573
  "react": "^19.2.7",
@@ -376,7 +376,7 @@ export default nextConfig;
376
376
  "start:server": "tsx server/server.ts"
377
377
  },
378
378
  "dependencies": {
379
- "@ai-sdk/openai": "^3.0.73",
379
+ "@ai-sdk/openai": "^3.0.74",
380
380
  "@assistant-ui/react": "workspace:*",
381
381
  "@assistant-ui/react-ai-sdk": "workspace:*",
382
382
  "@assistant-ui/react-markdown": "workspace:*",
@@ -385,7 +385,7 @@ export default nextConfig;
385
385
  "@assistant-ui/tap": "workspace:*",
386
386
  "@assistant-ui/ui": "workspace:*",
387
387
  "@modelcontextprotocol/sdk": "^1.29.0",
388
- "ai": "^6.0.208",
388
+ "ai": "^6.0.209",
389
389
  "assistant-stream": "workspace:*",
390
390
  "class-variance-authority": "^0.7.1",
391
391
  "clsx": "^2.1.1",
@@ -621,18 +621,27 @@ const provider: OAuthServerProvider = {
621
621
 
622
622
  function buildMcpServer(): McpServer {
623
623
  const server = new McpServer({ name: "aui-mcp-test", version: "0.0.1" });
624
- server.tool(
624
+ server.registerTool(
625
625
  "echo",
626
- "Echo back the provided text.",
627
- { text: z.string().describe("Text to echo back") },
626
+ {
627
+ title: "Echo",
628
+ description: "Echo back the provided text.",
629
+ inputSchema: { text: z.string().describe("Text to echo back") },
630
+ annotations: { readOnlyHint: true, openWorldHint: false },
631
+ },
628
632
  async ({ text }) => ({
629
633
  content: [{ type: "text" as const, text: `echo: ${text}` }],
630
634
  }),
631
635
  );
632
- server.tool(
636
+ server.registerTool(
633
637
  "fingerprint",
634
- "Return a deterministic fingerprint of a string (sha256 hex).",
635
- { input: z.string() },
638
+ {
639
+ title: "Fingerprint",
640
+ description:
641
+ "Return a deterministic fingerprint of a string (sha256 hex).",
642
+ inputSchema: { input: z.string() },
643
+ annotations: { readOnlyHint: true, openWorldHint: false },
644
+ },
636
645
  async ({ input }) => ({
637
646
  content: [
638
647
  {
@@ -1930,7 +1930,7 @@ export default withAui(nextConfig);
1930
1930
  "@assistant-ui/react-markdown": "workspace:*",
1931
1931
  "@assistant-ui/react-pi": "workspace:*",
1932
1932
  "@assistant-ui/ui": "workspace:*",
1933
- "@earendil-works/pi-coding-agent": "^0.79.9",
1933
+ "@earendil-works/pi-coding-agent": "^0.80.2",
1934
1934
  "class-variance-authority": "^0.7.1",
1935
1935
  "clsx": "^2.1.1",
1936
1936
  "lucide-react": "^1.21.0",
@@ -617,13 +617,13 @@ export default withAui(nextConfig);
617
617
  "start": "next start"
618
618
  },
619
619
  "dependencies": {
620
- "@ai-sdk/openai": "^3.0.73",
620
+ "@ai-sdk/openai": "^3.0.74",
621
621
  "@assistant-ui/react": "workspace:*",
622
622
  "@assistant-ui/react-ai-sdk": "workspace:*",
623
623
  "@assistant-ui/react-hook-form": "workspace:*",
624
624
  "@assistant-ui/react-markdown": "workspace:*",
625
625
  "@assistant-ui/ui": "workspace:*",
626
- "ai": "^6.0.208",
626
+ "ai": "^6.0.209",
627
627
  "class-variance-authority": "^0.7.1",
628
628
  "clsx": "^2.1.1",
629
629
  "lucide-react": "^1.21.0",
@@ -557,7 +557,7 @@ export default config;
557
557
  "@assistant-ui/react-ink-markdown": "workspace:*",
558
558
  "@wterm/dom": "^0.3.0",
559
559
  "@wterm/react": "^0.3.0",
560
- "ai": "^6.0.208",
560
+ "ai": "^6.0.209",
561
561
  "ink": "^7.1.0",
562
562
  "ink-web": "^0.2.0",
563
563
  "next": "^16.2.9",
@@ -778,7 +778,7 @@ export default function Home() {
778
778
  "class-variance-authority": "^0.7.1",
779
779
  "clsx": "^2.1.1",
780
780
  "eventsource-parser": "^3.1.0",
781
- "isbot": "^5.1.43",
781
+ "isbot": "^5.1.44",
782
782
  "lucide-react": "^1.21.0",
783
783
  "openai": "^6.44.0",
784
784
  "react": "^19.2.7",
@@ -796,7 +796,7 @@ export default function Home() {
796
796
  "tailwindcss": "^4.3.1",
797
797
  "tw-animate-css": "^1.4.0",
798
798
  "typescript": "^6.0.3",
799
- "vite": "^8.0.16",
799
+ "vite": "^8.1.0",
800
800
  "vite-tsconfig-paths": "^6.1.1"
801
801
  }
802
802
  }
@@ -514,15 +514,15 @@ export default withAui(nextConfig);
514
514
  "start": "next start"
515
515
  },
516
516
  "dependencies": {
517
- "@ai-sdk/openai": "^3.0.73",
518
- "@ai-sdk/react": "^3.0.210",
517
+ "@ai-sdk/openai": "^3.0.74",
518
+ "@ai-sdk/react": "^3.0.211",
519
519
  "@assistant-ui/react": "workspace:*",
520
520
  "@assistant-ui/react-ai-sdk": "workspace:*",
521
521
  "@assistant-ui/react-markdown": "workspace:*",
522
522
  "@assistant-ui/store": "workspace:*",
523
523
  "@assistant-ui/tap": "workspace:*",
524
524
  "@assistant-ui/ui": "workspace:*",
525
- "ai": "^6.0.208",
525
+ "ai": "^6.0.209",
526
526
  "assistant-stream": "workspace:*",
527
527
  "class-variance-authority": "^0.7.1",
528
528
  "clsx": "^2.1.1",
@@ -84,9 +84,9 @@
84
84
  "@types/node": "^26.0.0",
85
85
  "@types/react": "^19.2.17",
86
86
  "@types/react-dom": "^19.2.3",
87
- "@vitejs/plugin-react": "^6.0.2",
87
+ "@vitejs/plugin-react": "^6.0.3",
88
88
  "typescript": "^6.0.3",
89
- "vite": "^8.0.16"
89
+ "vite": "^8.1.0"
90
90
  }
91
91
  }
92
92
 
@@ -71,7 +71,7 @@ Use `--example` to create a project from one of the monorepo examples with full
71
71
  | `with-artifacts` | HTML artifact rendering with live preview | `npx assistant-ui create my-app -e with-artifacts` |
72
72
  | `with-langgraph` | LangGraph agent with custom tools | `npx assistant-ui create my-app -e with-langgraph` |
73
73
  | `with-cloud` | Assistant Cloud persistence | `npx assistant-ui create my-app -e with-cloud` |
74
- | `with-ag-ui` | [AG-UI protocol](/docs/runtimes/ag-ui) integration | `npx assistant-ui create my-app -e with-ag-ui` |
74
+ | `with-ag-ui` | [AG-UI protocol](/docs/runtimes/ag-ui/overview) integration | `npx assistant-ui create my-app -e with-ag-ui` |
75
75
  | `with-assistant-transport` | Custom backend via Assistant Transport | `npx assistant-ui create my-app -e with-assistant-transport` |
76
76
  | `with-resumable-stream` | Resumable LLM stream that survives reload mid-response | `npx assistant-ui create my-app -e with-resumable-stream` |
77
77
  | `with-chain-of-thought` | Chain-of-thought reasoning, tool calls, and source citations | `npx assistant-ui create my-app -e with-chain-of-thought` |
@@ -547,6 +547,6 @@ For other authentication providers or custom implementations, see the [Cloud Aut
547
547
 
548
548
  ## Next Steps
549
549
 
550
- - Learn about [LangGraph runtime setup](/docs/runtimes/langgraph) for your application
550
+ - Learn about [LangGraph runtime setup](/docs/runtimes/langgraph/overview) for your application
551
551
  - Explore [ThreadListRuntime](/docs/api-reference/runtimes/thread-list-runtime) for advanced thread management
552
552
  - Check out the [LangGraph example](https://github.com/assistant-ui/assistant-ui/tree/main/examples/with-langgraph) on GitHub
@@ -5,7 +5,7 @@ description: Wire the Vercel AI SDK into a React chat UI with assistant-ui — u
5
5
 
6
6
  import { VercelIcon } from "@/components/icons/vercel";
7
7
 
8
- [Vercel AI SDK](https://ai-sdk.dev/) is the most common framework people pair with assistant-ui. The full setup, attachments, persistence, tool-call patterns, and version notes are documented under [runtimes/ai-sdk](/docs/runtimes/ai-sdk); this page is the entry point in the integrations tree for discoverability and architecture context.
8
+ [Vercel AI SDK](https://ai-sdk.dev/) is the most common framework people pair with assistant-ui. The full setup, attachments, persistence, tool-call patterns, and version notes are documented under [runtimes/ai-sdk](/docs/runtimes/ai-sdk/overview); this page is the entry point in the integrations tree for discoverability and architecture context.
9
9
 
10
10
  <Callout type="info">
11
11
  If you arrived here looking to wire up your first chat: jump to [AI SDK v6 quickstart](/docs/runtimes/ai-sdk/v6). This page is a high-level pointer.
@@ -58,7 +58,7 @@ AI SDK is the default choice for new projects on Next.js, Remix, or any framewor
58
58
  - You will compose with a framework like [Mastra](/docs/integrations/frameworks/mastra/overview), an [observability tool](/docs/integrations/observability/helicone), an [LLM gateway](/docs/integrations/gateways), or [tools through MCP](/docs/tools/mcp), all of which assume an AI SDK route.
59
59
  - You want first-party `frontendTools`, attachments, multi-step tool calls, token-usage metadata, and persisted history via `withFormat`.
60
60
 
61
- If you need streaming agent state (subgraph events, generative UI messages), look at [LangGraph](/docs/runtimes/langgraph) instead. If you have a different protocol-shaped backend (A2A, AG-UI, OpenCode), see [pick a runtime](/docs/runtimes/pick-a-runtime).
61
+ If you need streaming agent state (subgraph events, generative UI messages), look at [LangGraph](/docs/runtimes/langgraph/overview) instead. If you have a different protocol-shaped backend (A2A, AG-UI, OpenCode), see [pick a runtime](/docs/runtimes/pick-a-runtime).
62
62
 
63
63
  ## Related
64
64
 
@@ -67,7 +67,7 @@ If you need streaming agent state (subgraph events, generative UI messages), loo
67
67
  icon={<VercelIcon width={20} height={20} />}
68
68
  title="AI SDK runtime overview"
69
69
  description="The full runtime documentation and version selector."
70
- href="/docs/runtimes/ai-sdk"
70
+ href="/docs/runtimes/ai-sdk/overview"
71
71
  />
72
72
  <Card
73
73
  title="Pick a runtime"
@@ -158,7 +158,7 @@ Upload chat attachments to object storage instead of inlining as data URLs.
158
158
  assistant-ui doesn't ship a guide for every tool, but most fit one of two patterns:
159
159
 
160
160
  - **Routes through your AI SDK handler** (agent frameworks, observability proxies, gateways): adapt the [Mastra full-stack](/docs/integrations/frameworks/mastra/full-stack) or [Helicone proxy](/docs/integrations/observability/helicone) pattern using the service's own SDK.
161
- - **Replaces the runtime entirely** (custom backends): see [custom backend](/docs/runtimes/custom).
161
+ - **Replaces the runtime entirely** (custom backends): see [custom backend](/docs/runtimes/custom/overview).
162
162
 
163
163
  If you build something useful, [open an issue](https://github.com/assistant-ui/assistant-ui/issues) or post in [Discord](https://discord.gg/S9dwgCNEFs); the docs are open to contributions.
164
164
 
@@ -9,7 +9,7 @@ import { VercelIcon } from "@/components/icons/vercel";
9
9
 
10
10
  [LangSmith](https://www.langchain.com/langsmith) is LangChain's observability and eval platform. If you are already in the LangChain or LangGraph ecosystem, LangSmith is the natural pairing: traces, datasets, prompt versioning, and LLM-as-judge evals share state with the rest of the LangChain stack.
11
11
 
12
- This page covers the **AI SDK** path. If you use [`@assistant-ui/react-langgraph`](/docs/runtimes/langgraph), tracing flows through LangGraph Cloud automatically; you only need this guide when your route handler talks to AI SDK directly.
12
+ This page covers the **AI SDK** path. If you use [`@assistant-ui/react-langgraph`](/docs/runtimes/langgraph/overview), tracing flows through LangGraph Cloud automatically; you only need this guide when your route handler talks to AI SDK directly.
13
13
 
14
14
  ## How it works
15
15
 
@@ -134,7 +134,7 @@ Send a message. The trace should appear in your LangSmith project within seconds
134
134
  icon={<LangGraphIcon width={20} height={20} className="text-[#1C3C3C] dark:text-[#5b9595]" />}
135
135
  title="LangGraph runtime"
136
136
  description="If your backend is LangGraph, tracing flows through LangGraph Cloud automatically."
137
- href="/docs/runtimes/langgraph"
137
+ href="/docs/runtimes/langgraph/overview"
138
138
  />
139
139
  <Card
140
140
  icon={<LangfuseIcon width={20} height={20} />}
@@ -323,6 +323,6 @@ export function Provider({ children }) {
323
323
  ## Need Help?
324
324
 
325
325
  If you encounter issues during migration:
326
- 1. Check the updated [LangGraph documentation](/docs/runtimes/langgraph)
326
+ 1. Check the updated [LangGraph documentation](/docs/runtimes/langgraph/overview)
327
327
  2. Review the [example implementation](https://github.com/assistant-ui/assistant-ui/tree/main/examples/with-langgraph)
328
- 3. Report issues on [GitHub](https://github.com/assistant-ui/assistant-ui/issues)
328
+ 3. Report issues on [GitHub](https://github.com/assistant-ui/assistant-ui/issues)