- Explore MCP Servers
- dotnet_mcp_study3
Dotnet Mcp Study3
What is Dotnet Mcp Study3
dotnet_mcp_study3 is a C# based MCP server designed to generate PDFs from specified information, which can be invoked from Dify.
Use cases
Use cases include generating automated reports, creating invoices, and producing documentation that requires PDF formatting.
How to use
To use dotnet_mcp_study3, create a new web API project using the provided commands, add the necessary packages, and run the project using ‘dotnet run --project MCPServerLab’.
Key features
Key features include the ability to generate PDFs using PDFsharp, integration with Microsoft.SemanticKernel and Gemini, and support for Dify and MCP SSE.
Where to use
dotnet_mcp_study3 can be used in various fields such as document generation, report automation, and applications requiring PDF outputs.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Dotnet Mcp Study3
dotnet_mcp_study3 is a C# based MCP server designed to generate PDFs from specified information, which can be invoked from Dify.
Use cases
Use cases include generating automated reports, creating invoices, and producing documentation that requires PDF formatting.
How to use
To use dotnet_mcp_study3, create a new web API project using the provided commands, add the necessary packages, and run the project using ‘dotnet run --project MCPServerLab’.
Key features
Key features include the ability to generate PDFs using PDFsharp, integration with Microsoft.SemanticKernel and Gemini, and support for Dify and MCP SSE.
Where to use
dotnet_mcp_study3 can be used in various fields such as document generation, report automation, and applications requiring PDF outputs.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
dotnet_mcp_study3
概要
- 指定した情報で PDF を生成する MCP サーバーを C# で作成し、Dify から呼び出してみる


詳細
細かい実装方法は以下のリポジトリを参照
dotnet_mcp_study2
https://github.com/Tobotobo/dotnet_mcp_study2
- Kazuki Ota さんの「.NET で MCP サーバー・クライアントを試してみよう」の記事を 2025/5/6 時点のバージョンで再実装してみる
- 作成した MCP サーバーを Microsoft.SemanticKernel + Gemini から呼び出してみる
- 作成した MCP サーバーを Dify + MCP SSE から呼び出してみる
dotnet_pdfsharp_example1
https://github.com/Tobotobo/dotnet_pdfsharp_example1
- PDFsharp を使って PDF を作成してみるサンプル
プロジェクト作成
dotnet new webapi --no-https --no-openapi -n MCPServerLab dotnet add MCPServerLab package ModelContextProtocol.AspNetCore --prerelease dotnet add MCPServerLab package PDFsharp --version 6.2.0-preview-3
実行
dotnet run --project MCPServerLab
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










