Skip to content

Import Error: isJSONRPCResponse not exported from @modelcontextprotocol/sdk@1.25.0 #1302

@L0821

Description

@L0821

Describe the bug
When building the project, encountering a module import error from @modelcontextprotocol/sdk@1.25.0, but ‘isJSONRPCResponse’ are not exported from the package.

To Reproduce
Steps to reproduce the behavior:

  1. import { isJSONRPCResponse, isJSONRPCError, isJSONRPCRequest } from "@modelcontextprotocol/sdk/types.js";
  2. pnpm run build

Metadata

Metadata

Assignees

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