Skip to main content

Overview

Magic’s documentation is designed to work with AI tools. You can connect your preferred AI assistant directly to our docs, enabling contextual searches, code generation, and troubleshooting without leaving your development environment.

Chat With Any Page

Every page in our docs includes options to open the content directly in an AI assistant. Look for the contextual menu on any page to:
  • Copy the page as Markdown
  • Open in Claude or ChatGPT with the page preloaded as context
  • Send to Cursor or VS Code for inline assistance
This is useful when you want to ask follow-up questions about a specific API endpoint, debug an integration issue, or generate code based on a recipe.

Connect the MCP Server

Magic exposes a Model Context Protocol (MCP) server that lets AI tools search our documentation directly. Once connected, your AI assistant can find relevant docs pages on its own — no copy-pasting required.
1

Add the connector

  1. Open Claude Settings > Connectors
  2. Select Add custom connector
  3. Enter the following:
    • Name: Magic Docs
    • URL: https://docs.magic.link/mcp
  4. Select Add
2

Use it in a conversation

  1. In any Claude conversation, select the attachments button (plus icon)
  2. Select Magic Docs
  3. Ask a question — Claude will search the docs automatically

LLM Feed Files

If you’re building custom AI integrations or want to index Magic’s docs in your own tools, we expose two continuously updated files:
FileURLBest for
llms.txtdocs.magic.link/llms.txtQuick context — a concise index of all docs pages
llms-full.txtdocs.magic.link/llms-full.txtFull indexing — includes all page content
These can be ingested into custom GPTs, RAG pipelines, or any LLM application that benefits from up-to-date Magic documentation.