شعار Omnispindle

Omnispindle

مؤسسة
MadnessEngineering

A comprehensive MCP-based todo management system, that serves as a central nervous system for Madness Interactive, a multi-project task coordination workshop.

الناشرMadnessEngineering
المستودعOmnispindle
اللغةPython
التفريعات
4
النجوم
10
الأدوات المتاحة
0
نوع نقل البياناتstdio
الفئات
الروابط
  • اربط الأدوات بسير عمل الذكاء الاصطناعي

    يتيح Omnispindle إمكانات MCP التي يمكن لتطبيقات الذكاء الاصطناعي العميلة ووكلاء الذكاء الاصطناعي المتوافقة استخدامها.

  • الأدوات المتاحة: 0

    تصفّح الإجراءات القابلة للاستدعاء أدناه، بما في ذلك أسماؤها وأوصافها عندما يوفّرها الخادم.

  • إعدادات جاهزة للنسخ

    استخدم أمثلة إعداد التثبيت لتهيئة هذا الخادم في تطبيق MCP العميل المفضّل لديك.

  • مؤشرات الاهتمام بالمصدر المفتوح

    النجوم: 10، والنسخ المتفرعة: 4 في المستودع المرتبط.

Omnispindle

A todo system that went wonderfully, intentionally wrong.

Omnispindle is the coordination spine of the Madness Interactive ecosystem — a Python FastMCP server with 38 tools that lets AI agents manage tasks, capture knowledge, coordinate sessions, track epic goals (quests), and navigate the whole workshop from a single, standardized interface. PyPI packaged. Auth0 integrated. Runs anywhere a MCP config lives.

It started as "let's do todos properly." It became the central nervous system for a multi-project AI-assisted development lab. Both of these things are fine.


What it actually does

Todo management — the boring part that enables everything else. Agents can create, query, update, complete, and audit tasks across any project in the ecosystem with full metadata, priority, target agent tracking, and change detection.

Knowledge capture — lessons learned get stored with language, topic, and tag metadata. Searchable by regex, text, or vector embedding. The institutional memory doesn't evaporate when the conversation ends.

Session tracking — AI work sessions in Inventorium can be forked, spawned, linked to todos, and traced through a full genealogy tree. Every thread of work has a parent and a lineage.

Semantic search — find_relevant uses vector embeddings to surface todos and lessons by meaning, not just keywords. get_context_bundle gives an agent the full project picture in one call.


Installation

bash
pip install omnispindle

CLI commands available after install:

  • omnispindle-stdio — MCP stdio server for Claude Desktop
  • omnispindle / omnispindle-server — HTTP web server for authenticated endpoints

Claude Desktop (zero config)

Add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "omnispindle": {
      "command": "omnispindle-stdio",
      "env": {
        "OMNISPINDLE_MODE": "api",
        "OMNISPINDLE_TOOL_LOADOUT": "basic",
        "MCP_USER_EMAIL": "you@example.com"
      }
    }
  }
}

First tool call opens your browser for Auth0 login. Token saves locally. That's it.

Development

bash
git clone https://github.com/DanEdens/Omnispindle.git
cd Omnispindle
pip install -r requirements.txt
python -m src.Omnispindle.stdio_server

Tools

Full loadout is 38 tools across 7 categories. Control what's available — and your agent's token budget — with OMNISPINDLE_TOOL_LOADOUT.

Todo Management (9 tools)

ToolWhat it does
add_todoCreate a task with project, priority, target agent, notes, and metadata
query_todosMongoDB-style filter queries with projection, limit, offset, since change detection, and graph_root for dependency subgraph traversal
update_todoPatch any fields; metadata is deep-merged. Supports $push/$pull on array fields (e.g. metadata.blockers) for dependency linking
delete_todoRemove a task
get_todoFetch a single task by ID
complete_todoStage for review with optional comment; writes to audit log. Sets status to review, not completed
list_todos_by_statusFilter by status: pending initial in_progress blocked review completed
search_todosTokenized multi-word fuzzy text search
list_project_todosRecent tasks for a specific project

Knowledge / Lessons (7 tools)

ToolWhat it does
add_lessonCapture a lesson with language, topic, and tags
get_lessonFetch by ID
update_lessonPatch lesson content or metadata
delete_lessonRemove
search_lessonsText search across lesson fields
grep_lessonsRegex pattern search
list_lessonsBrowse all lessons, with brief mode for summaries

Inventorium Sessions (8 tools)

