npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sirius-framework-mcp

v1.0.1

Published

MCP server that gives AI assistants deep understanding of Sirius framework patterns

Downloads

33

Readme

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

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 |

Related repositories

  • 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