Skip to main content
Glama
Kotlin Multi-Agent Orchestrator

Kotlin Multi-Agent Orchestrator

by peter14l

Kotlin Multi-Agent Orchestrator (MCP Server & Skill)

Enterprise-grade Multi-Agent System & Model Context Protocol (MCP) Server for building production-ready Kotlin apps across Android (Jetpack Compose), Compose Multiplatform (CMP), Ktor Backend, Spring Boot, Dynamic Design/Architecture Document Blueprints, and Hackathon Fast Prototyping.


๐ŸŒŸ Complete Specialized Agent Roster (24 Tools)

๐Ÿ“‹ Project Specifications, Blueprints & Documentation Agents

Specialized Agent

MCP Tool Name

Description & Key Responsibilities

How to Call

๐Ÿ“‘ Blueprint & Spec Architect

scaffold_kotlin_project_docs

Generates dynamic, prompt-tailored PRD.md, architecture.md, rules.md, phases.md, design.md, and memory.md. Checks if files already exist before writing to prevent overwriting manual notes.

scaffold_kotlin_project_docs({ projectName: "MyApp", appDescription: "..." })

๐Ÿš€ Core Architecture & Engineering Agents

Specialized Agent

MCP Tool Name

Description & Key Responsibilities

How to Call

๐Ÿงฉ Prompt Architect

decompose_kotlin_prompt

Breaks down vague or complex user prompts into structured feature tickets (P0/P1/P2), Clean Architecture modules, and execution sprints.

decompose_kotlin_prompt({ prompt: "...", target: "android-compose" })

๐ŸŒ Dependency Researcher

research_kotlin_dependencies

Queries Maven Central, validates Kotlin 2.x K2 compiler compatibility, and generates standard gradle/libs.versions.toml Version Catalogs.

research_kotlin_dependencies({ target: "android-compose" })

๐ŸŽจ UI / UX Specialist

design_kotlin_ui

Generates modern Jetpack Compose / CMP screens with MVI Unidirectional Data Flow, Material 3 theming, domain layouts, and @PreviewLightDark previews.

design_kotlin_ui({ screenName: "DashboardScreen", targetPlatform: "android-compose" })

โš™๏ธ Backend Specialist

scaffold_kotlin_backend

Scaffolds high-throughput Ktor 3.x / Spring Boot Kotlin backend routes, services, Exposed/Room databases, and Koin DI modules.

scaffold_kotlin_backend({ domainName: "Wallet", backendType: "ktor" })

๐Ÿฉบ Compiler Doctor

diagnose_kotlin_errors

Diagnoses Kotlin compiler errors, Gradle sync/build failures, Compose recomposition issues, and Coroutine race conditions with code diffs.

diagnose_kotlin_errors({ errorMessage: "Compose Compiler requires Kotlin 1.9..." })

๐Ÿงช QA & Test Specialist

generate_and_run_tests

Generates Unit tests with MockK, Flow/State verification with Turbine, and Compose UI tests with createComposeRule.

generate_and_run_tests({ className: "WalletViewModel", testType: "viewmodel" })

๐Ÿ” Code Quality Auditor

audit_kotlin_codebase

Audits Kotlin source code for memory leaks, GlobalScope anti-patterns, and Compose performance bottlenecks.

audit_kotlin_codebase({ code: "...", fileType: "viewmodel" })

๐ŸŒ Cross-Bridge Specialist

generate_kotlin_api_bridge

Generates full-stack API contracts: Ktor server routes, KMP client, matching Dart DTOs, and OpenAPI 3.0 specs.

generate_kotlin_api_bridge({ serviceName: "Order", endpoints: [...] })

๐Ÿ“ฑ Native Platform Specialist

generate_kotlin_platform_config

Generates AndroidManifest.xml permissions, ProGuard/R8 keep rules, release keystore configs, and Compose Desktop packaging.

generate_kotlin_platform_config({ projectName: "MyApp", permissions: ["CAMERA"] })

