MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / readStamp

Function readStamp

packages/plugins/mcp/src/sdk/plugin.ts:193–197  ·  view source on GitHub ↗
(annotations: unknown)

Source from the content-addressed store, hash-verified

191const decodeStamp = Schema.decodeUnknownOption(AnnotationsWithStamp);
192
193const readStamp = (annotations: unknown): McpToolStamp | null =>
194 Option.match(decodeStamp(annotations), {
195 onNone: () => null,
196 onSome: (decoded) => decoded.mcp,
197 });
198
199// ---------------------------------------------------------------------------
200// Extension input shapes — `addServer` registers an MCP integration. A

Callers 1

plugin.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected