独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
I

IvanMurzak/MCP-Plugin-dotnet

Expose a .NET app's methods as MCP tools

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:这条暂时没有可执行的下一步,可先看原仓库 https://github.com/IvanMurzak/MCP-Plugin-dotnet

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP Plugin for .NET

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

## Overview
MCP Plugin for .NET is a comprehensive solution for integrating .NET applications with the Model Context Protocol (MCP). It allows you to easily expose methods and data from your .NET applications as Tools, Prompts, and Resources to AI assistants (like Claude) and other MCP clients.
### The Problem: Independent Lifecycles
Standard MCP servers are typically designed to be launched as subprocesses by the client (e.g., Claude Desktop spawns a Python script). This works well for lightweight scripts but creates challenges for complex .NET applications like Unity Engine, WPF Desktop Apps, or Game Servers:
1. Heavy Startup: These applications are often too heavy to be spawned repeatedly by an MCP client.
2. Independent Lifecycle: They often need to run independently (e.g., you are already working in the Unity Editor).
3. Live Context: You want to interact with the currently running instance (e.g., "Add a cube to the current scene"), not start a new, empty instance.
### The Solution: The Bridge Pattern
This project solves this by decoupling the MCP Server from your application using a Bridge Architecture:
1. McpPlugin (In-App): A lightweight library you add to your .NET application (e.g., Unity, WPF, Console). It connects to the bridge via SignalR.
2. McpPlugin.Server (Bridge): A high-performance gateway that the MCP Client (Claude) launches. It acts as a persistent mediator.
Why SignalR?
Resilience: Built-in automatic reconnection logic. If the bridge restarts, your app reconnects instantly.
Simplicity: Operates over a single HTTP port (default 8080). No complex firewall rules.
Bidirectional: The bridge can invoke tools in your app, and your app can push updates (logs, progress) back to the bridge.
## Architecture
The system uses a hub-and-spoke architecture where McpPlugin.Server acts as the central gateway.
mermaid
graph LR
subgraph "Your .NET Apps (SignalR Clients)"
A[Unity Editor] -- SignalR --> S
B[WPF Desktop] -- SignalR --> S
E[Game Server] -- SignalR --> S
end
subgraph "MCP Infrastructure (Bridge)"
S[McpPlugin.Server]
end
subgraph "AI / MCP Clients"
C[Claude Desktop] -- StdIO/HTTP --> S
D[MCP Inspector] -- StdIO/HTTP --> S
end
## Features
Attribute-Based Registration: Easily expose tools, prompts, and resources using [AiTool], [AiPrompt], and [AiResource] attributes. (The legacy [McpPluginTool], [McpPluginPrompt], [McpPluginResource] names remain available as [Obsolete] aliases for backward compatibility.)
Powered by ReflectorNet:
Complex Type Support: Seamlessly handle nested objects, collections, and custom types in tool parameters.
Fuzzy Matching: AI can find and call methods even with partial names or slightly mismatched signatures.
Automatic Schema Generation: Precise JSON schemas are generated for your C# types to help LLMs understand your code perfectly.
Real-time Bidirectional Communication: Uses SignalR for a persistent, low-latency link between your apps and the bridge.
Flexible Transport: The bridge supports both stdio (for local AI agents like Claude Desktop) and streamableHttp (for remote connections).
Dependency Injection: First-class support for Microsoft.Extensions.DependencyInjection.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/ivanmurzak-mcp-plugin-dotnet/)
来源
awesome · https://github.com/IvanMurzak/MCP-Plugin-dotnet
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引