uploadkit

v0.3.1
io.github.drumst0ck/uploadkit Checked 4 days ago Published 7 months ago

UploadKit MCP — 40+ upload components, route scaffolds, BYOS setup, full docs search.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_components

List every component available in @uploadkitdev/react. Optionally filter by category (classic, dropzone, button, progress, motion, specialty, gallery). Use this before suggesting a component so you pick one that actually exists.

ParameterTypeDescription
categorystringOptional filter.

get_component

Return full metadata + a ready-to-paste usage example for a specific UploadKit component.

ParameterTypeDescription
name *stringExact component name, e.g. "UploadDropzoneAurora".

search_components

Fuzzy-search components by keyword, inspiration, or use case (e.g. "terminal", "apple", "progress ring", "kanban").

ParameterTypeDescription
query *stringFree-text search.

get_install_command

Return the install command for UploadKit packages. Defaults to pnpm + the full stack (react + next).

ParameterTypeDescription
packageManagerstring
packagesarrayWhich UploadKit packages to install. Default: ["@uploadkitdev/react", "@uploadkitdev/next"].

scaffold_route_handler

Generate the file content for a Next.js App Router route handler at app/api/uploadkit/[...uploadkit]/route.ts — with a file router typed to your route name.

ParameterTypeDescription
routeName *stringName of the file route, e.g. "media", "avatar", "attachments". This is the value you pass as the `route` prop on components.
allowedTypesarrayMIME types allowed. Default: ["image/*"].
maxFileCountnumberDefault: 1.
maxFileSizestringMax file size, e.g. "4MB", "1GB". Default: "4MB".

scaffold_provider

Return a ready-to-paste snippet that adds <UploadKitProvider> to the Next.js root layout.

get_byos_config

Return environment + handler configuration for Bring-Your-Own-Storage mode with S3, R2, GCS, or Backblaze B2. Credentials never reach the browser.

ParameterTypeDescription
provider *string

get_quickstart

Full end-to-end quickstart guide for UploadKit on Next.js.

search_docs

Full-text search across every UploadKit docs page (88+ pages: getting-started, core-concepts, SDK reference, API reference, dashboard, guides). Use this whenever the user asks about UploadKit behaviour, APIs, middleware, webhooks, theming, BYOS, type safety, or any topic not covered by the component tools. Returns ranked matches with title, URL, snippet, and path.

ParameterTypeDescription
query *stringFree-text query.
limitnumberMax results. Default: 8.

get_doc

Return the full content of a docs page by path (e.g. "core-concepts/byos", "sdk/next/middleware", "api-reference/rest-api"). Use this after search_docs to read a specific page in depth.

ParameterTypeDescription
path *stringPage path relative to /docs (no leading slash, no .mdx extension).

list_docs

List every docs page with title, description, URL, and path. Use this to discover what documentation is available before searching.