ToolWhat it does
inventorium_sessions_listList sessions, optionally filtered by project
inventorium_sessions_getFetch a session by ID
inventorium_sessions_createStart a new AI work session
inventorium_sessions_spawnSpawn a child session from a parent, linked to a todo
inventorium_sessions_forkFork a session with optional message inheritance
inventorium_sessions_genealogyFull ancestor/descendant trace for a session
inventorium_sessions_treeVisual session tree for a project
inventorium_todos_link_sessionLink a todo to a session

Quest System (5 tools)

ToolWhat it does
create_questCreate an epic goal container (Quest → Chains → Todos). Use instead of add_todo for multi-step objectives
check_questProgress report: % complete, per-chain status, next actions, blockers. Agent orientation tool
list_questsList quests filtered by status/project
link_questAdd an existing todo to a quest chain retroactively (creates chain on demand)
update_questUpdate quest fields: name, description, status, success_criteria, metadata

Context & Search (4 tools)

ToolWhat it does
get_context_bundleOne call: recent todos, lessons, session state, project stats for an agent's working context
find_relevantSemantic similarity search across todos and lessons. Returns honest empty when nothing clears the relevance threshold — no regex fallback noise
preflight_ragPre-task lessons check: call before starting work, classifies past solutions vs pitfalls
write_agent_journal / read_agent_journalPersistent agent journal — leave notes readable by other agents for cross-agent coordination

System / Admin (5 tools)

ToolWhat it does
query_todo_logsAudit log queries: filter by type, project, date range
list_projectsEnumerate known projects from filesystem
explain / add_explanationTopic explanation system: persistent knowledge cards
point_out_obviousLogs an observation with configurable sarcasm. Useful for marking known issues during automated runs.

Custom Code (1 tool)

ToolWhat it does
bring_your_ownInject a Python, JavaScript, or shell function as a live MCP tool at runtime

Tool Loadouts

Set OMNISPINDLE_TOOL_LOADOUT to control what's registered:

LoadoutToolsUse case
full38Everything
basic15Core todo CRUD + context + quest system
minimal4Add, query, get, mark complete
lessons8Knowledge management only
admin16Admin tasks + session management
write_only6Create/update/delete only
read_only16Query/get only
lightweight13Token-optimized core
agent_preflight6Session startup: context bundle, RAG check, todo ops
refine13Todo enrichment: audit + fill missing metadata

Operation Modes

Set via OMNISPINDLE_MODE:

  • api — HTTP calls to madnessinteractive.cc/api. No local database needed. Best for cloud-native or multi-user setups.
  • hybrid (default) — API-first with MongoDB fallback. Reliable when the network isn't.
  • local — Direct MongoDB connections only. Good for offline development.
  • auto — Benchmarks both and picks the faster one.

Authentication

Zero-config device flow: On first tool call, a browser window opens for Auth0 login. Token is saved locally. All subsequent calls are authenticated without any configuration.

Manual token setup (optional):

bash
python -m src.Omnispindle.token_exchange

