TS Agent SDK Generator
Generates type-safe TypeScript SDKs from MCP server definitions to streamline AI agent interactions with web applications.
This skill automates the creation of typed TypeScript SDKs for AI agents like Claude Code, bridging the gap between verbose JSON-RPC protocols and clean programmatic interfaces. By scanning project source code for MCP (Model Context Protocol) tool definitions, it automatically generates Zod-backed TypeScript interfaces, client classes, and runnable example scripts. It is particularly useful for developers building MCP-enabled applications who want to eliminate manual curl commands, validate inputs/outputs, and allow Claude Code to manage applications through structured, reusable scripts.
Key Features
01Automated creation of runnable example scripts for rapid testing
02Conversion of Zod schemas into type-safe TypeScript interfaces
03Built-in error handling for authentication, validation, and network issues
04Automatic MCP tool detection from server source code
05Generation of module-based client classes with clean function signatures
06122 GitHub stars
Use Cases
01Accelerating MCP server development by auto-generating client-side SDKs and tests
02Building type-safe programmatic bridges for Claude Code to interact with internal APIs
03Replacing complex JSON-RPC curl commands with simple, documented function calls