By the end of this page you will have a working MagicPost integration: an API key in hand, your chosen client connected, and your first successful request verified. Whether you want to automate LinkedIn posts through a natural-language conversation in Claude Desktop or call the REST API directly from your own scripts, the same token powers both paths.Documentation Index
Fetch the complete documentation index at: https://dev.magicpost.in/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Create an API key
Open Settings
Sign in to app.magicpost.in and navigate to Settings → API & MCP.
Create a key
Click Create a key, give it a descriptive name (for example,
Claude Desktop or My Script), and submit the form.Step 2: Choose your path
- MCP (LLM clients)
- REST API
Connect Claude Desktop to MagicPost using the MCP server so you can manage posts and analytics through natural-language prompts.
Open the config file
Open
~/Library/Application Support/Claude/claude_desktop_config.json on macOS, or the equivalent path on Windows or Linux.Add the MCP server
Paste the following block, replacing
mp_YOUR_TOKEN_HERE with your actual token (the create-key dialog has this snippet pre-filled):Claude Desktop communicates with MCP servers over stdio.
mcp-remote is a lightweight npm bridge that proxies stdio to HTTP, allowing Claude Desktop to reach remote MCP servers like MagicPost’s. It runs entirely on your machine and only forwards your requests — nothing else.Step 3: Try it
Once your client is connected, run one of these examples to confirm everything is working end to end.- MCP (Claude Desktop)
- REST API
In any Claude Desktop conversation, try prompts like:
- “List my scheduled posts on MagicPost”
- “Summarize my LinkedIn analytics for the last 30 days”
- “Create a draft: ‘My first post via Claude’”
- “Schedule post xyz for tomorrow at 14:00”
npx is available on your machine.Next steps
MCP Integration
Explore the full MCP server setup, available tools, and supported LLM clients.
API Reference
Browse every REST endpoint with interactive examples and response schemas.
Authentication
Learn how tokens work, how to rotate them, and how to scope permissions.
Errors & Limits
Understand error codes, rate limits, and which failures are safe to retry.