Antigravity Campaigns MCP Server
Provides tools for managing a SQLite-based campaign state machine, including creating, listing, updating, and deleting tasks, daily strikes, subtasks, and taxonomy tags, running health/integrity audits, and executing unrestricted custom SQL queries against the local SQLite database.
Click on "Deploy 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., "@Antigravity Campaigns MCP Serveraudit campaign health and show overdue tasks"
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.
βοΈ Antigravity Campaigns Plugin
High-Speed Strategic Task Engine, Tactical Strike Coordinator & Double-Entry Treasury HUD for AI Agents
π The Story Behind Campaigns & The Sovereign Ecosystem
Heavyweight productivity platforms and complex enterprise managers (like Stratagem) offer deep features, but come at a steep operational cost: heavy system resource consumption, slow database latencies, and clunky interfaces.
Campaigns was born from a simple realization:
You don't need gigabytes of electron bloat or cloud vendor lock-in to achieve peak personal execution. You need a rock-solid, sub-millisecond local relational state machine that your AI assistant can drive effortlessly.
The Campaigns architecture provides a unified ecosystem across three specialized tools:
π₯οΈ Campaigns Desktop Command Center: High-speed, local-first Svelte 5 & Electron desktop UI for human operators.
π€ Antigravity Campaigns Plugin: Autonomous AI FastMCP server operating directly on the exact same SQLite database.
βοΈ Stratagem Command Matrix: Deep cinematic macro-strategic life planning and institutional analysis matrix.
Related MCP server: DataBook
πΊοΈ Dual Terminology Bridge: Everyday Productivity vs. Tactical Command
Whether you think like a software project manager or a tactical operational commander, Campaigns speaks your language:
Everyday Productivity Concept | Tactical Command Term | Description & Purpose |
Project / Strategic Goal |
| Multi-week outcome transitioning through |
Daily Action Item |
| High-priority micro-task scheduled for today. When finished, it is |
Milestone / Checkpoint |
| Ordered checkpoint in a project tree ( |
Focus Domain |
| 4 life pillars: Leadership ( |
Cash Flow / Ledger |
| Inflow ( |
Contacts & Clients |
| Individuals and companies with live calculated net credit/debit balances. |
ποΈ System Architecture
Deep Developer Documentation: For complete relational DDL schemas, ER diagrams, strict state machines, and token minimization protocols, see docs/ARCHITECTURE.md.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β GOOGLE ANTIGRAVITY AGENT / MCP HOST β
β (Antigravity CLI Β· Claude Desktop Β· Cursor) β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β JSON-RPC (stdio)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ANTIGRAVITY CAMPAIGNS PLUGIN (mcp/server.py) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π‘οΈ Strict Whitelist & Type Sanitizer (Foreign Key Enforcement) β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ€
β π Project Lifecycle Engine β π― Daily Strike Coordinator β
β π³ Subtask Checkpoint Hierarchy β π·οΈ Uppercase Taxonomy & Tag Indexer β
β π° Double-Entry Treasury Ledger β π₯ Counterparty Directory Dossier β
β π©Ί Health & Integrity Auditor β β‘ Parameterized SQL Query Engine β
ββββββββββββββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββββββββββββ
β SQLite WAL Driver (Sub-millisecond)
βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CAMPAIGNS SQLITE DATABASE β
β `%APPDATA%\Campaigns\Database\campaigns.sqlite` β
β [ Tasks Β· Subtasks Β· Strikes Β· Tags Β· Counterparties Β· Treasury ] β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ‘ AI-First Architecture: "Minimum Token Consumption, Maximum Speed"
Autonomous agents face tight context windows and round-trip latency. Campaigns is architected to minimize tokens and maximize speed:
π Compact List Payloads (80β85% Token Reduction):
campaigns_list_tasksdefaults toinclude_description: false, omitting multiline text to preserve LLM context. Setinclude_description: trueonly when inspecting a single task runbook.π³ 1-Shot Multi-Subtask Inception: Pass
subtasks: ["Milestone 1", "Milestone 2"]directly tocampaigns_create_task. The server creates the project and its entire milestone tree in a single atomic transactionβturning 5 tool calls into 1.π― 1-Shot Foreign-Key Resolution: Pass
task_titledirectly tocampaigns_create_strike. The server dynamically resolves foreign keys in SQLite, eliminating redundant search calls.β‘ Flat Top-Level Mutation Shortcuts: Update arguments directly at the top level without verbose nested
fields: {}payloads.π Deterministic Relative Date Engine: Pass natural expressions like
today,tomorrow,+3d,+2w,+1m,eom,monday, orfriday. The server parses exact calendar dates natively.π° Horizon-Segmented Runway Telemetry:
campaigns_get_treasury_dashboarddelivers immediate 7-day and 30-day cash flow runways in a single pass.
π οΈ Tool Catalog (20 Native Operations)
Category | MCP Tool Name | Description |
π©Ί Health & HUD |
| Live overview of active projects, pending daily strikes, and Minister distribution. |
| Full database integrity scan: detects orphaned records, overdue deadlines, and stale tasks. | |
π Projects / Tasks |
| Filter projects by state ( |
| Deep relational inspection returning subtask trees, linked strikes, and metadata. | |
| Create a new project with priority, deadline, optional atomic subtasks, and briefing. | |
| Update project fields (state transitions, deadlines, stages, descriptions) with referential safety. | |
| Cascading removal of a project and its linked subtasks and strikes. | |
π― Daily Strikes |
| List daily action items by execution date ( |
| Create a daily action directive assigned to a Minister with 1-shot task name resolution. | |
| Mark strike | |
| Remove a strike from the schedule. | |
π³ Milestones & Tags |
| Create, update status ( |
| Attach or detach taxonomy tags ( | |
π° Treasury & Cash Flow |
| 1-shot financial summary: payables due, receivables due, 7d/30d horizons, and net balance. |
| Query obligations by flow type ( | |
| Create obligations, record partial payments ( | |
π₯ Counterparties |
| Contact directory with live computed net balances, total receivables, and payables. |
| Complete 360Β° counterparty relationship profile and chronological payment history. | |
| Register or update individual and business profiles. | |
β‘ SQL Engine |
| Execute parameterized SQL queries and transactions with automatic rollback safety. |
π Quickstart & Setup
Pathway A: Google Antigravity Plugin (Recommended)
Clone or copy into your local Antigravity plugins directory:
git clone https://github.com/karansinghverma979/antigravity-campaigns-plugin.git ~/.gemini/config/plugins/campaigns-pluginAntigravity automatically detects
plugin.json, loads thecampaignsskill (skills/campaigns/SKILL.md), and registers the autonomous agent (agents/campaigns.md).
Pathway B: Universal FastMCP Server (Claude Desktop, Cursor, Zed)
Install dependencies:
pip install mcp>=1.0.0Initialize database:
python mcp/init_db.pyAdd to your client config:
For Antigravity mcp_config.json:
{
"mcpServers": {
"campaigns-mcp": {
"command": "python",
"args": [
"C:\\Users\\<YourUsername>\\.gemini\\config\\plugins\\campaigns-plugin\\mcp\\server.py"
],
"disabled": false
}
}
}For Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"campaigns": {
"command": "python",
"args": [
"/path/to/antigravity-campaigns-plugin/mcp/server.py"
]
}
}
}ποΈ Database Lifecycle, Invariants & Real-Time GUI Synchronization
1. Zero-Precondition Auto-Creation
If campaigns.sqlite does not exist on your computer, the MCP server automatically provisions the entire database on cold boot:
Auto-creates the database directory (
%APPDATA%\Campaigns\Database\on Windows,~/.local/share/campaigns/on Linux/macOS, or viaCAMPAIGNS_DB_PATH).Auto-executes the canonical DDL schema, provisioning all 6 tables (
Tasks,Tags,Subtasks,Strikes,Counterparties,Treasury) and 13 indexes in<1ms.Zero manual SQL scripts or pre-configuration needed.
2. Strict Schema Rules & Allowed Entries
All agent actions are enforced against canonical business invariants:
Zero-Time Calendar Dates: Strictly
DD-MM-YYYY(e.g.20-09-2026). Timestamps, hours/minutes, and ISO strings are strictly banned. Natural dates (today,tomorrow,+3d,monday,eom) auto-resolve toDD-MM-YYYY.Task Priorities: Strictly 3 levels:
'High','Medium','Low'.State & Stage Matrix:
Arsenalβ['RawIntel', 'Strategizing']Executionβ['Active', 'Executing']Breachβ['Overdue', 'Breach']Archiveβ['Victory', 'Aborted']
Strike Statuses: Capitalized case:
'Standby','Engaged','Neutralized','Aborted','Pending','Template','Undated'. Finished strikes are saved strictly as'Neutralized'.Subtasks: Capitalized case (
'Initiated','Doing','Completed','Failed'). Creation date is strictlycreated_at.Treasury: Symmetrical
'Payable'and'Receivable'flows with linked counterparties.Ministers: 4 focal disciplines:
'Adhipati','Bhakta','Antaryami','Jigyasu'.Tags: Strictly single-word
UPPERCASEwith underscores (e.g.MOTOR_WINDING).
3. Real-Time Desktop GUI Synchronization (Ctrl+R)
If you run the Campaigns Electron Desktop Application alongside Antigravity:
Both systems execute concurrently on SQLite WAL (Write-Ahead Log) without file locking.
When AI agents mutate projects, strikes, or cash flow via MCP, press
Ctrl+Rin the Campaigns Desktop App (or select CAMPAIGNS Menu β Hard Reload (Ctrl+R)) to immediately rehydrate all UI stores from disk.
π Security, Privacy & OpenSSF Standards
Zero Machine Path Leaks: Fully supports
CAMPAIGNS_DB_PATHenvironment variable with dynamic fallback across Windows (%APPDATA%) and Linux/macOS (~/.local/share/).Data Isolation: Database files (
*.sqlite,*.db) are permanently quarantined outside git tracking.OpenSSF Hardened Workflows: All GitHub Actions workflows declare
permissions: contents: readand pin dependencies to immutable 40-character commit SHAs.Vulnerability Disclosure: Governed by standard SECURITY.md guidelines.
Maintained by Karan Singh Verma Β· Released under the MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
- DazbenchOAuthapp.dazbench
Task management your AI agents can actually run. One line becomes a context-ready task over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage tasks with full lifecycle support including due dates, priorities, tags, subtasks, and project lists via 19 SQLite-backed MCP tools.4-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage and query SQLite databases through MCP tools, supporting CRUD operations, schema management, and saved views.4 npmMIT

operations-pulseofficial
AlicenseNot gradedqualityAmaintenanceEnables AI assistants to run local-first operations checks, review evidence, and manage durable tickets in a SQLite-backed ledger through self-describing MCP tools.MIT- AlicenseNot gradedqualityAmaintenanceEnables AI agents to manage projects, roadmaps, periods, and tasks through MCP tools, backed by a local SQLite database with schema validation.MIT