Anubis 标志

Anubis

组织
Hive-Academy

Transform your AI agent from chaotic coder to intelligent workflow orchestrator with three powerful capabilities:

发布者Hive-Academy
代码仓库Anubis-MCP
语言TypeScript
复刻数
14
星标数
124
可用工具
0
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Anubis 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 124 个 Star 和 14 个 Fork。

𓂀𓁢𓋹𝔸ℕ𝕌𝔹𝕀𝕊𓋹𓁢𓂀 - Intelligent Guidance for AI Workflows

Transform your AI agent from chaotic coder to intelligent workflow orchestrator with three powerful capabilities:

Three Pillars of Intelligent Workflow Management

Intelligent Guidance | Seamless Transitions | Repository Pattern Architecture

Repository Pattern Type Safety Clean Architecture

Docker Pulls Docker Image Size Docker Image Version MCP Server

NPM Package • Docker Hub • Website


QUICK START

Option 1: NPX (Recommended)

Add to your MCP client config

json
{
  "mcpServers": {
    "anubis": {
      "command": "npx",
      "args": ["-y", "@hive-academy/anubis"],
      "env": {
        "PROJECT_ROOT": "C:\\path\\to\\projects"
      }
    }
  }
}

Option 2: Docker (MCP Configuration)

For Unix/Linux/macOS (mcp.json):

json
{
  "mcpServers": {
    "anubis": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "${PWD}:/app/workspace",
        "-v",
        ".anubis:/app/.anubis",
        "hiveacademy/anubis"
      ]
    }
  }
}

For Windows (mcp.json):

json
{
  "mcpServers": {
    "anubis": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-v",
        "C:\\path\\to\\your\\project:/app/workspace",
        "-v",
        "C:\\path\\to\\your\\project\\.anubis:/app/.anubis",
        "hiveacademy/anubis"
      ]
    }
  }
}

INITIALIZE CUSTOM-MODES ( AGENT RULES)

Once you get the mcp server running you need to initialize the rules (custom-modes) for the agent you are using

Supported Agents: cursor • copilot • roocode • kilocode

Step 1: Initialize Intelligent Guidance

Please initialize Anubis workflow rules for [your-agent-name] by calling the init_rules MCP tool

Step 2: Start Your Workflow

Begin a new workflow for [your-project] with Anubis guidance

ROOCODE Setup Example

Anubis MCP server Demo

1- install the MCP server:

{
  "mcpServers": {
    "anubis": {
      "command": "npx",
      "args": ["-y", "@hive-academy/anubis"],
      "env": {
        "PROJECT_ROOT": "C:\\path\\to\\projects"
      }
    }
  }
}

2- then make sure you are on Code mode and ask it to generate the custom Anubis mode for you

Please initialize Anubis workflow rules for roocode by calling the init_rules MCP tool

3- reload the window and you should see the custom mode in the modes dropdown list. activate it and ask it to create your first task

4- also if you don't have a memory bank files, ask it to generate them for you as the first task.

Cursor Setup Example

For Cursor users, here's a complete setup example:

  1. Install MCP Server in Cursor:
    • Open Cursor Settings (Cmd/Ctrl + ,)
    • Navigate to "Extensions" → "MCP Servers"
    • Add new server configuration:
    "anubis": {
      "command": "npx",
      "args": ["-y", "@hive-academy/anubis"],
       "env": {
         "PROJECT_ROOT": "C:\\path\\to\\projects"
       }
    }
  2. Initialize Cursor Rules
  • Make Sure the mcp server is working and active.
  • ask the agent to Please initialize Anubis workflow rules for cursor by calling the init_rules MCP tool.
  • you should see a file generated at .cursor/rules with the name 000-workflow-core.mdc
  • Head over to cursor rules and make sure the rules file are added and active.

Now You are ready to start you first task 🚀.

Hint: an important first step task is to generate memory-bank files Ask the agent to Please create a task to analyze codebase and generate memory-bank files (ProjectOverview.md, TechnicalArchitecture.md, and DeveloperGuide.md)

Claude Code Setup Example

  • To install the mcp server use this command claude mcp add anubis npx -y @hive-academy/anubis

    make sure you are on the poject root you want to install this into.

  • To make sure it's installed correctly run claude mcp list you should see a server with name anubis.

  • now you will need to do a very important step:

    • Download this rules markdown file Anubis Rules
    • Save it inside your project for example inside a folder names rules and file name anubis-rules.md.
    • Then open your CLAUDE.md file and add the following: Anubis Workflow @rules/anubis-rules.md

🏆 RECENT ACHIEVEMENTS (v1.2.11)

Repository Pattern Implementation Success 🎯

225% Completion Rate - Exceeded target goals by migrating 9 services (target: 4 services)

Successfully Migrated Services:

  • ✅ workflow-guidance.service.ts - Enhanced testability and maintainability
  • ✅ step-progress-tracker.service.ts - Clean state management
  • ✅ workflow-bootstrap.service.ts - Simplified bootstrap process
  • ✅ progress-calculator.service.ts - Pure business logic functions
  • ✅ step-query.service.ts - Flexible data access strategies
  • ✅ step-execution.service.ts - Reliable execution tracking
  • ✅ role-transition.service.ts - Consistent role management
  • ✅ execution-data-enricher.service.ts - Efficient data aggregation
  • ✅ workflow-guidance-mcp.service.ts - Standardized MCP operations

Technical Excellence Achievements 🚀

95% Type Safety - Enhanced TypeScript compliance across the entire codebase
Zero Compilation Errors - Complete elimination of TypeScript build issues
75% Maintainability Improvement - Cleaner separation of concerns through repository pattern

MCP Protocol Compliance 🤖

Multi-Agent Support - Comprehensive template system for:

  • ✅ Cursor IDE - Intelligent workflow guidance integration
  • ✅ GitHub Copilot - Enhanced AI assistant capabilities
  • ✅ RooCode - Streamlined development workflows
  • ✅ KiloCode - Advanced automation support

Performance Optimizations ⚡

Database Optimization - 434,176 → 421,888 bytes (optimized storage)
Enhanced Query Performance - Repository pattern enables efficient data access
Improved State Management - ExecutionId-based workflow tracking


🏗️ ARCHITECTURE EXCELLENCE

🏆 Recent Achievements (v1.2.11)

Repository Pattern Implementation Success

  • 225% Completion Rate: Exceeded target by migrating 9 services (target: 4)
  • 95% Type Safety: Enhanced TypeScript compliance across the codebase
  • Zero Compilation Errors: Complete elimination of TypeScript build issues
  • 75% Maintainability Improvement: Cleaner separation of concerns

Services Successfully Migrated

  • workflow-guidance.service.ts
  • step-progress-tracker.service.ts
  • workflow-bootstrap.service.ts
  • progress-calculator.service.ts
  • step-query.service.ts
  • step-execution.service.ts
  • role-transition.service.ts
  • execution-data-enricher.service.ts
  • workflow-guidance-mcp.service.ts

Technical Highlights

  • ✅ Zero TypeScript Compilation Errors - 95% type safety achieved
  • ✅ 9 Services Migrated - Exceeded 4 service target by 225%
  • ✅ 6 Repository Implementations - Complete data access abstraction layer
  • ✅ 100+ Repository Methods - Comprehensive database operations
  • ✅ SOLID Principles - Clean architecture with dependency injection
  • ✅ Transaction Support - Data integrity across complex operations

Services Utilizing Repository Pattern

typescript
// Example: Service with Repository Pattern
@Injectable()
export class WorkflowGuidanceService {
  constructor(
    @Inject('IProjectContextRepository')
    private readonly projectContextRepository: IProjectContextRepository,
    @Inject('IWorkflowRoleRepository')
    private readonly workflowRoleRepository: IWorkflowRoleRepository,
  ) {}

  // 75% maintenance reduction through abstraction layer
}

Repositories: WorkflowExecution • StepProgress • ProjectContext • WorkflowBootstrap • ProgressCalculation • WorkflowRole


🚀 Key Features

Repository Pattern Architecture

  • Clean Data Access Layer: Separated business logic from data persistence
  • Enhanced Testability: Mock-friendly repository interfaces
  • SOLID Principles Compliance: Dependency inversion and single responsibility
  • Type-Safe Operations: Comprehensive TypeScript coverage

MCP Protocol Compliance

  • Multi-Agent Support: Cursor, Copilot, RooCode, KiloCode templates
  • Standardized Interactions: Official Model Context Protocol implementation
  • Enhanced AI Integration: Optimized for LLM workflow automation

Performance Optimizations

  • Database Size Reduction: 434176 → 421888 bytes optimized storage
  • Enhanced Query Performance: Repository pattern enables efficient data access
  • Improved State Management: ExecutionId-based workflow tracking

CORE VALUE #1: INTELLIGENT GUIDANCE FOR AI AGENTS

Your AI agent receives step-by-step intelligent rules for every development task:

javascript
// Before Anubis: Chaotic, directionless coding
"Create a user authentication system" →  Where do I start?

