MCP.so
登录

MCP Server

@app-appplayer

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

app-appplayer

关于 MCP Server

暂无概览

MCP Server 配置

暂无标准配置

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

代码仓库

MCP Server 工具

工具列表暂未提供

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

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server?

MCP Server is a Dart plugin for implementing Model Context Protocol (MCP) servers. It allows Flutter applications to expose data, functionality, and interaction patterns to Large Language Model (LLM) applications in a standardized way.

How to use MCP Server?

Install the package and create a Server instance with a name, version, and capabilities. Add handlers for tools, resources, and prompts, then connect to a transport (stdio, SSE, or Streamable HTTP). Use the simplified McpServer.createAndStart API or the classic connect method. Configuration of transports is done via TransportConfig objects.

Key features of MCP Server

  • Multi-revision MCP support with per-version capability gating
  • Core primitives: Resources, Tools, Prompts, and Completions
  • Server-initiated requests (sampling, roots, elicitation)
  • OAuth 2.1 Resource Server (RFC 9728) with Bearer token validation
  • Structured tool output and resource links (2025-06-18+)
  • Icons on tools, resources, and prompts (2025-11-25)
  • List-changed notifications and progress/cancellation support
  • Multiple transports: stdio, SSE, Streamable HTTP
  • Cross-platform: Android, iOS, web, Linux, Windows, macOS

Use cases of MCP Server

  • Expose application data to LLMs via static or templated resources
  • Give LLMs the ability to perform actions with tools (e.g., calculators, file access)
  • Provide reusable prompt templates that guide LLM interactions
  • Build custom MCP servers that integrate with existing Dart/Flutter apps

常见问题

1

What protocol versions does MCP Server support?

It supports four revisions: 2024-11-05 (original), 2025-03-26 (earlier 2025 revision), 2025-06-18 (adds elicitation, structured tool output, OAuth), and 2025-11-25 (adds icons, sampling tool calling).

2

What transport options are available?

STDIO, SSE, and Streamable HTTP (with SSE streaming or JSON response mode). Each is configurable via `TransportConfig` constructors.

3

Does MCP Server work on multiple platforms?

Yes, it supports Android, iOS, web, Linux, Windows, and macOS.

4

How do I configure server capabilities?

Capabilities can be set with simple booleans via `ServerCapabilities.simple()` or with advanced object-based configuration using `ServerCapabilities` with detailed sub-capabilities.

5

What happens if a tool handler returns an error?

Handlers can return `CallToolResult` with `isError: true` to signal failure to the LLM, as shown in the division-by-zero example.

评论

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