๐Ÿš€ CI/CD & DevOps Engineer

generate_kotlin_cicd_pipeline

Generates production GitHub Actions workflows, Detekt static analysis steps, Dockerfile for Ktor backends, and Gradle Build Caching.

generate_kotlin_cicd_pipeline({ projectName: "MyApp", target: "android-compose" })

๐Ÿ“ธ Visual Snapshot Specialist

generate_compose_screenshot_tests

Generates Roborazzi emulator-less JVM screenshot test suites across Light/Dark modes and tablet viewports.

generate_compose_screenshot_tests({ screenName: "DashboardScreen", composableName: "DashboardContent" })

๐Ÿค– On-Device AI Specialist

scaffold_kotlin_ai_module

Scaffolds Google GenAI Kotlin SDK / MediaPipe on-device LLM inference modules with Flow streaming and ViewModel state integration.

scaffold_kotlin_ai_module({ featureName: "ChatAssistant", provider: "google-genai" })

๐Ÿ” Security & Crypto Auditor

audit_kotlin_security

Audits Kotlin code for secret leaks, scaffolds AndroidX EncryptedSharedPreferences (MasterKey AES256-GCM), and BiometricPrompt.

audit_kotlin_security({ codeSnippet: "...", enableBiometrics: true })

๐Ÿ’พ Database Architect

scaffold_kotlin_database

Scaffolds Android Room 2.7+ (KSP) database with entities, DAOs returning Coroutine Flow streams, and AutoMigration strategies.

scaffold_kotlin_database({ databaseName: "Crypto", entities: [...] })

๐ŸŒ Localization (i18n) Specialist

generate_kotlin_localization

Generates Android strings.xml resource bundles (values, values-es, values-ar for RTL) and Jetpack Compose AppStrings helpers.

generate_kotlin_localization({ supportedLocales: ["en", "es", "ar"], stringKeys: {...} })

๐Ÿ“Š Observability & Analytics Specialist

scaffold_kotlin_observability

Scaffolds Sentry/Firebase Crashlytics crash reporting, type-safe analytics event loggers, and OkHttp network latency interceptors.

scaffold_kotlin_observability({ provider: "sentry", customEventNames: ["token_swapped"] })

๐Ÿ”— Deep Linking & Push Specialist

configure_kotlin_deep_links

Configures Android App Links intent-filters in AndroidManifest.xml, assetlinks.json, Jetpack Compose Navigation deep links, and FCM routing.

configure_kotlin_deep_links({ customScheme: "myapp", domainHost: "app.example.com", routes: [...] })

โ™ฟ Accessibility (a11y) Auditor

audit_kotlin_accessibility

Audits Jetpack Compose code against WCAG 2.1 AA guidelines, checks Modifier.semantics, contentDescription, and generates AccessibleInteractiveBox.

audit_kotlin_accessibility({ codeSnippet: "Icon(Icons.Default.Add, contentDescription = null, ...)" })

๐Ÿš€ Master Orchestrator

orchestrate_kotlin_project

Coordinates all specialized agents into an automated, end-to-end project generation pipeline.

orchestrate_kotlin_project({ projectName: "MyApp", target: "android-compose", prompt: "..." })

โšก Hackathon Fast-Prototyping Agents

Specialized Agent

MCP Tool Name

Description & Key Responsibilities

How to Call

๐ŸŽญ Demo Data & Mock Factory

generate_kotlin_mock_factory

Generates deterministic domain mock data factories, fake entities, and simulated Flow repositories for instant UI prototyping.

generate_kotlin_mock_factory({ domainName: "Product", itemCount: 10 })

๐Ÿ” Auth & Onboarding Specialist

scaffold_kotlin_auth_flow

Scaffolds Compose HorizontalPager Onboarding tour, Material 3 Login screen with Google auth, and state-preserving AuthViewModel.

scaffold_kotlin_auth_flow({ appName: "HackathonApp" })

๐Ÿ“ˆ Charts & Data Storytelling