// With Anubis: Intelligent guidance at every step
"Create a user authentication system" →
   Requirements Analysis (Researcher Role)
   System Architecture (Architect Role)
   Enhanced Implementation with Subtasks (Senior Dev Role)
   Quality Validation (Code Review Role)
   Delivery Preparation (Integration Engineer Role)

Benefits:

  • 30-50% faster development with structured workflows
  • 40-60% fewer defects through quality gates
  • 100% MCP-compliant guidance without execution

CORE VALUE #2: SEAMLESS TASK & ROLE TRANSITIONS

Never lose context when switching between roles or continuing tasks:

javascript
// Seamless context preservation across transitions
{
  "currentRole": "architect",
  "completedSteps": ["requirements", "design"],
  "context": {
    "decisions": ["JWT for auth", "PostgreSQL for storage"],
    "rationale": "Scalability and security requirements",
    "nextSteps": ["Enhanced Implementation with Subtasks by Senior Dev role"]
  }
}
// → Switch roles without losing any context!

Features:

  • Intelligent context preservation between role switches
  • Automatic task handoffs with full history
  • Role-based boundaries for focused expertise
  • Pause and resume workflows anytime

INTELLIGENT ROLE SYSTEM

RoleIntelligent PurposeKey Powers
Product ManagerStrategic OrchestrationProject setup, task creation, workflow management
ArchitectSystem DesignTechnical architecture, implementation planning
Senior DeveloperCode ManifestationHigh-quality implementation, testing
Code ReviewQuality GuardianSecurity validation, performance review, approval

REAL-WORLD EXAMPLE

javascript
// 1. Agent receives intelligent guidance
const guidance = await get_step_guidance({
  executionId: 'auth-system-123',
  roleId: 'senior-developer'
});

// 2. Anubis provides structured rules
{
  "guidance": {
    "step": "Implement JWT authentication",
    "approach": [
      "1. Create User model with Prisma",
      "2. Implement password hashing with bcrypt",
      "3. Create JWT token generation service",
      "4. Add authentication middleware"
    ],
    "qualityChecklist": [
      "SOLID principles applied",
      "Unit tests coverage > 80%",
      "Security best practices",
      "Error handling implemented"
    ],
    "context": {
      "previousDecisions": ["PostgreSQL", "JWT strategy"],
      "nextRole": "code-review"
    }
  }
}

// 3. Agent executes with confidence and reports
await report_step_completion({
  result: 'success',
  metrics: {
    filesCreated: 8,
    testsWritten: 15,
    coverage: 85
  }
});

// 4. Quality delivery complete! ✅

TECHNICAL EXCELLENCE

Enterprise-Grade Architecture:

  • Backend: NestJS v11 + TypeScript
  • Database: Prisma ORM + SQLite/PostgreSQL
  • MCP: @rekog/mcp-nest v1.5.2
  • Workflow Engine: Repository Pattern + DDD Architecture
  • Runtime: Node.js ≥18.0.0

Production Ready:

  • MCP-compliant architecture
  • Zero execution violations
  • 75% test coverage
  • Sub-50ms cached responses

📚 DOCUMENTATION


🤝 CONTRIBUTING

bash
# Development setup
npm install && npm run db:init && npm run start:dev

# Quality checks
npm run test && npm run lint

Standards: MCP compliance • SOLID principles • Domain-driven design • Evidence-based development


LICENSE

MIT License - see LICENSE file for details.


THE ANUBIS PROMISE

Intelligent Guidance ✨ Seamless Transitions ✨ Quality Delivery

Transform your AI workflows from chaotic to intelligent. Give your agents the rules of the ancients with modern MCP-compliant architecture.

Ready to ascend? Add Anubis to your MCP config now!

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "anubis": {
      "command": "npx",
      "args": [
        "-y",
        "@hive-academy/anubis"
      ],
      "env": {
        "PROJECT_ROOT": "C:\\path\\to\\projects"
      }
    }
  }
}

将 Anubis MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Anubis 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Anubis 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Anubis MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "anubis": {
      "command": "npx",
      "args": [
        "-y",
        "@hive-academy/anubis"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Anubis MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Anubis MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Anubis 帮我完成这项任务吗?
Anubis
当然。我已阅读。
以下是我使用 Anubis 得到的结果。

常见问题

Anubis MCP 服务器有什么用途?

Anubis 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Anubis MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Anubis,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Anubis MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Anubis 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Anubis MCP 连接到 TypingMind?

Anubis 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Anubis MCP 在 TypingMind 中提供哪些工具?

Anubis 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Anubis MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Anubis 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