AvaloniaUI.MCPのロゴ

AvaloniaUI.MCP

コミュニティ
decriptor

MCP server for AvaloniaUI

公開者decriptor
リポジトリAvaloniaUI.MCP
言語C#
フォーク
9
スター
39
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    AvaloniaUI.MCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには39件のスターと9件のフォークがあります。

AvaloniaUI.MCP

Build Status Test Coverage .NET 9.0 License: MIT Documentation

Professional Model Context Protocol Server for AvaloniaUI Development

A comprehensive MCP server providing enterprise-grade tools, resources, and guidance for building cross-platform AvaloniaUI applications.

🚀 Features

🛠️ 15+ Development Tools

  • Project Generation - MVVM, basic, and cross-platform templates
  • XAML Validation - Syntax checking and best practices enforcement
  • Security Patterns - Secure authentication and data protection
  • Performance Analysis - Optimization guidance and monitoring
  • Migration Support - Complete WPF to AvaloniaUI conversion assistance

📚 Extensive Knowledge Base

  • 500+ Controls - Complete AvaloniaUI controls reference
  • Design Patterns - MVVM, reactive programming, and architectural guidance
  • Best Practices - Industry-standard development practices
  • Code Examples - Real-world implementation examples

🔒 Enterprise Features

  • Telemetry & Monitoring - Real-time performance metrics and health checks
  • Caching System - Intelligent resource caching for 80%+ hit rates
  • Input Validation - Comprehensive parameter validation and sanitization
  • Error Handling - Graceful error management with helpful diagnostics
  • Audit Logging - Complete operation tracking and compliance support

⚡ High Performance

  • < 100ms Response Times - Optimized for production workloads
  • Async Operations - Non-blocking file and network operations
  • Memory Efficient - Minimal footprint with intelligent resource management
  • Concurrent Support - Handle multiple requests simultaneously

📖 Quick Start

Prerequisites

  • .NET 9.0 SDK or later
  • MCP-compatible client (Claude Desktop, VS Code with MCP extension)

Installation

bash
# Clone the repository
git clone https://github.com/decriptor/AvaloniaUI.MCP.git
cd AvaloniaUI.MCP

# Build the project
dotnet build

# Run tests (optional)
dotnet test

# Start the server
dotnet run --project src/AvaloniaUI.MCP/AvaloniaUI.MCP.csproj

Configuration

Add to your MCP client configuration:

json
{
  "mcpServers": {
    "avalonia": {
      "command": "dotnet",
      "args": [
        "run",
        "--project",
        "/path/to/AvaloniaUI.MCP/src/AvaloniaUI.MCP/AvaloniaUI.MCP.csproj"
      ],
      "cwd": "/path/to/AvaloniaUI.MCP"
    }
  }
}

First Commands

Try these commands with your MCP client:

text
"Create a new AvaloniaUI MVVM project called MyApp"
"Validate this XAML code for best practices"
"Generate JWT authentication pattern with high security"
"Show me how to migrate this WPF control to AvaloniaUI"
"Perform a health check on the server"

🛠️ Tools Overview

CategoryToolsDescription
Project GenerationProjectGeneratorTool, ArchitectureTemplateToolCreate complete projects with best practices
Validation & QualityXamlValidationTool, SecurityPatternTool, AccessibilityToolEnsure code quality and security
UI DevelopmentThemingTool, CustomControlGenerator, AnimationToolBuild beautiful, interactive interfaces
Migration & IntegrationAPIIntegrationTool, LocalizationTool, DataAccessPatternToolIntegrate with external systems
Development & DebuggingDiagnosticTool, TestingIntegrationTool, PerformanceAnalysisToolMonitor and optimize applications

📚 Complete Tools Documentation →

📊 Performance Metrics

MetricValueDescription
Response Time< 100msAverage tool execution time
Test Coverage90%+Comprehensive test suite
Cache Hit Rate80%+Resource caching efficiency
Memory Usage< 200MBTypical memory footprint
Concurrent Users50+Supported simultaneous connections

🏗️ Architecture

text
┌─────────────────┐    ┌──────────────────┐    ┌─────────────────┐
│   MCP Client    │    │  AvaloniaUI.MCP  │    │  Knowledge Base │
│  (Claude, VSC)  │◄──►│     Server       │◄──►│   (JSON Files)  │
└─────────────────┘    └──────────────────┘    └─────────────────┘
                              │
                              ▼
                    ┌──────────────────┐
                    │   Tool Ecosystem │
                    │  • Project Gen   │
                    │  • Validation    │
                    │  • Security      │
                    │  • Diagnostics   │
                    └──────────────────┘

Built with:

  • .NET 9.0 - Latest runtime with performance optimizations
  • MCP Protocol - Official Microsoft Model Context Protocol SDK
  • OpenTelemetry - Enterprise observability and monitoring
  • Reactive Extensions - Async/reactive programming patterns

📚 Documentation

ResourceDescription
📖 Documentation SiteComplete documentation with examples
🚀 Quick Start GuideGet running in 5 minutes
🛠️ Tools ReferenceDetailed tool documentation
💡 Examples & TutorialsReal-world usage examples
🐛 TroubleshootingCommon issues and solutions

🧪 Testing

Comprehensive test suite with 150+ tests:

bash
# Run all tests
dotnet test

# Run with coverage
dotnet test --collect:"XPlat Code Coverage"

# Run specific categories
dotnet test --filter Category=Unit
dotnet test --filter Category=Integration

Test categories:

  • Unit Tests - Individual component testing
  • Integration Tests - Tool interaction testing
  • Performance Tests - Load and response time testing
  • Security Tests - Input validation and security pattern testing

🔒 Security

Enterprise-grade security features:

  • Input Validation - All parameters validated against strict schemas
  • Secure Patterns - Defensive security pattern generation
  • Audit Logging - Complete operation tracking
  • Error Handling - No sensitive information exposure
  • Resource Limits - Protection against resource exhaustion

🌍 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

  1. Fork and clone the repository
  2. Install dependencies: dotnet restore
  3. Run tests: dotnet test
  4. Create feature branch: git checkout -b feature/amazing-feature
  5. Make changes with tests
  6. Submit pull request

Areas for Contribution

  • 🛠️ New tools and features
  • 📚 Documentation improvements
  • 🐛 Bug fixes and optimizations
  • 🧪 Additional test coverage
  • 🌐 Internationalization support

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

  • AvaloniaUI Team - For the excellent cross-platform UI framework
  • Microsoft - For the Model Context Protocol specification
  • Contributors - Everyone who helps improve this project
  • Community - For feedback, bug reports, and feature requests

📞 Support


インストール

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "decriptor-avaloniaui_mcp": {
      "command": "",
      "args": []
    }
  }
}

AvaloniaUI.MCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度AvaloniaUI.MCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

AvaloniaUI.MCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. AvaloniaUI.MCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "decriptor-avaloniaui_mcp": {
      "command": "npx",
      "args": [
        "-y",
        "AvaloniaUI.MCP"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAvaloniaUI.MCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. AvaloniaUI.MCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
AvaloniaUI.MCPを使ってこのタスクを手伝ってもらえますか?
AvaloniaUI.MCP
はい、読みました。
AvaloniaUI.MCPで調べた結果をお伝えします。

よくある質問

AvaloniaUI.MCP MCPサーバーは何に使いますか?

AvaloniaUI.MCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでAvaloniaUI.MCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAvaloniaUI.MCPを利用できます。

TypingMindでAvaloniaUI.MCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。AvaloniaUI.MCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

AvaloniaUI.MCP MCPをTypingMindに接続するにはどうすればよいですか?

AvaloniaUI.MCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAvaloniaUI.MCP MCPのどのようなツールを利用できますか?

AvaloniaUI.MCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

AvaloniaUI.MCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。AvaloniaUI.MCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