Commit Graph

240 Commits

Author SHA1 Message Date
Enrico 11eb39a545 docs: remove prerelease guidance from stable v2 docs 2026-08-03 14:36:17 +02:00
Enrico 06ff3075b5 release: merge v2 beta into main 2026-08-03 14:35:58 +02:00
Enrico Toniato e1c8aa4685 fix: prepare v2 stable release channels and launch surfaces (#2106)
* fix: prepare v2 stable release channels

* fix: normalize peers only when exiting prerelease
2026-08-03 14:29:26 +02:00
Enrico Toniato f06deff02c fix v2 beta release blockers (#2104) 2026-08-03 13:49:48 +02:00
Enrico Toniato c6043e4d05 fix: use hosted WebSocket tunnel relay (#2057)
* fix: use hosted WebSocket tunnel relay

* fix: reattach tunnels across relay deploys

* fix: negotiate tunnel keepalive support

* refactor: remove spinner state and improve loading indicators in ViewRenderer and MCP Apps components
2026-08-03 12:48:44 +02:00
Enrico Toniato 67b4a27d9d remove v1 compatibility layer (#2049) 2026-07-28 16:45:55 -07:00
Enrico f6634fb688 Update README.md and docs.json for TypeScript v2 migration and new banner
- Updated migration guide link in README.md to point to the correct TypeScript v2 documentation.
- Added a new warning banner in docs.json to announce that mcp-use v2 is now in beta.
- Enhanced TypeScript SDK description in docs.json to clarify documentation for both V1 and V2.
- Restructured documentation sections in docs.json for better organization and clarity.
2026-07-28 12:00:34 -07:00
Enrico 05a1e63e30 docs: update beta banner content in v2 documentation to include a link for more information 2026-07-28 11:59:47 -07:00
Andrew Khadder 386dc8c3a5 v2 docs (#2038)
* docs: split TypeScript V1 and V2 documentation

* Rewrite v2 getting started docs

* docs: rewrite v2 server overview

* docs: refine v2 server overview

* docs: remove v2 session management

* docs: add v2 server migration checklist

* docs: refine v2 server migration checklist

* docs: audit v2 server migration checklist

* docs: complete TypeScript server guide migrations

* docs: remove oauth proxy factory references

* docs: simplify MCP terminology in descriptions

* docs: keep core API links in next steps

* docs: export view-bound tool reference

* docs: remove OAuth proxy warning

* docs: document tool-list notifications

* docs: simplify custom OAuth verifier example

* docs: restore full Hono middleware guide

* docs: remove custom provider proxy warning

* docs: hide server sampling guide from navigation

* docs: complete MCP client guide migration

* docs: align Inspector and tunnel guides

* docs: rewrite v2 MCP Apps overview

* docs: remove v2 response helpers guide

* rewrite TypeScript V2 MCP Agent guides (#2022)

* docs: add v2 server migration guide

* docs: add native TypeDoc API reference (#2032)

Add the unified native TypeDoc site, package TSDoc coverage, Vercel deployment configuration, and the V2-only Mintlify API reference link while preserving V1 navigation.

* docs: use declarative model context in v2 guidance (#2033)

* docs: fix V2 API reference link (#2034)

* docs: refine V2 header controls (#2035)

* docs: align migration page titles

* docs: preserve main v1 documentation

* docs: recover v2 MCP Apps rewrite
2026-07-28 11:35:50 -07:00
Enrico 4c5e162009 Update README.md to enhance visual elements and clarify content
- Replaced logo with a new banner image for better visibility.
- Improved text formatting for readability.
- Updated badge links for npm version and downloads.
- Adjusted Discord badge style for consistency.
2026-07-28 10:56:59 -07:00
Andrew Khadder 01208e052a Revert "docs: split TypeScript V1 and V2 documentation (#2010)" (#2036)
This reverts commit 5b5fe96d28.
2026-07-28 10:23:24 -07:00
Andrew Khadder 5b5fe96d28 docs: split TypeScript V1 and V2 documentation (#2010)
Preserve the V1 TypeScript docs, add independently navigable V2 beta documentation, and align shared documentation. Rename both V2 migration guides to “Migrating to v2”.
2026-07-28 10:16:33 -07:00
Enrico Toniato ef8187a67d fix(typescript): support runtime-first view deployments (#2028) 2026-07-26 12:56:07 -07:00
Enrico Toniato 4b9e621602 Enhance CLI user experience and documentation (#2020)
- Updated CLI command syntax to include [path] for deployment.
- Improved descriptions for deployment options, including `--name`, `--new`, and `--region`.
- Added `--json` option for machine-readable output and clarified its behavior in the documentation.
- Enhanced error handling and output formatting for better user feedback.
- Updated various command help texts to reflect new features and usage patterns.
- Improved local authentication flow and clarified the behavior of `--no-open` and `--json` options.
- Added tests to ensure correct behavior of new features and error handling.
2026-07-25 10:33:44 -07:00
Enrico e5cfc5e40b fix(agent): slim deps, relocate examples, and fix install docs
Drop chalk/cli-highlight from @mcp-use/agent (inline ANSI for prettyStreamEvents), remove the redundant ./browser entry, default autoInitialize in simplified mode, and ship package examples plus corrected install guidance (client is a transitive dep; /langchain is a subpath).
2026-07-24 13:37:16 -07:00
Andrew Khadder 44182d04d2 fix(cli): use named protocol modes (#2002) 2026-07-23 17:08:04 -07:00
Enrico 50202acf07 refactor(docs): migrate v1 enum elicitation helpers to Zod and update documentation
- Updated the API reference to reflect the migration from v1 enum elicitation helpers to Zod form schemas.
- Revised descriptions and examples in the elicitation schemas documentation to guide users on the new Zod-based approach.
- Adjusted links and callouts to emphasize the removal of deprecated v1 helpers and provide migration guidance.
2026-07-23 16:18:40 -07:00
Enrico 276ee0ba93 fix: address follow-up Cubic review feedback 2026-07-23 15:48:37 -07:00
Enrico afe3f11200 fix(ci): format Python README and repair docs link 2026-07-23 15:23:20 -07:00
Enrico 2768f5bfec Merge main into beta 2026-07-23 15:20:16 -07:00
Enrico 18e3ce75e6 fix: address high-value Cubic feedback 2026-07-23 14:47:45 -07:00
Andrew Khadder b5c44e4d6b Fix client CLI OAuth and JSON behavior (#1982)
* fix client CLI OAuth and JSON behavior

* fix client remove JSON handling
2026-07-23 14:32:23 -07:00
Andrew Khadder e53c958a0a Add pre-approved device code login flow (#1978)
* wip: add v2 device-code login

* chore: add device-code login changeset
2026-07-23 14:30:52 -07:00
Enrico ac3d1eb3bb fix(typescript): resolve CodeQL security alerts 2026-07-23 12:24:46 -07:00
Andrew Khadder c99141208b Remove the skills command from the CLI (#1991) 2026-07-23 12:21:42 -07:00
Andrew Khadder 0bdaed15fb feat(react): add shared view state (#1976)
* feat(react): add shared view state

* docs(react): document shared view state
2026-07-22 19:05:36 -07:00
Enrico Toniato c8c4174145 restore request-scoped notifications (#1974) 2026-07-22 17:50:45 -07:00
Enrico Toniato 23bba3bbf2 refactor(server): update tool context to RequestContext and enhance client metadata handling (#1972)
- Renamed `ToolContext` to `RequestContext` in documentation and code.
- Updated the context object to provide enhanced client metadata, including user information and capabilities.
- Improved examples and descriptions for clarity on client capabilities and request-scoped metadata.
- Adjusted tests to reflect changes in client metadata handling and ensure type safety.
2026-07-22 16:50:16 -07:00
Andrew Khadder 8259292618 Enable public tunnels for production start (#1970)
* feat(cli): add tunnel support to v2 start

* chore: add start tunnel changeset
2026-07-22 15:45:33 -07:00
Enrico Toniato 192d193803 feat(server): restore Hono HTTP surface and strict tool refs (#1969)
Bring back typed Hono routes/middleware with server.fetch as the serving
boundary, restore deprecated response helpers for upgrades, and require
useCallTool names to resolve against mcp-env.d.ts ToolRefs (with
useDynamicTool + mcp-use typecheck as the escape hatch).
2026-07-22 15:03:44 -07:00
Enrico Toniato 392d36c079 Optimize the standalone Inspector package (#1968)
* fix inspector hosted proxy and oauth recovery

* remove inspector compatibility report

* refactor(inspector): mount project-local dev inspector

* refactor(inspector): remove CDN application delivery

* fix(inspector): finalize local mount and proxy health checks

* refactor(typescript): optimize inspector packages

* fix(typescript): build CLI for server examples

* fix(typescript): keep CLI build deps development-only
2026-07-22 12:21:51 -07:00
Enrico Toniato eedeb4fc52 fix(inspector): recover OAuth and mount project-local dev Inspector (#1966)
* fix inspector hosted proxy and oauth recovery

* remove inspector compatibility report

* refactor(inspector): mount project-local dev inspector

* refactor(inspector): remove CDN application delivery

* fix(inspector): finalize local mount and proxy health checks
2026-07-21 18:51:47 -07:00
Andrew Khadder 786dbf6f58 Document inline view bundle support and source map build options (#1967) 2026-07-21 18:23:36 -07:00
Enrico b5354b5285 fix(docs): update Inspector URL references to /mcp/inspector 2026-07-21 11:53:55 -07:00
Ayaan Gazali 9978343d63 docs(inspector): add self-hosting guide (#1861)
* docs(inspector): add self-hosting guide

The inspector README and feature table reference self-hosting with Docker,
but the docs site had no page for it (mcp-use.com/docs/inspector/self-hosting
404s). Add the guide based on the README's self-hosting section: Docker Hub
image, docker run / compose deployment, environment variables, and how
self-hosting compares to the hosted and CLI options.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* docs(inspector): bind examples to loopback, add exposure warning and air-gapped transfer steps

Addresses review feedback on #1861:
- trim wordy intro sentence
- quick start and deployment examples now bind 127.0.0.1 to avoid
  exposing the Inspector proxy on all interfaces; added Warning with
  reverse-proxy/firewall guidance for remote access
- add docker save/load transfer steps for air-gapped hosts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: ayaanmacmini3 <ayaanmacmini3@ayaanmacmini3s-Mac-mini.local>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 10:00:46 -07:00
Enrico Toniato 3aca19c1ab feat: prefer Bun over Yarn and opt-in build source maps (#1950)
Replace create-mcp-use-app --yarn with --bun, align docs/install hints, and gate mcp-use build source maps behind --source-maps. Keep workspace root TypeScript on 5.9 so eslint stays compatible.
2026-07-20 14:37:04 -07:00
Enrico 78266950f9 feat(server): add Next.js drop-in adapter and example suite 2026-07-20 10:50:19 -07:00
Enrico d9c2023864 manual commit 2026-07-18 19:23:50 -07:00
Andrew Khadder 6aa0857b34 feat(server): make MCP middleware type-safe by method (#1932)
* feat(server): make MCP middleware type-safe by method

* fix(server): omit schema dialect from tool descriptors (#1931)

* fix(server): forward list middleware params

* fix(server): export MCP middleware adapters
2026-07-18 18:20:02 -07:00
Enrico f25964142b Enhance MCP App Development Experience
- Updated documentation to clarify the use of `mcp-use dev --tunnel` and `mcp-use start --tunnel`, including automatic tunnel restart on registration drop.
- Refined TypeScript API references for `allowedOrigins` and `cors` configurations to improve clarity on behavior.
- Transitioned view-related files from `resources/` to `views/`, aligning with new authoring standards.
- Introduced a new `mcp-env.d.ts` for type definitions and simplified favicon selection logic.
- Enhanced the `create-mcp-use-app` template to support views, including a new fruit search example with improved UI components.
- Added mock OpenAI file APIs for local development environments to facilitate testing.
- Updated package.json descriptions and keywords for better clarity and alignment with project goals.
2026-07-18 14:21:02 -07:00
Enrico 15798394a4 chore(typescript): raise Node floor to 22.22.2 and CI to 22.23.1
Excludes pre–March 2026 security patches and satisfies npm 12 for trusted beta publishing.
2026-07-18 10:53:48 -07:00
Enrico b47e268f61 chore(typescript): raise Node.js engine floor to 22.13
Unblocks beta releases on pnpm 11.13 and aligns CI, Docker, build targets, and scaffolds with Maintenance LTS Node 22.
2026-07-18 10:47:42 -07:00
Ayaan Gazali 0c95e04db2 fix(docs): reword changelog heading that breaks mint broken-links with URIError (#1922)
The current mint CLI throws 'URIError: URI malformed' generating the anchor
slug for '### 100% Client Conformance (20/20)' (bare % followed by non-hex),
failing the 'Generate and validate API documentation' job on every PR.
Reworded to 'Full Client Conformance (20/20)'; mint broken-links now passes
across the whole docs tree.

Closes #1911

Co-authored-by: ayaanmacmini3 <ayaanmacmini3@ayaanmacmini3s-Mac-mini.local>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 09:25:53 -07:00
Andrew Khadder adebe07133 feat(server): proxy multiple MCP servers (#1892)
* feat(server): proxy multiple MCP servers

* fix(server): address proxy review feedback

* fix(server): preserve proxy lifecycle ordering

* test(server): refresh proxy bundle budget
2026-07-17 18:01:49 -07:00
Andrew Khadder fa574030eb feat(server): add v2 server branding (#1920)
* feat(server): add v2 server branding

* fix(server): address branding review feedback
2026-07-17 17:47:45 -07:00
Andrew Khadder eabae55ea4 feat(server): add Better Auth OAuth provider (#1921) 2026-07-17 17:31:19 -07:00
Andrew Khadder 9c77ee214a feat(server): add v2 landing page (#1916)
* feat(server): add v2 landing page

* docs(examples): expose auth landing pages

* test(server): account for merged bundle growth

* fix(server): harden landing install metadata
2026-07-17 16:41:26 -07:00
Enrico Toniato 6737ecc45d feat(server): MCP middleware, observer events, CORS, and universal getHandler (#1918)
Add fetch-native operation middleware (server.use), read-only events
(server.on), optional ServerConfig.cors, FrameworkHandler duck-typing for
Hono, and getNodeHandler for custom Node http.Server composition.
2026-07-17 16:18:41 -07:00
Andrew Khadder 14ae280e46 Add ChatGPT file upload support (#1897)
* Add ChatGPT file upload hook

* Add file upload example
2026-07-17 14:19:54 -07:00
Andrew Khadder 3bffd70dfe fix beta preview packaging and docs (#1913) 2026-07-17 14:08:43 -07:00