mcp integrations/claude code
claude code
connect antwork to claude code via mcp. create, schedule, and manage social media posts directly from your terminal.
// prerequisites
- • Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
- • An antwork account with at least one workspace
// step 1 — add mcp server
run the following command to add antwork as a remote mcp server:
terminal
claude mcp add antwork --transport http https://api.antwork.io/mcp
// step 2 — authenticate
launch claude code and run the /mcp command to authenticate with antwork:
claude code
> /mcp
your browser will open for the oauth consent screen. log in if needed, then approve the permissions. once approved, claude code stores your tokens and refreshes them automatically.
// step 3 — verify
verify it works by asking claude to list your connected accounts:
claude code
> list my connected social accounts using antwork.list_social_accounts [done] found 3 accounts: 1. linkedin (iker gonzalez) 2. x (@antwork_io) 3. instagram (@antwork.io)
// usage
once configured, you can use antwork tools in claude code. ask claude to create posts, check analytics, or schedule content directly from your terminal.