Skip to content

Claude Code Integration

Claude Code can use Agent-Marketer's local MCP server over stdio. This is the supported path today; a Claude Code plugin/marketplace package is not currently shipped.

Requirements

  • Python 3.11+ and an environment with Agent-Marketer installed with MCP support: python -m pip install -e ".[mcp]".
  • Claude Code installed and able to execute the selected Python interpreter.
  • Repository access if you want Claude Code to read .agents/skills/ and project instructions.

Run the project's diagnostic from the repository root:

python -m agent_marketer.cli doctor

Add the MCP server

From the repository root, add a project-scoped server:

claude mcp add --transport stdio --scope project agent-marketer -- python -m agent_marketer.cli --workspace ./data serve --mode mcp

If the command is unavailable to Claude Code's process, use the full Python executable path after --. Check the saved project MCP configuration before sharing it; do not commit credential-bearing arguments or tokens. Restart/reload Claude Code's MCP connections as needed and confirm the server and tools are listed.

Use the tools and skills

The MCP server exposes skills_list, skills_resolve, seo_audit_landing_page, prospects_query, safety_validate_command, and reports_render_qahera. These have the same runtime behavior and safety boundaries as in Codex. Ask Claude Code to resolve a task to a skill, read that skill in the repository, then use tools only for supported operations.

The project skills currently live under .agents/skills/. MCP makes skill discovery available through tools/resources, but it does not automatically install them as Claude Code-native skills or slash commands. A future native plugin package should be a thin distribution adapter with versioned copies/links or generated manifests and compatibility checks; keep domain instructions canonical in this repository.

Safety and limitations

  • Local MCP operations default to read-only; report rendering writes a local artifact.
  • The advisory command validator does not replace Claude Code's permission system or shell sandbox.
  • This server does not grant live Google Ads, Meta Ads, or OpenAI Ads account access. Connect authorized external providers separately and follow their approval gates.
  • Keep tokens in local user configuration or an ignored .env, not in project MCP files or transcripts.

For host-selection rationale, see Coding Agent Integration Strategy. For tool behavior, see Codex Integration and Runtime SDK.