草莓字母统计MCP服务器

@scaryrawr/strawberry-mcp
0 Stars 15 次浏览 scaryrawr 更新于 2026-08-23

一个MCP服务器,它使大型语言模型能够统计单词中特定字母出现的次数,作为模型上下文协议的学习示例创建。

该服务暂未提供标准配置,请参考 README 手动接入

服务介绍

字母计数 MCP 服务器 (strawberry-mcp)

这是一个使用来自使用 LLM 构建 MCP的指令生成的 LLM MCP 服务器。

其目的是作为一个玩笑/学习示例来解决草莓 LLM 问题。

提示

原始提示参考了 llms-full.mdtypescript-sdk README,以指导构建 MCP 服务器。

提示内容如下:

We're going to build an MCP server. We can look at `llms-full.md` for some general guidance and examples. `typescript-sdk-README.md` to understand the typescript-sdk for MCP.

Build an MCP server that:

- Enables the LLM to count letter occurrences in a word
- It should provide a tool that the LLM can pass a word + the letter they want to count

We should keep the code well organized. We should add unit tests. Please setup build and test scripts in the package.json. We should be able to test the letter counter without having to run the MCP server.

We should be able to have the LLM do something like:

count strawberry r and get back 3.