@fluttersdk/mcp

中文文档
1.1.3发布于 2026/09/13MITTypeScriptES Module构建来源已验证近 30 天下载 1.5万

HTTP to stdio bridge for the FlutterSDK Docs MCP server (mcp.fluttersdk.com)

此软件包已被标记为弃用

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

原始使用文档
文档目录7 节
  1. When to use
  2. Install and run
  3. Environment variables
  4. Examples
  5. Claude Desktop configuration
  6. Available tools
  7. License

@fluttersdk/mcp

HTTP-to-stdio bridge for the FlutterSDK Docs MCP server.

The upstream server at mcp.fluttersdk.com speaks the Streamable HTTP MCP transport. This bridge wraps it with a stdio transport so clients that do not support Streamable HTTP natively (Claude Desktop, older Codex CLI, any shell-based MCP host) can connect to it without modification.

When to use

Use this bridge when your MCP client:

  • Only supports stdio MCP transport (e.g. Claude Desktop, older Cursor versions).
  • Cannot talk to HTTP-based MCP servers directly.
  • Needs a proxy in front of the upstream for allowlist control.

If your client natively supports Streamable HTTP, point it directly at https://mcp.fluttersdk.com/ instead.

Install and run

npx @fluttersdk/mcp

The bridge starts a local stdio MCP server. It does not connect to the upstream until the first tools/list or tools/call request arrives (lazy connect).

Environment variables

VariableDefaultDescription
FLUTTERSDK_MCP_URLhttps://mcp.fluttersdk.com/Upstream MCP server URL
BRIDGE_ALLOW_TOOLSsearch-docsComma-separated list of tool names to expose. Use * for unrestricted access.

Examples

Expose only the default search-docs tool (default behavior):

npx @fluttersdk/mcp

Expose all tools the upstream provides:

BRIDGE_ALLOW_TOOLS=* npx @fluttersdk/mcp

Point at a local upstream during development:

FLUTTERSDK_MCP_URL=http://localhost:8000/ npx @fluttersdk/mcp

Claude Desktop configuration

Add the following to your Claude Desktop claude_desktop_config.json:

{
    "mcpServers": {
        "fluttersdk": {
            "command": "npx",
            "args": ["@fluttersdk/mcp"]
        }
    }
}

To allow all upstream tools:

{
    "mcpServers": {
        "fluttersdk": {
            "command": "npx",
            "args": ["@fluttersdk/mcp"],
            "env": {
                "BRIDGE_ALLOW_TOOLS": "*"
            }
        }
    }
}

Available tools

The upstream server exposes one tool by default (and the bridge allowlist matches it):

ToolDescription
search-docsSearch Flutter and Dart documentation. Accepts queries, packages, version, and token_limit parameters.

License

MIT

版本与发布记录

@fluttersdk/mcp 共发布 4 个版本,首次发布于 2026/05/26;过去 12 个月发布了 4 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.1.3latest2026/09/132 个月前
1.1.22026/05/265 个月前
1.1.12026/05/265 个月前
1.1.02026/05/265 个月前

关于 @fluttersdk/mcp 的常见问题

@fluttersdk/mcp 是什么?

HTTP to stdio bridge for the FlutterSDK Docs MCP server (mcp.fluttersdk.com)注意:该包已被作者标记为弃用——Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

如何安装 @fluttersdk/mcp?

在项目目录运行 npm install @fluttersdk/mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 fluttersdk-mcp,可以用 npx fluttersdk-mcp 直接运行。

@fluttersdk/mcp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@fluttersdk/mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@fluttersdk/mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@fluttersdk/mcp 可以商用吗?

@fluttersdk/mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@fluttersdk/mcp 的下载量有多少?

根据 npm 官方下载统计,@fluttersdk/mcp 在 2026/10/15 – 2026/11/13 这 30 天内被下载 14,616 次,日均约 487 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@fluttersdk/mcp 还在维护吗?

最新版本 1.1.3 发布于 2026/09/13(2 个月前);至今共发布 4 个版本,其中过去 12 个月发布了 4 个;首次发布于 2026/05/26。作者已将其标记为弃用,新项目建议寻找替代方案。