@dennisk2025/text-alternating-case
v1.0.0
Published
Transforms input text so that letters alternately switch between uppercase and lowercase, starting with uppercase. MCP server for Claude Desktop and modelcontextprotocol.
Readme
text-alternating-case-mcp
Transforms input text so that letters alternately switch between uppercase and lowercase, starting with uppercase. This is a Model Context Protocol (MCP) server for use with Claude Desktop and other tools that support MCP.
Installation
Using npm:
npm install @dennisk2025/text-alternating-case-mcpUsing npx (no install required):
npx @dennisk2025/text-alternating-case-mcpAdding to Claude Desktop
Add this to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Configuration Example
{
"mcpServers": {
"alternating-case": {
"command": "npx",
"args": ["@dennisk2025/text-alternating-case-mcp"]
}
}
}Usage
After launching Claude Desktop (with the above config), you can call the available tool:
Available Tools
alternateCase
- Description: Returns text with alternating uppercase and lowercase letters starting with uppercase, ignoring non-alphabetic characters.
- Parameters:
text(string, required): The text to be transformed
Example Tool Call
Input:
{
"tool": "alternateCase",
"params": {
"text": "hello world! this is MCP."
}
}Output:
{
"result": "HeLlO WoRlD! ThIs iS McP."
}You can use this tool to automatically format any text with an alternating uppercase/lowercase pattern, beginning with uppercase and skipping non-alphabetic characters for alternation.
