MCP.so
登录

MCP Server

@RobertEichenseer

基本信息

分类

其他

传输方式

stdio

作者

RobertEichenseer

关于 MCP Server

MCP Server (Resources, Tools, Prompts)

MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

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.

2

What does the MCP server provide?

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

3

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.

4

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.

5

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.

评论

其他 分类下的更多 MCP 服务器