generate_kotlin_charts

Scaffolds interactive animated Canvas charts (Line, Bar, Area graphs) with gradient fills and tween animations.

generate_kotlin_charts({ chartTitle: "Revenue Trends", dataPoints: [...] })

๐Ÿ›ก๏ธ Hackathon Demo Resilience

scaffold_kotlin_offline_resilience

Guarantees zero crashes during live stage demos by catching network drops / timeouts and seamlessly serving cached mock data.

scaffold_kotlin_offline_resilience({ enableDemoMockFallback: true })


Related MCP server: Multi Agent Orchestrator MCP

๐Ÿ“ฆ Installation & Setup

git clone https://github.com/peter14l/kotlin-agent-orchestrator.git
cd kotlin-agent-orchestrator
npm install
npm run build
npm test

Available Tools

24 tools
audit_kotlin_accessibilityA

Audits Jetpack Compose code against WCAG 2.1 AA guidelines, checks Modifier.semantics, contentDescription on Icons, and enforces minimum 48x48dp touch targets.

Inputs: codeSnippet (required).

audit_kotlin_codebaseA

Audits Kotlin code for Compose performance anti-patterns, coroutine leaks, blocking calls on Dispatchers.Main, missing @Immutable markers, and architecture violations.

Inputs: code (required), fileType.

audit_kotlin_securityA

Audits Kotlin code for secret leaks, unencrypted preferences, and insecure cleartext traffic. Scaffolds AndroidX EncryptedSharedPreferences (AES256-GCM) and BiometricPrompt.

Inputs: codeSnippet, enableBiometrics.

decompose_kotlin_promptB

Breaks down large, structured, or vague user prompts into a modular Kotlin feature roadmap, Clean Architecture module breakdown, sprint phases, and acceptance criteria.

Inputs: prompt (required), projectName, targetPlatform, architecturePattern.

design_kotlin_uiB

Designs production-ready Jetpack Compose / Compose Multiplatform UI screens with Unidirectional Data Flow, Material 3 theming, ViewModel state handling, and multi-device preview annotations.

Inputs: screenName (required), layoutDescription (required), targetPlatform, includePreviews.

diagnose_kotlin_errorsA

Diagnoses Kotlin compilation errors, Gradle sync/build failures, Compose recomposition issues, Coroutine race conditions, and Proguard/R8 shrinking bugs with targeted code fixes.

Inputs: errorMessage (required), gradleLog, stackTrace, codeSnippet, +1 more.

generate_and_run_testsC

Generates Kotlin Unit tests with MockK, Flow/State verification with Turbine, and Compose UI tests with createComposeRule, along with execution instructions.

Inputs: className (required), testType, targetCode, methodsToTest.

generate_compose_screenshot_testsA

Generates Roborazzi screenshot test suites for Jetpack Compose screens for emulator-less visual regression testing across Light/Dark modes and tablet sizes.

Inputs: screenName (required), composableName (required), testModes.

generate_kotlin_api_bridgeB

Generates full-stack API bridge contracts between Ktor backend and clients, including Ktor routes, Kotlin/Dart DTOs, and OpenAPI specifications.

Inputs: serviceName (required), models, endpoints.

generate_kotlin_chartsB

Scaffolds interactive Jetpack Compose animated Canvas charts (Line, Bar, Area graphs) with gradient fills and tween animations.

Inputs: chartTitle (required), dataPoints.

generate_kotlin_cicd_pipelineB

Generates production GitHub Actions workflows, Detekt static analysis steps, Dockerfile for Ktor backend, and Gradle build caching.

Inputs: projectName (required), target, enableDetekt, enableDocker.

generate_kotlin_localizationB

Generates Android strings.xml resource bundles (values, values-es, values-ar for RTL) and Jetpack Compose AppStrings type-safe helpers.

Inputs: stringKeys, defaultLocale, supportedLocales.

generate_kotlin_mock_factoryA

Generates realistic domain mock data factories, fake entities, and in-memory simulated Flow repositories for instant hackathon UI prototyping.

