Z User
phase7: MCP stdio smoke test (handshake + tools/list + get_roots 6:74) — 4/4 tests PASS
54a6341 Download node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts from bravesigma/quran-md-plugin: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts
- Command line
-
hf download hf://datasets/bravesigma/quran-md-plugin/node_modules/@modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts
-
curl -L -o metadataUtils.d.ts https://huggingface.co/datasets/bravesigma/quran-md-plugin/resolve/main/node_modules/%40modelcontextprotocol/sdk/dist/cjs/shared/metadataUtils.d.ts
575 Bytes
| import { BaseMetadata } from '../types.js'; | |
| /** | |
| * Utilities for working with BaseMetadata objects. | |
| */ | |
| /** | |
| * Gets the display name for an object with BaseMetadata. | |
| * For tools, the precedence is: title → annotations.title → name | |
| * For other objects: title → name | |
| * This implements the spec requirement: "if no title is provided, name should be used for display purposes" | |
| */ | |
| export declare function getDisplayName(metadata: BaseMetadata | (BaseMetadata & { | |
| annotations?: { | |
| title?: string; | |
| }; | |
| })): string; | |
| //# sourceMappingURL=metadataUtils.d.ts.map |