Anomalia MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Anomalia MCP ServerApprove all pending social posts for my brand and schedule them for this week."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Anomalia CLI — Social Media AI Automation CLI, MCP Server & Agent Skill
Automate your social media from the terminal. Anomalia is the social
media AI autopilot that plans, writes, designs and publishes posts, blog articles and SEO/GEO
audits on autopilot. This repository is its command-line client, MCP server
(Model Context Protocol — stdio + HTTP) and agent skill: everything you need to run social
media automation, content generation and approval workflows from a terminal or an AI agent.
This repository ships three ways to drive the same product (same OAuth, same API, no static tokens):
What | Who it’s for | |
CLI |
| Humans & scripts |
MCP | Model Context Protocol server ( | Cursor, Claude, other MCP hosts |
Skill | Agent Skill ( | Coding agents / skills.sh / |
You need an Anomalia account. This is a client, not a standalone tool: every call talks to the Anomalia API over HTTPS. Without an account there is nothing to drive.
With the Anomalia CLI you can automate social media posting, approve AI-generated content in one tap, edit a carousel slide by slide, turn a post into a video, run SEO and GEO audits, and manage your blog — from the terminal or from an AI agent like Cursor or Claude.
┌─────────────┐ ┌─────────────┐ ┌──────────────────┐
│ anomalia │ │ MCP host │ │ Agent + Skill │
│ CLI │ │ (Cursor…) │ │ (npx skills) │
└──────┬──────┘ └──────┬──────┘ └────────┬─────────┘
│ │ │
│ lib/api.ts + OAuth session │
└─────────────────┼───────────────────┘
▼
Anomalia /api/v1/*1. CLI
Install
Pick one:
Method | Command | Notes |
npm |
| Needs Node.js ≥ 20 |
Homebrew | see below | macOS / Linux, standalone binary |
Installer | see below | curl script → binary on PATH |
From source | see below | Needs Bun |
npm
npm install -g anomalia-cli
# or: pnpm add -g anomalia-cli / bun add -g anomalia-cli
anomalia loginHomebrew
brew tap andreabuttarelli/anomalia-cli https://github.com/andreabuttarelli/anomalia-cli
brew install anomalia
anomalia loginInstaller (standalone binary) — macOS arm64/x64 and Linux arm64/x64, no Node/Bun required:
curl -sSL https://raw.githubusercontent.com/andreabuttarelli/anomalia-cli/main/scripts/install.sh | bash
anomalia loginUpdate later with anomalia update, or npm install -g anomalia-cli@latest / brew upgrade anomalia depending on how you installed. More detail: docs/distribute.md.
Quick start
anomalia brands
anomalia dashboard my-brand
anomalia content my-brand --status pending_user
anomalia approve my-brand --all
anomalia seo my-brand
anomalia web my-brand generate --topic "..."
anomalia ads my-brand --remix
anomalia ai my-brand --message "..." --pipeEvery command takes the brand slug as its first argument. anomalia --help lists them all;
anomalia <command> --help details one. Short id prefixes from tables are accepted; ambiguous
prefixes error instead of guessing.
Area | Commands |
Posts |
|
Planning |
|
Brand |
|
Web |
|
Ads |
|
Insight |
|
AI |
|
Full command dump: llms.txt · more docs: docs/
From source
Requires Bun.
git clone https://github.com/andreabuttarelli/anomalia-cli.git
cd anomalia-cli
bun install
bun run cli.ts --helpRelated MCP server: automate-idea-to-social-mcp
2. MCP server
Same tools and OAuth as the CLI. Docs: docs/mcp.md.
bun run mcp # stdio (local hosts)
bun run mcp:http # http://localhost:8787/mcpRemote: https://mcp.anomalia.so/mcp (Bearer JWT required). Health: GET /health.
Cursor — stdio
{
"mcpServers": {
"anomalia": {
"command": "bun",
"args": ["run", "/ABS/PATH/to/anomalia-cli/mcp/stdio.ts"]
}
}
}Cursor — HTTP
{
"mcpServers": {
"anomalia": { "url": "https://mcp.anomalia.so/mcp" }
}
}If Connect fails with Not an https or loopback URI: cursor://…, your Cursor build is still
using the custom-scheme OAuth callback — use stdio above, update Cursor (loopback
http://localhost:8787/callback), or see docs/mcp.md.
Local stdio:
logintool or existinganomalia login→~/.config/anomalia/session.jsonRemote HTTP:
Authorization: Bearer <access_token>(401 without it is expected)
3. Agent Skill & plugins
Publishable Agent Skill for Cursor, Claude, skills.sh, and friends:
npx skills add andreabuttarelli/anomalia-cli --skill anomalia
# or
bash scripts/install-skill.sh --projectPackage: skills/anomalia/ → plugins/anomalia/skills/anomalia/ (SKILL.md + references/ for MCP setup, tool map, CLI).
When the skill is active, agents prefer MCP tools if connected, otherwise the CLI.
Claude Code / Codex marketplace plugin
Same skill + remote MCP, packaged for plugin install and directory submit:
# Claude Code
/plugin marketplace add andreabuttarelli/anomalia-cli
/plugin install anomalia@anomalia
# Codex
codex plugin marketplace add andreabuttarelli/anomalia-cliSubmit checklist (Claude community directory + OpenAI Plugins Directory): docs/plugins.md.
Configuration
Zero config by default → https://anomalia.so, with automatic fallback to
http://localhost:5173 when a local app is answering.
Variable | Purpose |
| Point CLI/MCP at another Anomalia instance |
| (MCP HTTP / Vercel) Errors → Sentry |
| (MCP HTTP / Vercel) Rows in |
| Public MCP base URL for OAuth metadata |
Session: ~/.config/anomalia/session.json. anomalia logout clears it. No secrets are embedded
in this repo or the binary.
Architecture
Thin HTTPS client — no DB access, no coupling to the Anomalia server codebase:
CLI ──┐
MCP ──┼── HTTPS ──► /api/v1/* ──► Anomalia
Skill ─┘ (guides agents to CLI or MCP)CLI commands:
commands/+cli.tsHTTP client:
lib/api.tsonlyMCP:
mcp/(reuseslib/api.ts, registers tools)Skill / plugins:
skills/anomalia/→plugins/anomalia/(Claude + Codex marketplace manifests)
Development
bun install
bun run cli.ts --help
bun run mcp
bun run mcp:http
bun run typecheck
bun test
bun run build # binary → dist/
bun run build:all # all four targets
bun run vercel-build # MCP bundles under mcp/api/Releases: push a v* tag → CI typechecks, tests, cross-compiles binaries + .tar.gz +
SHA256SUMS.txt on the GitHub Release, bumps Formula/anomalia.rb,
and publishes anomalia-cli to npm when NPM_TOKEN is set. Details: docs/distribute.md.
License
Copyright © 2026 Andrea Buttarelli.
Licensed under the GNU Affero General Public License v3.0 or later. You may use, modify and redistribute it, but derivative works must stay open source under the same license, must keep the copyright notice, and must state their changes — including when offered to users over a network.
This server cannot be installed
Maintenance
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create, schedule, and manage social media posts across 10 platforms via a unified API.
- AlicenseNot gradedqualityDmaintenanceEnables publishing content to multiple social media platforms (YouTube, Twitter, Facebook, Instagram, TikTok, Reddit, Blog) through automation agents, with task management and system validation.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables posting and managing content across 13+ social media platforms with scheduling, analytics, AI generation, and approval workflows through natural language.2MIT
- FlicenseNot gradedqualityCmaintenanceAutomates marketing workflows across Google Ads, Meta Ads, and GA4, enabling content generation, scheduling, and analytics via a multi-agent pipeline.
Related MCP Connectors
AI marketing agent for Google Ads, Meta, GA4, TikTok, LinkedIn, Shopify, HubSpot and more.
Connect any AI agent to 11+ social platforms: schedule, publish & track posts via hosted MCP.
Agent-operated social media for agencies — www.aidelly.ai. Post, approve, analyze on 11 networks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/andreabuttarelli/anomalia-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server