MCP.so
ログイン

MCP Server

@RobertEichenseer

MCP Server について

MCP Server (Resources, Tools, Prompts)

基本情報

カテゴリ

その他

ランタイム

c#

トランスポート

stdio

公開者

RobertEichenseer

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Server?

MCP Server is a simplified C# implementation of the Model Context Protocol (MCP) server that provides Tools, Resources, and Prompts for sports information. It is designed to be launched by a host application via standard I/O (stdio) and to enhance LLM/SLM interactions with contextual data.

How to use MCP Server?

The MCP server is started by a host application using dotnet run with the project path and configured via StdioClientTransportOptions. The host creates an IMcpClient using McpClientFactory.CreateAsync, then lists available tools, prompts, and resources. To use the server’s functionality, the host calls tools like RetrieveWinner, requests prompts like CreateMatchSummaryPrompt, or reads resources, optionally subscribing to resource updates.

Key features of MCP Server

  • Provides Tools (e.g., RetrieveWinner) for action execution
  • Offers Prompts (e.g., CreateMatchSummaryPrompt) as templates
  • Serves Resources and Resource Templates for data grounding
  • Supports subscribing to resource change notifications
  • Communicates with the host via stdio transport
  • Built with .NET using the ModelContextProtocol NuGet package

Use cases of MCP Server

  • Query the winner of a sports event by name and date
  • Generate a match summary prompt with custom parameters
  • Retrieve a specific team’s information via resource templates
  • Subscribe to resource updates and receive notifications
  • Integrate sports data tools into an AI chat application

FAQ from MCP Server

What is the Model Context Protocol (MCP)?

MCP is an open protocol that standardizes how applications provide context to LLMs, enabling connections to data sources, tools, and prompts.

What does the MCP server provide?

It provides Tools (executable functions), Resources (data for grounding), and Prompts (template messages) for sports-related content.

How does the host communicate with the MCP server?

The host launches the server via stdio (dotnet run) and uses the ModelContextProtocol NuGet package to create a client and exchange messages.

What dependencies are required to run the server?

The server is a C# .NET project. The sample host also requires an Azure OpenAI instance with a deployed GPT-4 model for full demo functionality.

Can the host interact with multiple MCP servers?

Yes, the application can start and interact with multiple MCP servers simultaneously, each providing distinct resources, tools, and prompts.

コメント

「その他」の他のコンテンツ