Skip to main content
Glama

sirius-framework-mcp

MCP server for the Sirius framework.

Gives AI assistants deep understanding of Sirius framework patterns. Works with any MCP-compatible client (Claude Code, Cursor, Windsurf, Cline, etc.). Provides pattern documentation (resources), codebase introspection (tools), and guided workflows (prompts).

Installation

From npm

npm install -g sirius-framework-mcp

From source

git clone <this-repo>
cd sirius-framework-mcp
npm install
npm run build
npm link

Related MCP server: clearskies MCP Server

Uninstall

npm uninstall -g sirius-framework-mcp

If installed from source, use npm unlink -g sirius-framework-mcp instead.

Then remove the sirius entry from your MCP client configuration.

Setup

The server uses stdio transport and auto-detects which Sirius module you're working in from pom.xml. Register it as a stdio MCP server in your client of choice:

{
  "mcpServers": {
    "sirius": {
      "command": "sirius-framework-mcp"
    }
  }
}

Or without a global install, using npx:

{
  "mcpServers": {
    "sirius": {
      "command": "npx",
      "args": ["-y", "sirius-framework-mcp"]
    }
  }
}

Refer to your MCP client's documentation for the exact configuration file location and format.

Try it out

After setup, start a new session and try:

"Read the sirius entity-triple pattern and explain it"

"List all entities in this project"

"Scaffold a new entity called Invoice with fields amount and dueDate"

"I want to add a new background job called InvoiceSync"

"My entity isn't being picked up — help me debug"

Workspace detection

The server reads pom.xml in the working directory to determine which Sirius layer the project belongs to, then exposes only the relevant resources:

Detected artifact

Layer

Resources exposed

sirius-kernel

kernel

kernel only

sirius-web

web

kernel, web

sirius-db

db

kernel, db

sirius-biz

biz

kernel, web, db, biz

Any other project

app

all layers

Multi-module Maven projects are detected automatically.

Available resources

24 pattern documentation files organized by framework layer.

Kernel (5)

URI

Description

sirius://kernel/di

Dependency injection: @Part, @Parts, @Register, @ConfigValue

sirius://kernel/lifecycle

Lifecycle interfaces: Startable, Stoppable, Killable

sirius://kernel/async

Async primitives: Tasks, CallContext, Promise, DelayLine

sirius://kernel/config

Configuration: HOCON, file precedence, framework flags

sirius://kernel/commons

Utilities: NLS, Strings, Value, Amount, Explain

Web (3)

URI

Description

sirius://web/controllers

Controllers: BasicController, @Routed, @Permission

sirius://web/services

API services: @PublicService, @InternalService

sirius://web/templates

Pasta/Tagliatelle template engine

DB (5)

URI

Description

sirius://db/entities

Entity base classes: SQLEntity, MongoEntity, ElasticEntity

sirius://db/composites

Composite pattern: reusable embedded data structures

sirius://db/refs

Entity references: SQLEntityRef, MongoRef, OnDelete

sirius://db/queries

Query API: OMA, Mango, Elastic query patterns

sirius://db/mixing

Mixing ORM: descriptors, properties, schema management

Biz (11)

URI

Description

sirius://biz/entity-triple

Entity triple: interface + SQL + Mongo pattern

sirius://biz/biz-controller

BizController: tenant-aware CRUD controllers

sirius://biz/jobs

JobFactory hierarchy: batch, report, interactive jobs

sirius://biz/processes

Process monitoring: logging, progress, output

sirius://biz/importer

Data import: handlers, events, batch operations

sirius://biz/tenants

Multi-tenancy: Tenant, UserAccount, permissions

sirius://biz/storage

Object storage: Layer1/Layer2/Layer3

sirius://biz/analytics

Metrics, execution flags, performance data

sirius://biz/codelists

Code lists, lookup tables, LookupValue

sirius://biz/isenguard

Rate limiting, @RateLimited, firewall

sirius://biz/testing

Kotlin/JUnit 5 testing with SiriusExtension

Available tools

Introspection (6)

Tool

Description

