MCP.so
登录

MCP Workers AI

@xtuc

基本信息

分类

其他

传输方式

stdio

作者

xtuc

关于 MCP Workers AI

MCP servers sdk for Cloudflare Workers

MCP Workers AI 配置

暂无标准配置

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

代码仓库

MCP Workers AI 工具

工具列表暂未提供

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

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

概览

What is MCP Workers AI?

MCP Workers AI is an SDK for integrating Model Context Protocol (MCP) server tools with Cloudflare Workers. It allows developers to load multiple MCP servers (e.g., GitLab, Slack) and call their tools from Worker scripts, feeding the results into Cloudflare Workers AI model inference requests.

How to use MCP Workers AI?

Install the package via npm or yarn, then import loadTools and callTool. Configure your Worker with an AI binding and necessary environment variables (e.g., tokens for external services). In a fetch handler, load the MCP tools, send a user prompt to a Workers AI model, and handle any tool calls the model returns.

Key features of MCP Workers AI

  • Load multiple MCP server tools in a single Worker.
  • Call tools based on AI model‑selected tool calls.
  • Integrates seamlessly with Cloudflare Workers AI.
  • Supports tool result handling for multi‑turn conversations.
  • Works with standard MCP servers (e.g., GitLab, Slack).

Use cases of MCP Workers AI

  • Automate GitLab repository operations via natural language prompts.
  • Let an AI assistant interact with Slack channels and files.
  • Build Workers that combine external service actions with AI reasoning.
  • Prototype agent‑like workflows on Cloudflare’s edge platform.

常见问题

1

What is MCP?

MCP stands for Model Context Protocol, a protocol for providing tools to AI models. MCP Workers AI enables using MCP servers with Cloudflare Workers.

2

What dependencies are required?

You need a Cloudflare Workers project with an AI binding (`[ai] binding = "AI"`) and environment variables for the external services you connect to (e.g., `GITLAB_PERSONAL_ACCESS_TOKEN`).

3

Where does the tool data live?

Tool data is fetched from the external services at the time of invocation. The Worker environment holds credentials; no data is stored permanently by the SDK.

4

Which MCP servers are supported?

Any standard MCP server module compatible with the `@modelcontextprotocol/sdk` can be imported. Examples include `@modelcontextprotocol/server-gitlab` and `@modelcontextprotocol/server-slack`.

5

How are tools invoked?

The SDK exports `callTool`, which takes an object with `name` and `arguments` (typically provided by the AI model) and returns the tool’s response. That response can then be fed back into a subsequent AI inference call.

评论

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