mirror of
https://github.com/mcp-use/mcp-use.git
synced 2026-09-14 18:06:01 +08:00
c44400417b
* docs(server): stop teaching the removed ctx.elicit in v2 samples ctx.elicit was removed and tests/type-level.test.ts asserts its absence, but the v2 elicitation page and the migration guide still built every sample on it, so none of them compiled. Rewrite them on inputResponse, acceptedContent and inputRequired, mirroring examples/elicitation. migration.mdx already stated the replacement in its own comparison table while the sample below it used the old call. * docs(server): describe the real inputResponse result in the status table The table still listed the removed call's statuses and its result and data fields. Unions taken from the compiler: kind is elicit, missing, roots or sampling, and action is accept, cancel or decline. * docs(server): finish the URL mode note and qualify the response table The URL section still described passing the url as a third positional argument, which was the removed call's shape. The response table also lost the original's note that URL mode carries no form data, and read as the helper's complete union when roots and sampling exist for other request types. * docs(server): show the helper imports in the migration snippet The replacement snippet used inputResponse, acceptedContent and inputRequired without showing where they come from, so copying it into a migrated server left unresolved identifiers.
Mintlify Starter Kit
Click on Use this template to copy the Mintlify starter kit. The starter kit contains examples including
- Guide pages
- Navigation
- Customizations
- API Reference pages
- Use of popular components
Development
Install the Mintlify CLI to preview the documentation changes locally. To install, use the following command
npm i -g mintlify
Run the following command at the root of your documentation (where docs.json is)
mintlify dev
Publishing Changes
Install our Github App to auto propagate changes from your repo to your deployment. Changes will be deployed to production automatically after pushing to the default branch. Find the link to install on your dashboard.
Troubleshooting
- Mintlify dev isn't running - Run
mintlify installit'll re-install dependencies. - Page loads as a 404 - Make sure you are running in a folder with
docs.json