MCPcopy Create free account
hub / github.com/modelcontextprotocol/typescript-sdk / mcp.test.ts

File mcp.test.ts

test/server/mcp.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Client } from '../../src/client/index.js';
2import { InMemoryTransport } from '../../src/inMemory.js';
3import { getDisplayName } from '../../src/shared/metadataUtils.js';
4import { UriTemplate } from '../../src/shared/uriTemplate.js';

Callers

nothing calls this directly

Calls 15

completableFunction · 0.85
getDisplayNameFunction · 0.85
createLinkedPairMethod · 0.80
toolMethod · 0.80
getServerCapabilitiesMethod · 0.80
getClientCapabilitiesMethod · 0.80
toStringMethod · 0.80
listCallbackMethod · 0.80
registerToolMethod · 0.80
parseMethod · 0.80
registerToolTaskMethod · 0.80
resourceMethod · 0.80

Tested by

no test coverage detected