DA

decriptor/avaloniaui.mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

39 stars 9 forks 质量 72 趋势 8MIT

AvaloniaUI 的 MCP 服务器

概览

一台全面的MCP服务器,提供企业级工具、资源和跨平台AvaloniaUI应用的指导。 - - MVVM、基础和跨平台模板 - - 语法检查和最佳实践执行 - - 安全认证和数据保护 - - 优化指导与监控 - - 完整的WPF到AvaloniaUI转换协助 - - 完整的 AvaloniaUI 控制参考 - - MVVM、反应式编程和架构指导 - - 行业标准开发实践 - - 实际实现示例 - - 实时性能指标和健康检查 - - 80%+ 命中率的智能资源缓存 - - 全面的参数验证与净化 - - 优雅的错误管理及有用的诊断 - - 完整的运营跟踪和合规支持 - - 优化生产工作负载 - - 非阻塞文件和网络操作 - - 最小占用并智能资源管理 - - 处理多重......

概述(AI 翻译)

AvaloniaUI 开发专业模型上下文协议服务器

一台全面的MCP服务器,提供企业级工具、资源和跨平台AvaloniaUI应用的指导。

🚀 特色

🛠️ 15+ 开发工具

  • 项目生成 - MVVM、基础和跨平台模板
  • XAML 验证 - 语法检查和最佳实践的执行
  • 安全模式 - 安全认证和数据保护
  • 性能分析 - 优化指导与监控
  • 迁移支持 - 完整的WPF到AvaloniaUI转换协助

📚 丰富的知识库

  • 500+ 控制项 - 完整的 AvaloniaUI 控制参考
  • 设计模式 - MVVM、反应式编程和架构指导
  • 最佳实践 - 行业标准开发实践
  • 代码示例 - 现实世界的实现示例

🔒 企业号特色

  • 遥测与监控 - 实时性能指标和健康检查
  • 缓存系统 - 智能资源缓存,命中率为80%+。
  • 输入验证 - 全面的参数验证与净化

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

DilettoLabs.AvaloniaUI.MCP

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

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

# Build the project
dotnet build

# Run tests (optional)
dotnet test

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

Configuration

Add to your MCP client configuration:

{
  "mcpServers": {
    "avalonia": {
      "command": "dotnet",
      "args": [
        "run",
        "--project",
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

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