UNPKG

mcp-server-ddd-sample

Version:

A sample of MCP implementation using DDD structure with some APIs call.

10 lines (9 loc) 206 B
export class BlockRequestService { client; constructor(client) { this.client = client; } async getBlock({ hash, }) { return this.client.makeRequest(`block/${hash}`); } }