list-entities

Scan for entity classes (SQL, Mongo, Elastic)

list-framework-flags

Parse component-*.conf for sirius.frameworks flags

list-routes

Extract @Routed endpoints from controllers

list-jobs

Find JobFactory implementations

list-composites

Find Composite subclasses

list-controllers

Find controller classes with their routes

Scaffolding (5)

Tool

Description

scaffold-entity

Generate entity triple (interface + JDBC + Mongo)

scaffold-job

Generate a background job skeleton

scaffold-test

Generate a Kotlin test class

scaffold-composite

Generate a Composite class

scaffold-controller

Generate a BizController with routes

Available prompts

Prompt

Description

add-entity

Guided: add a new entity with the triple pattern

add-job

Guided: add a background job

add-feature

Guided: add a full feature module (entity + controller + template + test)

add-import-handler

Guided: add a data import handler

debug-framework-flags

Guided: diagnose entity/service not being picked up

  • sirius-kernel — Core framework (DI, config, commons)

  • sirius-web — Web framework (HTTP, controllers, templates)

  • sirius-db — Database abstraction (Mixing ORM)

  • sirius-biz — Business framework (tenants, jobs, storage)

License

Apache 2.0

Available Tools

11 tools
list-compositesC

Find Composite classes in the workspace

Inputs: path.

list-controllersC

Find controller classes (BizController, BasicController) in the workspace

Inputs: path.

list-entitiesC

Scan the workspace for Sirius entity classes (SQL, Mongo, Elastic)

Inputs: path.

list-framework-flagsC

Parse component-*.conf files for sirius.frameworks flags

Inputs: path.

list-jobsC

Find JobFactory implementations in the workspace

Inputs: path.

list-routesC

Extract @Routed endpoints from controller classes

Inputs: path, prefix.

scaffold-compositeC

Generate boilerplate code for a Sirius Composite data class

Inputs: name (required), package (required), fields.

scaffold-controllerC

Generate boilerplate code for a Sirius BizController

Inputs: name (required), package (required), entity, permissions.

scaffold-entityC

Generate boilerplate code for a Sirius entity (interface + implementations)

Inputs: name (required), package (required), fields, mixins, +2 more.

scaffold-jobC

Generate boilerplate code for a Sirius background job

Inputs: name (required), package (required), type, framework, +1 more.

scaffold-testC

Generate boilerplate code for a Sirius Kotlin test class

Inputs: name (required), package (required), setupParts.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 11 tools

    Disambiguation4/5

    The list-* vs scaffold-* split is a clean read/write dichotomy, and within each group most tools target a distinct Sirius artifact (entity, job, controller, composite, route, framework flags). Minor overlap exists between list-entities and list-composites (both find class types) and between list-routes and list-controllers (routes are extracted from controllers), which could cause occasional misselection, but descriptions clarify the target enough.

    Naming Consistency5/5

    Every tool follows a strict verb_noun kebab-case pattern with only two verbs (list-*, scaffold-*) consistently prepended to the artifact name. No mixed conventions or stray casing.

    Tool Count5/5

    11 tools is well within the ideal range and each tool maps to a concrete artifact type in the framework. The symmetry between the six discovery tools and five generation tools feels earned rather than padded.

    Completeness4/5

    The list/scaffold pairing gives good coverage of the discovery-then-generate workflow across entities, jobs, controllers, composites, and tests. A few gaps remain: routes and framework flags are discoverable but not scaffoldable, and there is no list-tests counterpart to scaffold-test, but these are minor and workable.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI assistants with access to AegisX UI components, CRUD generator commands, development patterns, and API contract discovery tools. It enables developers to browse component documentation, build generation commands, and test authenticated API endpoints through the Model Context Protocol.
      71 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Provides AI assistants with tools for code generation, documentation, and project scaffolding when building applications with the clearskies Python framework.
      54
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables developers using agentic AI tools to scaffold applications and integration cards, retrieve API references and best-practice guidelines, inspect project metadata, validate manifests, and detect and fix framework-specific code issues.
      547 npm
      MIT