Skip to content

Multiple STDIO servers cause Regex error #206

Closed as duplicate
Closed as duplicate

Description

@Lizzergas

Having two MCP servers with STDIO transport layer causes Claude Client to fail with this error:
tools.0.FrontendRemoteMcpToolDefinition.name: String should match pattern '^[a-zA-Z0-9_]{1,64}$'

When enabling STDIO MCP servers individually, there is no error.

Here is my config that I am using.

    "todo-mcp": {
      "command": "java",
      "args": [
        "-jar",
        "/Users/lizz/src/kotlin/kotlin-playground/todo-mcp/todo-mcp-server/build/libs/todo-mcp-server-1.0-SNAPSHOT-all.jar"
      ]
    },
    "gcal-mcp": {
      "command": "java",
      "args": [
        "-jar",
        "/Users/lizz/src/kotlin/kotlin-playground/lizz-gcal-mcp/build/libs/lizz-gcal-mcp-1.0-SNAPSHOT-all.jar"
      ]
    },

To Reproduce

Steps to reproduce the behavior:

  1. Create two simple local MCP servers with at least one tool that can print anything like "Hello World
    1.1. Or git clone my simple MCP servers and use them for reproduction. Repo 1 / Repo 2
  2. Connect and enable both of them in any MCP host
  3. Test out by writing these prompts: "list out my todos" or "run gcal Test Tool"

Expected behavior
Running multiple local MCP servers should work with any client

Additional context

  • Note: I haven't tested with other MCP hosts and clients
  • No error logs are found in Claude logs in any given tools

Activity

  1. Lizzergas commented on Jul 29, 2025

    @Lizzergas
    Author
  2. added theissue type on Jul 29, 2025
  3. added
    wontfixThis will not be worked on
    and removed
    bugSomething isn't working
    on Apr 1, 2026
  4. removed theissue type on Apr 1, 2026
  5. added
    duplicateThis issue or pull request already exists
    and removed
    wontfixThis will not be worked on
    on Apr 1, 2026
  6. added theissue type on Apr 1, 2026
  7. devcrocod commented on Apr 1, 2026

    @devcrocod
    Contributor

    Closing as duplicate of #417 (SEP-986: Tool Name Guidance), which tracks adding tool name validation to the SDK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions