MadgicxMCP Docs

Claude Code

Connect Madgicx MCP servers to Claude Code CLI.

Claude Code

Claude Code is Anthropic's command-line interface for Claude. It supports MCP connections for integrating external tools and services.

Requirements

  • Claude Code installed
  • Node.js 18+
  • Terminal access
  • Anthropic account with Claude access

Installation

If you haven't installed Claude Code yet:

npm install -g @anthropic-ai/claude-code

Setup Instructions

Add each Madgicx MCP server you want to use as a separate connector. Run the command(s) for the server(s) you need:

Add the MCP Server(s)

claude /mcp add madgicx-facebook https://mcp.madgicx.com/mcp

Authorize in Browser

For each server you added, a browser window will open for OAuth authorization:

  1. Log in to your Madgicx account
  2. Select team — Choose which Madgicx team to connect
  3. Review permissions — Review the requested permissions
  4. Authorize — Click the "Authorize" button

After authorization, you'll be redirected back and can close the browser.

Verify Connection

Verify the connection was successful:

claude /mcp list

You should see madgicx-facebook and/or madgicx-google-ads in the list of configured MCP servers.

Using the Connection

Once connected, Claude Code can use Madgicx tools in your conversations. Start a conversation and ask:

What Madgicx team am I connected to?

MCP Commands

List Connections

claude /mcp list

Remove Connection

claude /mcp remove madgicx-facebook
claude /mcp remove madgicx-google-ads

Update Connection

To update or reconnect:

claude /mcp remove madgicx-facebook
claude /mcp add madgicx-facebook https://mcp.madgicx.com/mcp

Troubleshooting

Next Steps

On this page