Uploadkit
The UploadKit server provides tools to discover components, scaffold project setup, configure storage, and access documentation for integrating UploadKit into React/Next.js projects.
list_components: Enumerate all 40+ React upload components, optionally filtered by category (classic, dropzone, button, progress, motion, specialty, gallery).get_component: Fetch full metadata and a ready-to-paste TSX usage example for a specific component by its PascalCase name.search_components: Fuzzy-search the component catalog by keyword, vibe, or design inspiration (e.g. "apple", "stripe checkout", "matrix").get_install_command: Generate the shell command to install UploadKit packages for a given package manager (pnpm, npm, yarn, or bun).scaffold_route_handler: Generate a complete Next.js App Router upload route handler file with configurable route name, file size limits, allowed MIME types, and max file count.scaffold_provider: Return a snippet for wrapping the Next.js root layout with<UploadKitProvider>.get_byos_config: Generate Bring-Your-Own-Storage configuration (env variables + handler code) for AWS S3, Cloudflare R2, Google Cloud Storage, or Backblaze B2.get_quickstart: Return a complete end-to-end UploadKit setup walkthrough for Next.js.search_docs: Full-text search across 88+ UploadKit documentation pages.get_doc: Fetch the full markdown content of a specific documentation page by its path.list_docs: Enumerate all available documentation pages with titles, descriptions, and paths.
Provides premium upload components with Apple-inspired Aurora design theme for file upload interfaces.
Supports Backblaze B2 as a storage provider for file uploads through BYOS (Bring Your Own Storage) mode.
Integrates with Cloudflare R2 for managed storage and supports R2 as a BYOS storage provider.
Supports Google Cloud Storage as a storage provider for file uploads through BYOS (Bring Your Own Storage) mode.
Provides premium upload components with Linear-inspired Glass design theme for file upload interfaces.
Provides premium upload components with Raycast-inspired Terminal design theme for file upload interfaces.
Provides premium upload components with Vercel-inspired Glass design theme for file upload interfaces.
Provides upload components with Warp-inspired DataStream design for file upload interfaces.
Provides upload components with WeTransfer-inspired Envelope design for file upload interfaces.
UploadKit
File uploads for developers. Beautifully.
Open-source TypeScript SDK + 40+ premium React components + managed storage on Cloudflare R2 — with BYOS (Bring Your Own Storage) mode so you can use your own S3, R2, GCS, or Backblaze B2 bucket. 5 GB free forever.
Website · Docs · Dashboard · Discord · Changelog
Quickstart — add to an existing project
Most people land here with a Next.js app already running. Three steps:
pnpm add @uploadkitdev/react @uploadkitdev/nextCreate app/api/uploadkit/[...uploadkit]/route.ts:
import { createUploadKitHandler, type FileRouter } from '@uploadkitdev/next';
const router = {
default: { maxFileSize: '4MB', allowedTypes: ['image/*'] },
} satisfies FileRouter;
export const { GET, POST } = createUploadKitHandler({
router,
apiKey: process.env.UPLOADKIT_API_KEY!,
});Wrap the root layout and drop in a dropzone:
// app/layout.tsx
import { UploadKitProvider } from '@uploadkitdev/react';
// <UploadKitProvider endpoint="/api/uploadkit">{children}</UploadKitProvider>
// any page
import { UploadDropzone } from '@uploadkitdev/react';
// <UploadDropzone route="default" />Set UPLOADKIT_API_KEY=uk_live_... in .env.local and you're done. Full walkthrough: docs.uploadkit.dev/docs/getting-started/quickstart.
Or use the CLI (recommended)
npx uploadkit initDetects your framework, installs deps, creates the route handler, and wraps your layout — all in one command. See the CLI guide for details.
Starting a new project?
npx create-uploadkit-app my-appTemplates for Next.js, SvelteKit, Remix, and Vite — see the CLI guide.
Using an AI-assistant IDE?
Install the UploadKit MCP server and let Claude Code, Cursor, Windsurf, or Zed wire the whole thing up for you:
npx -y @uploadkitdev/mcpPackages
Package | Version | Description |
Framework-agnostic upload client (browser, Node, Edge) | ||
40+ premium React upload components | ||
Next.js App Router handler + Express/Hono adapters | ||
Official MCP server for AI coding assistants | ||
Scaffolder for new projects (Next, SvelteKit, Remix, Vite) |
Component highlights
UploadKit ships 40+ components across 7 categories:
Classics —
UploadButton,UploadDropzone,UploadModal,FileList,FilePreviewPremium dropzones — Glass (Vercel/Linear), Aurora (Apple), Terminal (Raycast), Brutal (Neo-brutalist), Minimal, Neon
Specialty —
UploadAvatar,UploadInlineChat(ChatGPT-style),UploadStepWizard(Stripe Checkout-style),UploadEnvelope(WeTransfer-style)Motion / Progress —
UploadProgressRadial,UploadProgressLiquid,UploadProgressOrbit,UploadCloudRain,UploadBento,UploadParticles,UploadDataStream(Matrix/Warp-style)Galleries —
UploadGalleryGrid,UploadPolaroid,UploadTimeline,UploadKanban,UploadStickyBoard
All are MIT-licensed, dark mode out of the box, themeable via CSS custom properties, and work with or without motion as a peer dep.
BYOS — Bring Your Own Storage
Use the same SDK against your own bucket — zero frontend changes, credentials stay server-side.
import { createUploadKitHandler, type FileRouter } from '@uploadkitdev/next';
import { createR2Storage } from '@uploadkitdev/next/byos';
const router = {
media: { maxFileSize: '8MB', maxFileCount: 4, allowedTypes: ['image/*'] },
} satisfies FileRouter;
export const { GET, POST } = createUploadKitHandler({
router,
storage: createR2Storage({
accountId: process.env.CLOUDFLARE_R2_ACCOUNT_ID!,
accessKeyId: process.env.CLOUDFLARE_R2_ACCESS_KEY_ID!,
secretAccessKey: process.env.CLOUDFLARE_R2_SECRET_ACCESS_KEY!,
bucket: process.env.CLOUDFLARE_R2_BUCKET!,
}),
});Supported providers: AWS S3 · Cloudflare R2 · Google Cloud Storage · Backblaze B2.
AI-native — MCP server
UploadKit ships an official Model Context Protocol server so Claude Code, Cursor, Windsurf, Zed, ChatGPT, and Claude.ai can generate UploadKit code with first-class knowledge of every component and scaffold.
Stdio (IDE clients):
npx -y @uploadkitdev/mcpRemote HTTP (ChatGPT / Claude.ai web):
https://api.uploadkit.dev/api/v1/mcpFull setup: docs.uploadkit.dev/docs/guides/mcp · Source: packages/mcp · Registry: io.github.drumst0ck/uploadkit
Monorepo layout
apps/
web Landing + pricing (uploadkit.dev)
docs Fumadocs site (docs.uploadkit.dev)
dashboard SaaS dashboard (app.uploadkit.dev)
api REST API + MCP remote endpoint (api.uploadkit.dev)
packages/
core @uploadkitdev/core
react @uploadkitdev/react
next @uploadkitdev/next
mcp @uploadkitdev/mcp (stdio MCP server)
mcp-core shared MCP tool surface (internal)
create-uploadkit-app scaffolder for new projects
db MongoDB models
emails React Email templates
shared types, errors, utilities
ui dashboard components
config shared tsconfig / eslint / tailwind baseTech stack
Next.js 16 · React 19 · Tailwind CSS v4 · TypeScript 5 · MongoDB + Mongoose · Cloudflare R2 · Auth.js v5 · Stripe · Resend + React Email · Fumadocs · Turborepo · pnpm · Changesets.
Status
Version 1.0 shipped. Actively maintained. Community welcome on Discord.
License
MIT © Drumst0ck and contributors.
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/drumst0ck/uploadkit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server