NK

normaltusker/kotlin-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

31 stars 6 forks 品質 71 トレンド 11AGPL-3.0

OpenAI、Gemini、OpenRouterを使用したAndroidアプリ開発用のKotlin MCP Server。 Aider、Gradle build/test の統合、Kotlin LSP、Docker ベースのポータビリティにより、AI によるコーディングが可能.

概要

包括的なモデルコンテキストプロトコル(MCP)サーバーで、AIエージェントにKotlinベースのAndroid開発プロジェクトへのエンタープライズレベルのアクセスを提供します。 このサーバーは、高度なセキュリティ、プライバシーの遵守、AIの統合、および包括的な開発ツールでコンテキスト・アウェアのサポートを可能にします。 - : すべての27ツールは、LSPのような機能を備えたインテリジェントプロキシシステムを使用しています - : 強化アーキテクチャで単一のkotlin mcp server.pyに統一 - : クリーンなプロジェクト構造のためのアーカイブされた冗長サーバーバージョン - : インテリジェントな管理システムを介して適切に露出された完全なツールスイート - : ネイティブ実装とインテリジェントなプロキシ間のスマートな委任 - : 単一の kotlin mcp server.

概要(AI 翻訳)

包括的なモデルコンテキストプロトコル(MCP)サーバーで、AIエージェントにKotlinベースのAndroid開発プロジェクトへのエンタープライズレベルのアクセスを提供します。 このサーバーは、高度なセキュリティ、プライバシーの遵守、AIの統合、および包括的な開発ツールでコンテキスト・アウェアのサポートを可能にします。

お問い合わせ

##****Revision History をフォローする

##Version 2.1 (現在の - 8月2025) Enhanced解放:統一された理性的なサーバー

確かに最新改善

-** インテリジェントツール管理**: LSPのような機能を備えた27ツールがインテリジェントプロキシシステムを使用

  • サーバー統合:強化アーキテクチャで単一の[kotlin_mcp_server.pyに統一
  • ** クリーンアーキテクチャ: クリーナープロジェクト構造用の冗長サーバーバージョンのアーカイブ
  • ** ⚡ 高められた用具の露出**: 理性的な管理システムによってきちんと露出される完全な用具のスイート -彡 ツールルーティングの改善:ネイティブ実装とインテリジェントなプロキシ間のスマートな委任

####************ 建築的変更** -Unified Server:シングル[kotlin_mcp_server.py]は複数のサーバーバージョンを置き換えます

  • 理性的なプロキシ システム:完全な実装のない用具はAIの強化とスマートなプロキシを使用します

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Enterprise Kotlin Android MCP Server

A comprehensive Model Context Protocol (MCP) server that provides AI agents with enterprise-grade access to Kotlin-based Android development projects. This server enables context-aware assistance with advanced security, privacy compliance, AI integration, and comprehensive development tools.


📋 Revision History

Version 2.1 (Current - August 2025)

Enhanced Release: Unified Intelligent Server

🎯 Latest Improvements

  • 🧠 Intelligent Tool Management: All 27 tools now use intelligent proxy system with LSP-like capabilities
  • 🔄 Server Consolidation: Unified into single kotlin_mcp_server.py with enhanced architecture
  • 📁 Clean Architecture: Archived redundant server versions for cleaner project structure
  • ⚡ Enhanced Tool Exposure: Complete tool suite properly exposed through intelligent management system
  • 🛠️ Improved Tool Routing: Smart delegation between native implementations and intelligent proxies

🔧 Architectural Changes

  • Unified Server: Single kotlin_mcp_server.py replaces multiple server versions
  • Intelligent Proxy System: Tools without full implementations use smart proxies with AI enhancement
  • Clean File Structure: Legacy servers archived in archive/legacy-servers/
  • Enhanced Tool Manager: Integration with IntelligentMCPToolManager for advanced capabilities
  • Complete Tool Coverage: All 32 tools properly exposed and functional

📊 Tool Implementation Status

  • Fully Implemented: 6 tools (format_code, run_lint, generate_docs, create_compose_component, setup_mvvm_architecture, security_hardening)
  • Legacy Integration: 3 core tools (create_kotlin_file, gradle_build, analyze_project)
  • Intelligent Proxies: 23 tools with smart fallback implementations
  • Total Available: 32 tools with comprehensive Android development coverage

Version 2.0 (August 2025)

Major Release: AI-Enhanced Modular Architecture

🎯 Key Improvements

  • 🤖 AI Integration: Transformed from template generator to AI-powered development assistant
  • 🏗️ Modular Architecture: Refactored monolithic structure into 6 specialized modules
  • 🌍 Dynamic Configuration: Eliminated all hardcoded paths for cross-platform portability
  • ⚡ Enhanced Tools: Expanded from 30 to 31 tools with AI-enhanced implementations
  • 🛡️ Security Hardening: Added configurable audit trails and compliance monitoring
  • 📦 Zero-Config Setup: Intelligent installer with automatic environment detection

🔧 Technical Changes

  • Modular Design: Split into ai/, android/, gradle/, security/, testing/, utils/ modules
  • AI-Powered Code Generation: Leverages calling LLM for production-ready code (no TODOs)
  • Environment Variable Support: All configurations now use dynamic environment variables
  • Cross-Platform Paths: Universal ~ notation replaces OS-specific hardcoded paths
GitHub で README 全文を見る

インストール

docker run -p 8000:8000 -v $(pwd):/workspace kotlin-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "kotlin-android": { "command": "python", "args": ["/path/to/kotlin-mcp-server/kotlin_mcp_server.py"], "env": { "WORKSPACE_PATH": "/path/to/your/android/project" } } } }