/vibe:ghcopilot-instr-csharp-mcp-serverfrom vibe
Provides guidance on building C# MCP servers using the ModelContextProtocol NuGet packages, including tool/prompt attributes, DI, transport, and testing.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
dotnet add package ModelContextProtocol --prereleaseLogToStandardErrorThreshold = LogLevel.Trace to avoid interfering with stdio transport[McpServerToolType] attribute on classes containing MCP tools[McpServerTool] attribute on methods to expose them as tools[Description] attribute from System.ComponentModel to document tools and parametersMcpServer, HttpClient, or other services as parametersMcpServer.AsSamplingChatClient() to make sampling requests back to the client from within tools[McpServerPromptType] on classes and [McpServerPrompt] on methodsWithStdioServerTransport() when building the serverWithToolsFromAssembly() to auto-discover and register all tools from the current assemblyTask or Task<T>)CancellationToken parameters in async tools for proper cancellation supportMcpServerOptions with custom handlers like ListToolsHandler and CallToolHandlerMcpProtocolException for protocol-level errors with appropriate McpErrorCode valuesMcpClient from the same SDK or any compliant MCP clientMcpProtocolException with McpErrorCode.InvalidParams for invalid inputs[McpServerToolType]var builder = Host.CreateApplicationBuilder(args);
builder.Logging.AddConsole(options =>
options.LogToStandardErrorThreshold = LogLevel.Trace);
builder.Services
.AddMcpServer()
.WithStdioServerTransport()
.WithToolsFromAssembly();
await builder.Build().RunAsync();
[McpServerToolType]
public static class MyTools
{
[McpServerTool, Description("Description of what the tool does")]
public static string ToolName(
[Description("Parameter description")] string param) =>
$"Result: {param}";
}
[McpServerTool, Description("Fetches data from a URL")]
public static async Task<string> FetchData(
HttpClient httpClient,
[Description("The URL to fetch")] string url,
CancellationToken cancellationToken) =>
await httpClient.GetStringAsync(url, cancellationToken);
[McpServerTool, Description("Analyzes content using the client's LLM")]
public static async Task<string> Analyze(
McpServer server,
[Description("Content to analyze")] string content,
CancellationToken cancellationToken)
{
var messages = new ChatMessage[]
{
new(ChatRole.User, $"Analyze this: {content}")
};
return await server.AsSamplingChatClient()
.GetResponseAsync(messages, cancellationToken: cancellationToken);
}
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job