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

Function createClient

packages/plugins/mcp/src/sdk/connection.ts:195–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193// cfworker validator does not use code generation and works in every
194// runtime we ship to.
195const createClient = (): Client =>
196 new Client(
197 { name: "executor-mcp", version: "0.1.0" },
198 {
199 capabilities: { elicitation: { form: {}, url: {} } },
200 jsonSchemaValidator: new CfWorkerJsonSchemaValidator(),
201 },
202 );
203
204const connectionFromClient = (client: Client): McpConnection => ({
205 client,

Callers 1

connectClientFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected