mcpField
M
mcp-server-count-letters MCP server

mcp-server-count-letters MCP server

Local
github.com/higherpassDeveloper Tools0Updated 79w ago

About mcp-server-count-letters MCP server

A small MCP server that counts occurrences of a specified letter in a word. It also includes a custom `mcp://` resource scheme and serves as the code sample for a blog post about building an MCP server.

Key features

  1. 01Count occurrences of a letter
  2. 02Accept word and letter arguments
  3. 03Return an integer count
  4. 04Provide a custom `mcp://` resource

Use cases

  1. 01Count a letter in a word
  2. 02Explore a basic MCP tool
  3. 03Use a letter-counting code sample

MCP support

The MCP server exposes a `count_letter` tool that accepts a word and letter, plus a custom `mcp://` resource scheme for r's in strawberry and raspberry.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-server-count-letters MCP server

A MCP letter counter

Components

Resources

The server implements a simple note storage system with:

  • Custom mcp:// URI scheme for r's in strawberry and raspberry
Tools

The server implements two tools:

  • count_letter: counts the occurrences of a specified letter
    • Takes "word" and "letter" as required string arguments
    • Returns an integer of the occurences

This MCP server is the working code sample of the blog post Building a MCP Server so LLMs Can Count Letters

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.