Inputs: domainName (required), fields, itemCount.

generate_kotlin_platform_configA

Generates AndroidManifest.xml permissions, Proguard/R8 rules, Keystore release signing configurations, and Compose Multiplatform desktop packaging.

Inputs: projectName (required), target, packageName, permissions, +1 more.

orchestrate_kotlin_projectA

End-to-end multi-agent orchestration for building Kotlin applications. Executes the full pipeline: prompt decomposition, dependency catalog creation, UI design, backend scaffolding, test suites, and setup scripts.

Inputs: prompt (required), includeUi, projectName, includeTests, +2 more.

research_kotlin_dependenciesA

Researches Maven Central for up-to-date, compatible Kotlin library versions, generates a standard Gradle Version Catalog (libs.versions.toml), build.gradle.kts, and settings.gradle.kts with Kotlin 2.x K2 compiler compatibility.

Inputs: targetPlatform (required), libraries.

scaffold_kotlin_ai_moduleA

Scaffolds Google GenAI Kotlin SDK / MediaPipe on-device LLM inference modules with Flow streaming and ViewModel state integration.

Inputs: featureName (required), provider, systemInstruction.

scaffold_kotlin_auth_flowB

Scaffolds an instant Compose HorizontalPager onboarding tour, Material 3 Login screen with Google auth, and state-preserving AuthViewModel.

Inputs: appName (required).

scaffold_kotlin_backendB

Generates scalable Ktor or Spring Boot Kotlin backend services, routes, repositories, domain entities, Koin DI configuration, and coroutine-based async handlers.

Inputs: domainName (required), database, backendType.

scaffold_kotlin_databaseB

Scaffolds Android Room 2.7+ (KSP) database with entities, DAOs returning Coroutine Flow streams, and AutoMigration strategies.

Inputs: databaseName (required), entities, schemaVersion.

scaffold_kotlin_observabilityC

Scaffolds Sentry/Firebase Crashlytics crash reporting, type-safe analytics event loggers, and OkHttp network latency interceptors.

Inputs: provider, customEventNames.

scaffold_kotlin_offline_resilienceB

Scaffolds an automatic OkHttp fallback interceptor that catches Wi-Fi drops / network failures and seamlessly serves cached/embedded mock data with zero crash during live stage demos.

Inputs: enableDemoMockFallback.

scaffold_kotlin_project_docsB

Scaffolds dynamic PRD.md, architecture.md, rules.md, phases.md, design.md, and memory.md tailored to user prompts. Verifies existing files before writing to avoid overwriting existing documentation.

Inputs: projectName (required), appDescription (required), target, projectType, +4 more.

Tool Schema Changelog

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

Loading tool schema changelogโ€ฆ

    TDQS

    A3.7/5.0

    Scored across 24 tools

    Disambiguation5/5

    Each tool targets a distinct phase or concern of Kotlin developmentโ€”localization, dependencies, UI, backend, security, docs, etc.โ€”so an agent can reliably pick the right one. The closest pairs, such as generate_and_run_tests versus generate_compose_screenshot_tests, are still clearly separated by scope.

    Naming Consistency5/5

    All tool names use snake_case with a leading verb and consistently follow a verb_kotlin_<target> or verb_<domain> pattern. Even with varied verbs like generate, scaffold, audit, design, configure, and diagnose, the naming convention is predictable and uniform.

    Tool Count3/5

    24 tools is on the heavy side for a single server, exceeding the ideal 3โ€“15 range. However, each tool maps to a distinct Kotlin development task, so the count is defensible even though the server feels broad rather than lean.

    Completeness5/5

    The server covers the full Kotlin project lifecycle: prompt decomposition, dependency resolution, UI/backend/database/auth scaffolding, API contracts, tests, CI/CD, docs, security, observability, accessibility, and offline resilience. There are no obvious dead ends or critical missing operations for its stated purpose.

    Related MCP Connectors

    Related MCP Servers