ReAI MCP Server
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., "@ReAI MCP Server search v10v11 mappings for GL transaction"
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.
ReAI MCP Server
MCP (Model Context Protocol) server that provides Kiro Web access to ReAI's core capabilities for FSM report migration analysis.
Tools
Tool | Description |
| Fuzzy search 967+ S3/Lawson to FSM report mappings with navigation paths |
| List all FSM modules with report counts |
| Database overview: totals, module breakdown |
| Fuzzy search 617+ report migration patterns from 11 clients |
| Get standardization opportunities (multi-client patterns) |
| Pattern registry statistics by process and complexity |
| Generate Columnar LPL code package (.form, .list, .field, .csv) |
Related MCP server: Code-Oracle
Installation
For Kiro Web (recommended)
Add to Kiro Web MCP settings:
{
"mcpServers": {
"reai": {
"command": "npx",
"args": ["-y", "github:van0219/reai-mcp#main"],
"env": {
"REAI_DATA_DIR": "/path/to/reai_web/data"
}
}
}
}For Local Development
cd reai-mcp
npm install
npm startEnvironment Variables
Variable | Description | Default |
| Directory containing SQLite databases |
|
| Full path to v10v11_mapping.db |
|
| Full path to bre100_registry.db |
|
Note: You typically don't need to set any env vars. The databases are bundled. Only set REAI_DATA_DIR if you want to point to a different copy (e.g., the Hub's reai_web/data/ for live writes).
Database Requirements
The server bundles two SQLite database files in its data/ folder — they ship with the package automatically:
v10v11_mapping.db (352KB) — S3/Lawson to FSM report mapping
LawsonReportMappingtable: id, report_code, report_name, status, module, descriptionFSMNavigationtable: id, report_id, navigation_path, path_order
bre100_registry.db (283KB) — BRE-100 pattern registry
patternstable: id, report_name, business_process, fsm_classification, navigation, future_state, tool_selection, timeline_estimate, complexity, comments, utilization_count, client_projects, created_at, updated_at
No additional setup needed — npx github:van0219/reai-mcp#main includes everything.
Updating the Databases
The databases grow as new clients are onboarded and patterns are discovered. To update:
From the Hub (Kiro IDE)
The Hub's native ReAI tool writes directly to reai_web/data/*.db via better-sqlite3. When patterns are added/edited in the Hub UI, those databases are the source of truth.
To sync updates to the MCP server:
Copy the updated databases from the Hub repo to the MCP repo:
cp reai_web/data/v10v11_mapping.db reai-mcp/data/ cp reai_web/data/bre100_registry.db reai-mcp/data/Commit and push:
cd reai-mcp git add data/ git commit -m "Update databases (new patterns/mappings)" git pushNew Kiro Web sessions auto-fetch the latest
#main— no config change needed.
From Kiro Web
Ask Kiro: "Copy the latest ReAI databases from the Hub repo to the reai-mcp repo and push them."
Kiro Web can clone both repos, copy the .db files from fsm_innovationhub_landingpage/reai_web/data/ to reai-mcp/data/, and push.
Database Locations Summary
Context | Location | Writable |
Hub (desktop) |
| Yes (via UI + IPC handlers) |
MCP server (Kiro Web) |
| Read-only (query only) |
Override | Set | Depends on path |
Example Usage
Search V10-V11 Mappings
Use reai_search_v10v11 with query "GL Transaction" to find how S3 General Ledger reports map to FSM.Search BRE-100 Patterns
Use reai_search_bre100 with query "asset depreciation" to find known migration patterns.Generate Columnar Report
Use reai_generate_columnar with:
- report_name: "GLTransactionDetail"
- business_class: "GLTransactionDetail"
- fields: [{"name": "Company"}, {"name": "TransactionAmount"}, {"name": "PostingDate"}]Author
FSM Innovation Hub — Infor Manila FSM Team
Available Tools
7 toolsreai_bre100_high_valueB
Get high-value BRE-100 patterns (used by multiple clients). These represent standardization opportunities — reports that appear across many implementations and should use consistent FSM solutions.
Inputs: min_utilization.
reai_bre100_statsA
Get BRE-100 pattern registry statistics: total patterns, breakdown by business process and complexity.
Inputs: no named parameters.
reai_generate_columnarB
Generate Columnar LPL code package for FSM. Produces 4 files: .form (filter form), .list (columnar list with charts), .field (custom derived fields), and .csv (replication set import). Provide the report name, business class, and field definitions.
Inputs: fields (required), report_name (required), business_class (required).
reai_search_bre100A
Search the BRE-100 pattern registry for report migration patterns. Each pattern includes: business process, FSM classification, navigation path, future state recommendation, tool selection, timeline estimate, complexity rating, and client project history. The registry contains 617+ patterns from 11 client implementations.
Inputs: query (required), limit, threshold.
reai_search_v10v11A
Search the V10-V11 mapping database for S3/Lawson to FSM report migration paths. Returns report codes, names, modules, statuses, and FSM navigation paths. Use this to find how legacy S3/Lawson reports map to FSM (CloudSuite Financials). The database contains 967+ mappings across 20+ modules.
Inputs: query (required), limit, module, threshold.
reai_v10v11_modulesB
List all FSM modules in the V10-V11 mapping database with report counts. Useful for understanding what modules are covered and how many reports each has.
Inputs: no named parameters.
reai_v10v11_statsA
Get V10-V11 mapping database statistics: total reports, total navigation paths, module breakdown. Good for getting an overview of the migration knowledge base.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct function: generation, BRE-100 search/stats/high-value, and V10-V11 search/stats/modules. No two tools overlap in purpose.
All tools share the 'reai_' prefix, but naming patterns vary: some are verb-first (generate_columnar, search_v10v11), while others are noun-first (bre100_high_value, v10v11_stats). This mixed convention is readable but not fully consistent.
With 7 tools, the set is well-scoped. Each tool addresses a clear need within the migration knowledge domain, with no redundancy or bloat.
The toolkit covers both BRE-100 and V10-V11 knowledge bases with search, stats, and specialized outputs, plus a generation tool. Minor gaps exist (e.g., no direct 'get single pattern' tool), but the search tools likely return full details.
Maintenance
Related MCP Connectors
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
Autopilot MCP server for GEO analyses, reports, content, audits, memories and agents.
MCP server for FCA Handbook compliance analysis with verbatim citations.
MCP server for Support & Service Management
Related MCP Servers
- AlicenseAqualityDmaintenanceThis MCP server enables database migration between heterogeneous systems (Oracle, PostgreSQL, SQL Server, Netezza to PostgreSQL or SQL Server) through AI assistants by providing tools for command preview, execution, validation, and workflow suggestions.6MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for automated architectural mapping, security vulnerability detection, ML asset tracking, and code metrics in local repositories.-
- FlicenseNot gradedqualityDmaintenanceMCP server for managing Microsoft Fabric Reports with lifecycle management, filtering, and content manipulation.8-
- AlicenseAqualityDmaintenanceAn MCP server that reads test reports and provides regression analysis tools for comparing runs, identifying regressions, fixes, and persistent failures.3MIT