字母计数MCP服务器

一个基于LLM生成的MCP服务器,用于统计单词中字母的出现次数,适用于学习和测试场景。

  • by scaryrawr
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 scaryrawr/strawberry-mcp

使用说明

信件计数器MCP服务器(草莓MCP)

这是一个LLM生成的mcp服务器,使用以下指令 使用LLM构建MCP.

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

提示

原始提示引用了 llms-full.md 和 typescript-sdk自述文件 以获取构建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.