Environment variables:

  • MADNESS_AUTH_TOKEN or AUTH0_TOKEN — JWT from Auth0 device flow
  • MCP_USER_EMAIL — required for per-user data isolation
  • MADNESS_API_URL — override API base (default: https://madnessinteractive.cc/api)

All data is scoped per user at the database level. Your todos stay yours.


Configuration

bash
# Operation mode
OMNISPINDLE_MODE=hybrid          # api | hybrid | local | auto
OMNISPINDLE_TOOL_LOADOUT=basic   # see loadouts table above
OMNISPINDLE_FALLBACK_ENABLED=true
OMNISPINDLE_VALIDATE_PROJECT_NAMES=false  # optional: enable slower DB-backed project validation

# Authentication
MADNESS_AUTH_TOKEN=<jwt>
MCP_USER_EMAIL=you@example.com

# Local/hybrid database
MONGODB_URI=mongodb://localhost:27017
MONGODB_DB=swarmonomicon

# Real-time events
MQTT_HOST=localhost
MQTT_PORT=1883

Ecosystem

Omnispindle is the AI interface layer. The rest of the workshop:

Inventorium — React web dashboard and SwarmDesk 3D spatial workspace. Humans use this. It reads todos and sessions via the REST API directly — not MCP, which is strictly for AI agents. If you're clicking buttons, you're in Inventorium. If you're an agent, you're calling MCP tools.

cartogomancy — JS/TS codebase analysis tool (npm install -g @madnessengineering/cartogomancy). Point it at any JavaScript or TypeScript project; get back a rich JSON map of structure, complexity, git blame, and cross-references. Feed that map to SwarmDesk and your codebase becomes a 3D city you can walk through.

SwarmDesk — The 3D spatial visualization layer inside Inventorium. Todos, sessions, and cartogomancy code maps rendered as explorable architecture. Your project as a place, not a list.

MadnessVR — Quest 2 VR version of SwarmDesk. Put on the headset, walk through your codebase as actual geometry. This one is on the roadmap, not the release notes. But the plan exists and it's detailed.

MadQTT — Live terminal TUI for the workshop's MQTT + MongoDB event stream (pip install madqtt). Agent sessions, tool calls, and failures from every machine, readable in real time instead of a firehose.

Madness Desktop — GitHub Desktop fork wired into the workshop: composable git-hook loadouts, MQTT commit events shared across machines, and live workshop todos inside the git client.

Swarmonomicon — The core database layer. MongoDB, swarmonomicon database. Everything persistent lives here.

The architecture rule

UI (Inventorium, forms, dashboards) → REST API → Database
AI agents (Claude, any MCP client) → MCP tools → Backend → Database

Never route UI through MCP. Never call the REST API directly from an AI agent. The separation is intentional and load-bearing.


Development

bash
# Tests
pytest tests/

# Stdio server (Claude Desktop)
python -m src.Omnispindle.stdio_server

# Web server
python -m src.Omnispindle

# Check tool count
python -c "from src.Omnispindle.tool_loadouts import _BASE_LOADOUTS; print(len(_BASE_LOADOUTS['full']), 'tools in full loadout')"

PyPI Publishing

bash
# Build and check
python -m build
python -m twine check dist/*

# Publish
python -m twine upload dist/*

Privacy & Security

This repo contains Auth0 configs and infrastructure-as-code for our ecosystem. It's open source for learning and forking — not for deploying as-is.

If you're actually running this for your own setup:

  1. Fork it
  2. Replace all auth providers and credentials
  3. Point it at your own domain and database
  4. Review tool permissions (we're permissive by default)

This is a working system for our lab. For yours, make it yours.


Philosophy

Working now:

  • Todo management for AI agents — robust, audited, per-user
  • Persistent knowledge capture across projects
  • Session tracking with full lineage
  • Semantic search via vector embeddings
  • Zero-config Auth0 that doesn't require a setup guide

Coming:

  • MadnessVR: SwarmDesk on Quest 2
  • Teaching prompt engineering through Terraria-style inventory mechanics
  • cartogomancy → SwarmDesk → VR as one continuous pipeline

We write careful code. We're not afraid to push the boundaries when it's practical.


"Over-engineered? Maybe. Under-ambitious? Never."

استخدم MCP الخاص بـ Omnispindle مع نماذج ذكاء اصطناعي متعددة

يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا بمجرد توصيل Omnispindle، يمكنك استخدامه مع نماذج ذكاء اصطناعي مختلفة في TypingMind بدلًا من إعداده لكل نموذج على حدة. يعمل تكامل MCP هذا محليًا عبر موصل MCP الخاص بـ TypingMind على جهازك.

دليل الإعداد لاستخدام الموصل المحلي

استخدم هذا الخيار عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات أو موارد خاصة على جهاز الكمبيوتر لديك.

1

فتح إعدادات MCP

في TypingMind، انتقل إلى «الإعدادات»، ثم «الإعدادات المتقدمة»، ثم «بروتوكول سياق النموذج»، واختر «إعداد الموصل».

  1. افتح TypingMind في متصفحك.
  2. انقر على أيقونة الإعدادات.
  3. انتقل إلى الإعدادات المتقدمة.
  4. افتح قسم بروتوكول سياق النموذج.
  5. انقر على «إعداد الموصل» واختر «هذا الجهاز».
شاشة إعداد موصل MCP في TypingMind مع تحديد «هذا الجهاز»
2

تنفيذ أمر الموصل

اختر «هذا الجهاز»، وانسخ الأمر من TypingMind وشغّله في Terminal. أبقِ العملية قيد التشغيل أثناء استخدام MCP.

  1. انسخ أمر الإعداد الذي يعرضه TypingMind.
  2. افتح Terminal على macOS أو Windows Terminal على Windows.
  3. الصق الأمر ونفّذه.
  4. وافق على تثبيت الحزمة إذا طلب منك Terminal تأكيد المتابعة.
  5. أبقِ نافذة Terminal والعملية التي تعمل فيها قيد التشغيل أثناء استخدام أدوات MCP.
3

أضف Omnispindle كخادم

عندما تظهر حالة الموصل «جاهز»، انقر على «تعديل الخوادم» والصق إعدادات خادم MCP.

  1. انتظر حتى تظهر حالة الموصل «جاهز».
  2. انقر على «تعديل الخوادم».
  3. الصق إعدادات خادم MCP الخاص بـ Omnispindle.
  4. احفظ قائمة الخوادم.
  5. حدّث الحالة إذا أردت التأكد من أن الموصل لا يزال جاهزًا.
إعدادات MCP في TypingMind تعرض خادمًا نشطًا وزر «تعديل الخوادم»
{
  "mcpServers": {
    "omnispindle": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

استخدام الاتصال مع نماذج مختلفة

احفظ قائمة الخوادم، وافتح «الإضافات»، وفعّل أدوات MCP الخاصة بـ Omnispindle، ثم اختر أي نموذج ذكاء اصطناعي مدعوم في TypingMind واستخدم الأدوات في المحادثة أو أسندها إلى وكيل ذكاء اصطناعي.

  1. افتح صفحة الإضافات في TypingMind.
  2. فعّل أدوات MCP الخاصة بـ Omnispindle.
  3. ابدأ محادثة واختر نموذج الذكاء الاصطناعي الذي تريد استخدامه.
  4. استخدم أدوات MCP في المحادثة أو عيّنها لوكيل ذكاء اصطناعي.
  5. انتقل إلى نموذج ذكاء اصطناعي آخر عند الحاجة دون إعادة الاتصال بـ MCP.
محادثة في TypingMind تستخدم أدوات MCP المفعّلة مع نموذج ذكاء اصطناعي محدّد
هل يمكنك استخدام Omnispindle لمساعدتي في هذه المهمة؟
Omnispindle
بالتأكيد. قرأته.
إليك ما وجدته باستخدام Omnispindle.

الأسئلة الشائعة

ما استخدامات خادم MCP Omnispindle؟

Omnispindle هو خادم MCP يتيح لتطبيقات الذكاء الاصطناعي المتوافقة الاتصال بأدوات ومصادر سياق خارجية. في TypingMind، يمكنك إضافة خادم MCP هذا مرة واحدة وإتاحة أدواته في مساحة عملك للذكاء الاصطناعي.

هل يمكنني استخدام خادم MCP Omnispindle مع نماذج ذكاء اصطناعي متعددة في TypingMind؟

نعم. يربط TypingMind أدوات MCP على مستوى مساحة العمل، لذا يمكنك استخدام Omnispindle مع نماذج ذكاء اصطناعي مختلفة مثل Claude أو ChatGPT أو Gemini أو غيرها من النماذج التي أعددتها في TypingMind، دون إعداد خادم MCP لكل نموذج على حدة.

لماذا تستخدم موصل MCP Omnispindle مع TypingMind؟

يُعد TypingMind من أفضل واجهات المحادثة مع النماذج اللغوية الكبيرة، إذ يجمع نماذج ذكاء اصطناعي متعددة ومطالبات وإضافات ووكلاء ذكاء اصطناعي ومفاتيح API وأدوات MCP في مساحة عمل واحدة. بعد توصيل Omnispindle، يمكنك استخدام أدوات MCP الخاصة به عبر نماذجك المفضلة مع الحفاظ على سير عمل محادثاتك منظمًا في TypingMind.

كيف أوصّل خادم MCP Omnispindle بـ TypingMind؟

يعمل Omnispindle عبر موصل MCP المحلي في TypingMind. هذا هو الخيار الأنسب عندما يحتاج خادم MCP إلى الوصول إلى ملفات محلية أو تطبيقات سطح المكتب أو أدوات سطر الأوامر أو موارد خاصة على حاسوبك.

ما الأدوات التي يوفّرها خادم MCP Omnispindle في TypingMind؟

يتيح Omnispindle إمكانات MCP يمكنك تفعيلها من صفحة الإضافات في TypingMind واستخدامها في المحادثات أو تعيينها لوكلاء ذكاء اصطناعي.

هل أحتاج إلى مشاركة مفاتيح API الخاصة بي مع TypingMind لاستخدام خادم MCP Omnispindle؟

لا. يعطي TypingMind الأولوية للعمل المحلي ويُبقي مزوّدي النماذج ومفاتيح API والمطالبات وإعدادات MCP تحت تحكمك. إذا كان Omnispindle يتطلب مصادقة، فأضف الترويسات أو إعدادات OAuth أو الإعدادات المحلية المطلوبة لخادم MCP هذا عند إنشاء الاتصال.

خوادم MCP ذات صلة

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