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

Function createClient

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

Source from the content-addressed store, hash-verified

165// cfworker validator does not use code generation and works in every
166// runtime we ship to.
167const createClient = (): Client =>
168 new Client(
169 { name: "executor-mcp", version: "0.1.0" },
170 {
171 capabilities: { elicitation: { form: {}, url: {} } },
172 jsonSchemaValidator: new CfWorkerJsonSchemaValidator(),
173 },
174 );
175
176const connectionFromClient = (client: Client): McpConnection => ({
177 client,

Callers 1

connectClientFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected