mcp-server-letter-counter

mcp-server-letter-counter

3.5

A MCP letter counter

The MCP Server Count Letters is a specialized Model Context Protocol (MCP) server designed to count the occurrences of a specified letter within a given word. It is a simple yet effective tool that demonstrates the capabilities of MCP technology in handling specific tasks. The server is equipped with a custom URI scheme, mcp://, which is used for handling resources related to the letters 'r' in words like 'strawberry' and 'raspberry'. This server is a practical example of how MCP can be utilized to perform specific functions, such as counting letters, which can be particularly useful in language processing tasks. The server is also featured in a blog post that guides users through the process of building an MCP server for letter counting.

Features

  • Custom mcp:// URI scheme for handling specific letters
  • Counts occurrences of a specified letter in a word
  • Simple note storage system for managing resources

MCP Tools

  • count_letter: Counts the occurrences of a specified letter. Takes 'word' and 'letter' as required string arguments and returns an integer of the occurrences.

Usage with Different Platforms

mcp

mcp://strawberry/raspberry