Skip to content

feat: support accented characters in MCP server titles#12174

Open
ucodia wants to merge 3 commits intodanny-avila:mainfrom
ucodia:claude/fix-mcp-accent-support-UBEjT
Open

feat: support accented characters in MCP server titles#12174
ucodia wants to merge 3 commits intodanny-avila:mainfrom
ucodia:claude/fix-mcp-accent-support-UBEjT

Conversation

@ucodia
Copy link
Contributor

@ucodia ucodia commented Mar 11, 2026

Summary

Update MCP server title validation regex to use Unicode property escapes (\p{L} and \p{N}) instead of ASCII-only character classes. This allows letters from any language (French, German, Japanese, etc.) in MCP server titles. Also permits apostrophes and hyphens for titles like "Génération d'images".

Changes:

  • packages/data-provider/src/mcp.ts: backend Zod validation
  • client BasicInfoSection.tsx: frontend form validation
  • English locale: updated error message text

Change Type

Please delete any irrelevant options.

  • New feature (non-breaking change which adds functionality)

Testing

  1. Create a MCP server configuration with accents and apostrophes
mcpServers:
  my-tools:
    type: sse
    url: "${MY_MCP_URL}/sse"
    title: "Générateur d'images"
  1. Start up the docker stack with docker compose up -d
  2. Verify in Docker logs that there are no validation errors and that the tool calls are functional.

Test Configuration:

Checklist

Please delete any irrelevant options.

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • I have made pertinent documentation changes
  • My changes do not introduce new warnings

Update title validation regex to use Unicode property escapes (\p{L}
and \p{N}) instead of ASCII-only character classes. This allows letters
from any language (French, German, Japanese, etc.) in MCP server titles.
Also permits apostrophes and hyphens for titles like "Génération d'images".

Changes:
- packages/data-provider/src/mcp.ts: backend Zod validation
- client BasicInfoSection.tsx: frontend form validation
- English locale: updated error message text
@ucodia ucodia marked this pull request as ready for review March 11, 2026 01:36
@ucodia ucodia changed the title fix: support accented characters in MCP server titles feat: support accented characters in MCP server titles Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants