Logo vun AvaloniaUI.MCP

AvaloniaUI.MCP

Communautéit
decriptor

MCP server for AvaloniaUI

Editeurdecriptor
RepositoryAvaloniaUI.MCP
SproochC#
Forks
9
Stären
39
Disponibel Tools
0
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    AvaloniaUI.MCP stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    39 Stären an 9 Forks aus dem verlinkte Repository.

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


Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

AvaloniaUI.MCP MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal AvaloniaUI.MCP verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

AvaloniaUI.MCP als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu AvaloniaUI.MCP an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "decriptor-avaloniaui_mcp": {
      "command": "npx",
      "args": [
        "-y",
        "AvaloniaUI.MCP"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu AvaloniaUI.MCP. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu AvaloniaUI.MCP.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat AvaloniaUI.MCP?
AvaloniaUI.MCP
Jo. Ech hunn et gelies.
Dat hunn ech mat AvaloniaUI.MCP fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server AvaloniaUI.MCP benotzt?

AvaloniaUI.MCP ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech AvaloniaUI.MCP MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir AvaloniaUI.MCP mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat AvaloniaUI.MCP MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann AvaloniaUI.MCP verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech AvaloniaUI.MCP MCP mat TypingMind?

AvaloniaUI.MCP leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt AvaloniaUI.MCP MCP an TypingMind zur Verfügung?

AvaloniaUI.MCP stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir AvaloniaUI.MCP MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann AvaloniaUI.MCP eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