Documentation
CodeThis is a developer paste and code-sharing service with rich markdown, 100+ languages, and AI-first integrations. These docs walk you through creating your first paste, using MDC components, managing sharing and expiry, and integrating with the REST API and MCP server.
Getting Started
Getting Started
Create your first paste on CodeThis — no signup needed. Anonymous pastes last 7 days; free accounts keep them permanently.
Features
Markdown & MDC
Write docs with rich markdown and MDC custom components — alerts, callouts, steps, code groups, tabs. Rendered beautifully by default.
Sharing & Expiration
Share code with expiration, password protection, and public or private visibility. Control who can see your pastes and for how long.
Developer
API Reference
REST API to create and manage pastes programmatically. Bearer auth, JSON responses, works with cURL, fetch, or any HTTP client.
MCP Server
MCP server for Claude, Cursor, and other AI assistants. Let your AI create and retrieve CodeThis pastes directly from chat.