Skip to content

Bug: MCP Inspector on latest@v2.1.0 doesn't attach Mcp-Name in the request header #1938

Description

@Hritik003

Which version line?

v2 — current (@modelcontextprotocol/inspector@latest)

Which client?

Web

Inspector version

2.1.0

Node version

v23.11.0

Operating system (and browser, for the web client)

macos

Transport

Streamable HTTP

MCP server under inspection

Server: github
Protocol era: modern
oauth: no

Steps to reproduce

  1. Run npx mcpinspector@latest
  2. attach a server
  3. hit tool/call

Expected behavior

Tool call to be successful

Actual behavior

Tool Error
Error POSTing to endpoint: {"error":{"code":-32603,"message":"backend error: backend returned status 400: {\"jsonrpc\":\"2.0\",\"id\":7,\"error\":{\"code\":-32020,\"message\":\"missing required Mcp-Name header for method \\\"tools/call\\\"\"}}"},"id":7,"jsonrpc":"2.0"}

Logs, errors, or screenshots

Image

Already prototyped a fix?

No response

Before you submit

  • I searched existing issues and this is not a duplicate.
  • This is not a security vulnerability report (those go through the private advisory process).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions