MCP SAPUI5 Server
The MCP SAPUI5 Server is a specialized Model Context Protocol server for SAPUI5/Fiori development in JavaScript, offering 67 modular tools across the following areas:
UI5 Project Analysis & Code Generation
Analyze project configuration (
ui5.yaml,manifest.json,package.json) to detect version, models, routing, and namespaceGenerate controllers (with lifecycle hooks/JSDoc), XML fragments, formatter modules, view-controller event logic, and full end-to-end features (view/controller/fragment/routing/i18n) with dry-run support
i18n & Internationalization Extract UI literals, detect missing/unused keys, and apply fixes via a safe preview/patch flow
Performance, Security & Validation
Analyze UI5 XML/JS performance with actionable recommendations
Security-check UI5 apps (XSS, unsafe HTML, dynamic code execution) and JavaScript (eval, command injection, prototype pollution)
Validate UI5 code structure, version compatibility, OData usage, and MVC separation
OData Integration
Analyze OData V2/V4 metadata from XML, file, URL, or service root
Validate UI5 OData bindings across manifest/XML/JS
Scaffold OData-driven UI5 features from service metadata
JavaScript Utilities Generate JS/TS functions with JSDoc, refactor to modern syntax, and lint with ESLint-style static checks
File & Project Operations
Safely read, search, write (with preview/hash verification), apply, and rollback patches within a sandboxed project root; sync manifest.json; run consolidated quality gates
Git Workflows Audit worktree state, analyze diffs, suggest tests, generate commit messages/PR descriptions, detect commit smells, trace change ownership, produce release notes, branch hygiene reports, and merge readiness plans
Agent & Skill Management (AI/MLOps) Scaffold, validate, recommend, materialize, save, list, apply, rank, and promote reusable agent packs and project skills; record execution feedback to update ranking metrics
MCP Project Lifecycle Audit, upgrade, and migrate MCP-managed artifacts to the latest layout with dry-run/rollback; collect legacy project intake, analyze baselines, build AI context indexes, and generate health/metrics reports
Documentation Search Search the official SAPUI5 SDK and MDN with caching support
Safety & Observability
Sandboxed file access, path traversal protection, Zod-based input/output validation, centralized error handling, structured telemetry, and policy enforcement via .codex/mcp/policies/agent-policy.json
Offers capabilities for generating, refactoring, linting, and performing security checks on JavaScript code within SAPUI5 application projects.
Provides specialized tools for SAPUI5 and Fiori development, including project analysis, generation of controllers and fragments, OData metadata analysis, and version compatibility validation.
Supports code generation and development workflows for TypeScript integrated into SAPUI5 and JavaScript project environments.
Provides tools for generating and parsing XML-based SAPUI5 views and fragments.
Click on "Install 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., "@MCP SAPUI5 ServerGenerate a new controller for the Detail view"
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.
Servidor MCP SAPUI5
Servidor MCP especializado para desarrollo SAPUI5/Fiori en JavaScript, con herramientas modulares para analisis de proyectos, generacion de codigo, refactorizacion, validacion y consulta de documentacion.
Arquitectura
src/
index.js
server/
mcpServer.js
toolRegistry.js
tools/
agents/
recommendProjectAgents.js
materializeRecommendedAgents.js
scaffoldProjectAgents.js
validateProjectAgents.js
saveAgentPack.js
listAgentPacks.js
applyAgentPack.js
refreshProjectContextDocs.js
recordAgentExecutionFeedback.js
rankAgentPacks.js
promoteAgentPack.js
auditProjectMcpState.js
upgradeProjectMcp.js
ensureProjectMcpCurrent.js
collectLegacyProjectIntake.js
analyzeLegacyProjectBaseline.js
buildAiContextIndex.js
prepareLegacyProjectForAi.js
scaffoldProjectSkills.js
validateProjectSkills.js
recordSkillExecutionFeedback.js
rankProjectSkills.js
ui5/
catalogs/
ui5ComponentFitRules.js
ui5SymbolCatalog.js
generateController.js
generateFragment.js
generateFormatter.js
generateViewLogic.js
generateFeature.js
manageI18n.js
analyzePerformance.js
analyzeODataMetadata.js
validateUi5Code.js
validateUi5VersionCompatibility.js
validateUi5ODataUsage.js
scaffoldUi5ODataFeature.js
securityCheckUi5App.js
javascript/
generateFunction.js
refactorCode.js
lintCode.js
securityCheck.js
project/
analyzeProject.js
auditGitWorktreeState.js
analyzeGitDiff.js
suggestTestsFromGitDiff.js
generateCommitMessageFromDiff.js
prepareSafeCommit.js
riskReviewFromDiff.js
generatePrDescription.js
branchHygieneReport.js
conflictPrecheck.js
traceChangeOwnership.js
smartStageChanges.js
detectCommitSmells.js
releaseNotesFromCommits.js
mergeReadinessReport.js
mergeActionPlan.js
readFile.js
searchFiles.js
analyzeCurrentFile.js
syncManifest.js
writePreview.js
applyPatch.js
rollbackPatch.js
runProjectQualityGate.js
mcpHealthReport.js
mcpMetricsDashboard.js
documentation/
cacheStore.js
searchUI5SDK.js
searchMDN.js
index.js
utils/
fileSystem.js
manifestSync.js
parser.js
refactor.js
patchWriter.js
agentPolicy.js
mcpProjectLayout.js
xmlParser.js
validator.js
logger.js
telemetry.js
git.js
errors.js
http.jsHerramientas MCP implementadas
analyze_ui5_projectgenerate_ui5_controllergenerate_ui5_fragmentgenerate_ui5_formattergenerate_ui5_view_logicgenerate_ui5_featuremanage_ui5_i18nanalyze_ui5_performanceread_project_filesearch_project_filesanalyze_current_filesync_manifest_jsonwrite_project_file_previewapply_project_patchrollback_project_patchrun_project_quality_gatemcp_health_reportsearch_ui5_sdksearch_mdngenerate_javascript_functionrefactor_javascript_codelint_javascript_codesecurity_check_javascriptvalidate_ui5_codevalidate_ui5_version_compatibilitysecurity_check_ui5_appanalyze_odata_metadatavalidate_ui5_odata_usagescaffold_ui5_odata_featurescaffold_project_agentsvalidate_project_agentsrecommend_project_agentsmaterialize_recommended_agentssave_agent_packlist_agent_packsapply_agent_packrefresh_project_context_docsrecord_agent_execution_feedbackrank_agent_packspromote_agent_packaudit_project_mcp_stateupgrade_project_mcpensure_project_mcp_currentcollect_legacy_project_intakeanalyze_legacy_project_baselinebuild_ai_context_indexprepare_legacy_project_for_aiscaffold_project_skillsvalidate_project_skillsrecord_skill_execution_feedbackrank_project_skillsaudit_git_worktree_stateanalyze_git_diffsuggest_tests_from_git_diffgenerate_commit_message_from_diffprepare_safe_commitrisk_review_from_diffgenerate_pr_descriptionbranch_hygiene_reportconflict_prechecktrace_change_ownershipsmart_stage_changesdetect_commit_smellsrelease_notes_from_commitsmerge_readiness_reportmerge_action_planmcp_metrics_dashboard
Todas las herramientas se descubren dinamicamente a traves del registro central en src/tools/index.js y se registran en MCP con registerTool(...), incluyendo:
namedescriptioninput schemaoutput schema
Fiabilidad y seguridad
Registro de herramientas compatible con JSON-RPC y MCP mediante
@modelcontextprotocol/sdk.Validacion estructurada de entrada y salida con
zod.Forma de salida determinista mediante
structuredContent.Acceso a archivos limitado en sandbox a la raiz del workspace.
Proteccion frente a path traversal (bloqueo de
..y de resoluciones fuera de la raiz).Respuestas de error estructuradas con
codeymessagelegibles por maquina.Registro centralizado para fallos de herramientas y eventos del ciclo de vida.
Aplicacion de politicas a nivel de proyecto mediante
.codex/mcp/policies/agent-policy.jsonen flujos de ranking, recomendacion y puerta de calidad.Verificacion automatica del proyecto MCP al arrancar el servidor (se desactiva con
MCP_AUTO_ENSURE_PROJECT=false).Preparacion automatica del contexto legacy al arrancar (se desactiva con
MCP_AUTO_PREPARE_CONTEXT=false).
Ejecucion
npm install
npm run startObservabilidad y logs
El servidor genera telemetria estructurada de uso y rendimiento para analizar la adopcion inicial y detectar cuellos de botella.
Eventos por sesion en
.mcp-runtime/logs/telemetry-events-<sessionId>.jsonlResumen agregado en
.mcp-runtime/logs/telemetry-session-latest.jsonVariables de entorno soportadas:
MCP_TELEMETRY_ENABLED=falseMCP_TELEMETRY_DIR=.mcp-runtime/logsMCP_TELEMETRY_SLOW_THRESHOLD_MS=2000
Ejemplos de llamadas a herramientas
analyze_ui5_project
{
"tool": "analyze_ui5_project",
"arguments": {}
}generate_ui5_controller
{
"tool": "generate_ui5_controller",
"arguments": {
"controllerName": "demo.app.controller.Main",
"methods": ["onPressSave", "onNavBack"]
}
}read_project_file
{
"tool": "read_project_file",
"arguments": {
"path": "webapp/controller/Main.controller.js"
}
}generate_javascript_function
{
"tool": "generate_javascript_function",
"arguments": {
"description": "crear un envoltorio fetch con cache",
"runtime": "node",
"typescript": false
}
}Configuracion MCP para Codex
{
"mcpServers": {
"sapui5": {
"command": "node",
"args": ["/ruta/absoluta/a/MCPServerUI5/src/index.js"]
}
}
}Documentacion ampliada
Consulta la documentacion para puesta en marcha y mantenimiento en docs/README.md.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/santiagosanmartinn/mcpui5server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server