Sirius Framework MCP
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., "@Sirius Framework MCP Scaffold a new Invoice entity with amount and dueDate fields"
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.
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-mcpFrom source
git clone <this-repo>
cd sirius-framework-mcp
npm install
npm run build
npm linkRelated MCP server: clearskies MCP Server
Uninstall
npm uninstall -g sirius-framework-mcpIf 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 |
| kernel | kernel only |
| web | kernel, web |
| db | kernel, db |
| 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 |
| Dependency injection: @Part, @Parts, @Register, @ConfigValue |
| Lifecycle interfaces: Startable, Stoppable, Killable |
| Async primitives: Tasks, CallContext, Promise, DelayLine |
| Configuration: HOCON, file precedence, framework flags |
| Utilities: NLS, Strings, Value, Amount, Explain |
Web (3)
URI | Description |
| Controllers: BasicController, @Routed, @Permission |
| API services: @PublicService, @InternalService |
| Pasta/Tagliatelle template engine |
DB (5)
URI | Description |
| Entity base classes: SQLEntity, MongoEntity, ElasticEntity |
| Composite pattern: reusable embedded data structures |
| Entity references: SQLEntityRef, MongoRef, OnDelete |
| Query API: OMA, Mango, Elastic query patterns |
| Mixing ORM: descriptors, properties, schema management |
Biz (11)
URI | Description |
| Entity triple: interface + SQL + Mongo pattern |
| BizController: tenant-aware CRUD controllers |
| JobFactory hierarchy: batch, report, interactive jobs |
| Process monitoring: logging, progress, output |
| Data import: handlers, events, batch operations |
| Multi-tenancy: Tenant, UserAccount, permissions |
| Object storage: Layer1/Layer2/Layer3 |
| Metrics, execution flags, performance data |
| Code lists, lookup tables, LookupValue |
| Rate limiting, @RateLimited, firewall |
| Kotlin/JUnit 5 testing with SiriusExtension |
Available tools
Introspection (6)
Tool | Description |
| Scan for entity classes (SQL, Mongo, Elastic) |
| Parse component-*.conf for sirius.frameworks flags |
| Extract @Routed endpoints from controllers |
| Find JobFactory implementations |
| Find Composite subclasses |
| Find controller classes with their routes |
Scaffolding (5)
Tool | Description |
| Generate entity triple (interface + JDBC + Mongo) |
| Generate a background job skeleton |
| Generate a Kotlin test class |
| Generate a Composite class |
| Generate a BizController with routes |
Available prompts
Prompt | Description |
| Guided: add a new entity with the triple pattern |
| Guided: add a background job |
| Guided: add a full feature module (entity + controller + template + test) |
| Guided: add a data import handler |
| 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
Available Tools
11 toolslist-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
Scored across 11 tools
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.
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.
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.
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
Related MCP Connectors
Gives AI agents direct access to your Sanity projects and guidance for working with them
Official Duck Framework MCP server for AI-assisted development and project scaffolding.
Build, validate, test-run and publish AIOS workflows from Claude Code, Codex, Cursor or VS Code.
Your Aurentia workspace — projects, CRM, tasks, deliverables — in Claude, Cursor or any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 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 npmMIT
- AlicenseBqualityBmaintenanceProvides AI assistants with tools for code generation, documentation, and project scaffolding when building applications with the clearskies Python framework.54MIT
- AlicenseNot gradedqualityAmaintenanceEnables 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 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables agentic AI tools to scaffold UI5 projects, retrieve UI5 API references and best practices, and detect and fix UI5-specific code issues through linter and manifest validation.547 npmMIT