MCPCat API is a TypeScript/JavaScript SDK for interacting with the MCPCat service. Version 0.1.8 provides a generated client using the Fetch API, supporting both Node.js and browser environments. It compiles to ES5/ES6 and works with CommonJS or ES module systems, with built-in TypeScript definitions. The SDK is generated from OpenAPI specs and is in early development with a focus on type safety and REST API integration.
npm install mcpcat-apiVerified import paths — ran on the pinned version, not inferred.
Initializes the MCPCat API client with base URL and API key, then fetches a list of models.
Use Node.js 18+ or polyfill global fetch.
Replace 'baseUri' with 'basePath' in the configuration object.
Ensure apiKey is a string, e.g., from environment variables.
Upgrade to Node.js 18+ or install a fetch polyfill like 'node-fetch'.
Pass an apiKey property when creating a new MCPCatApi instance.
Wrap API calls in try-catch blocks to handle errors.
No dependency data recorded yet.