AvaloniaUI.MCP logo

AvaloniaUI.MCP

Community
decriptor

MCP server for AvaloniaUI

Publisherdecriptor
RepositoryAvaloniaUI.MCP
LanguageC#
Forks
9
Stars
39
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    AvaloniaUI.MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    39 stars and 9 forks from the linked 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


Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use AvaloniaUI.MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once AvaloniaUI.MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add AvaloniaUI.MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the AvaloniaUI.MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "decriptor-avaloniaui_mcp": {
      "command": "npx",
      "args": [
        "-y",
        "AvaloniaUI.MCP"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the AvaloniaUI.MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the AvaloniaUI.MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use AvaloniaUI.MCP to help me with this task?
AvaloniaUI.MCP
Sure. I read it.
Here is what I found using AvaloniaUI.MCP.

Frequently asked questions

What is the AvaloniaUI.MCP MCP server used for?

AvaloniaUI.MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use AvaloniaUI.MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use AvaloniaUI.MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use AvaloniaUI.MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With AvaloniaUI.MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect AvaloniaUI.MCP MCP to TypingMind?

AvaloniaUI.MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does AvaloniaUI.MCP MCP provide in TypingMind?

AvaloniaUI.MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use AvaloniaUI.MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If AvaloniaUI.MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