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

Function createClient

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

Source from the content-addressed store, hash-verified

202// cfworker validator does not use code generation and works in every
203// runtime we ship to.
204const createClient = (): Client =>
205 new Client(
206 { name: "executor-mcp", version: "0.1.0" },
207 {
208 capabilities: { elicitation: { form: {}, url: {} } },
209 jsonSchemaValidator: new CfWorkerJsonSchemaValidator(),
210 },
211 );
212
213const connectionFromClient = (client: Client): McpConnection => ({
214 client,

Callers 1

connectClientFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected