tool-name-normalization-mcp-server

tool-name-normalization-mcp-server

A throwaway HTTP MCP server that empirically tests whether Cursor invokes tools by exact name or munges them, to inform case normalization decisions.

Category
Visit Server

README

tool-name-normalization-mcp-server

A throwaway HTTP MCP server to answer one question empirically:

Does the MCP host (Cursor specifically) invoke a tool by the exact advertised name, or does it munge the name (lowercase / snake-case) first?

This matters because Glean's MCP server dispatches tool calls by exact, case-sensitive name lookup. PR #147939 (May 2025) added server-side lowercasing specifically because Cursor at the time normalized Glean Search → glean_search client-side and then invoked the munged name, breaking lookup. We want to know whether that's still true before dropping case normalization from the server (so built-in / pyagents CAPITAL_CASE names and external camelCase gateway names can be preserved verbatim).

Findings (2026-06-25)

Validated: current Cursor invokes MCP tool names verbatim — no lowercasing, no snake-casing, not even for names with spaces or capitals. All 8 probe tools (including SCREAMING_SNAKE_TOOL, camelCaseTool, and Glean Search) round-tripped exactly; report_call_log reported 8 calls, 0 mismatches. The munging that motivated scio#147939 — Cursor rewriting Glean Search → glean_search before invoking — is fixed. Full table and caveats in TEST_PLAN.md.

Add to Cursor (one-click)

The Render deployment must be live first. Clicking a button opens Cursor with the server config pre-filled; confirm to install, then run the prompts in TEST_PLAN.md.

Stateful (recommended for Cursor): Add to Cursor

Stateless: Add to Cursor

How it works

The server advertises tools spanning every casing style:

Tool name Style
snake_case_tool control (already snake_case)
camelCaseTool camelCase
PascalCaseTool PascalCase
SCREAMING_SNAKE_TOOL CAPITAL_CASE (pyagents action-name analog)
kebab-case-tool kebab-case
mixedCASE_Tool_v2 mixed
addCommentToJiraIssue the real external-gateway example
Glean Search contains a space — the literal #147939 case

It uses a catch-all tools/call handler, so even a call whose name matches no advertised tool is captured (not rejected). Every call echoes the exact received name; report_call_log dumps the full advertised-vs-received history.

If Cursor calls SCREAMING_SNAKE_TOOL verbatim → no munging, case preservation is safe. If it arrives as screaming_snake_tool (or camelCaseTool arrives as camelcasetool / camel_case_tool) → Cursor still munges, and we need tolerant inbound matching on the server.

Local

mise run start:http              # stateful, port 3000
node testing/probe.mjs           # smoke test against it

Deploy (Render)

render.yaml defines two free web services (-stateless and -stateful). Connect the GitHub repo as a Render Blueprint; stable URLs:

  • https://tool-name-normalization-mcp-server-8ghm.onrender.com/mcp
  • https://tool-name-normalization-mcp-server.onrender.com/mcp

Test with Cursor

  1. Add the deployed URL as an MCP server in Cursor settings.
  2. In chat, ask Cursor to call each tool from this server, then call report_call_log.
  3. Compare received vs the advertised names. Server-side logs ([tool-name-probe] …) in the Render dashboard show the same data.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured