What is Brand.dev MCP?
Brand.dev MCP is a TypeScript client library that provides convenient access to the Brand Dev REST API. It is generated with Stainless and intended for server‑side TypeScript or JavaScript applications needing brand data retrieval by domain.
How to use Brand.dev MCP?
Install the library via npm install brand.dev, import BrandDev, and create a client with your API key (defaults to process.env['BRAND_DEV_API_KEY']). Use the client’s methods, e.g., client.brand.retrieve({ domain: 'example.com' }), to make API calls. The full API documentation is available in api.md.
Key features of Brand.dev MCP
- Full TypeScript definitions for all request params and response fields.
- Automatic retries (2 times by default) with exponential backoff.
- Configurable request timeouts (default 1 minute).
- Access to raw HTTP response headers and status via
.asResponse() or .withResponse().
- Customisable logging with multiple log levels and support for third‑party loggers.
- Supports Node.js 20+, Deno, Bun, modern browsers, Cloudflare Workers, Vercel Edge Runtime, and more.
Use cases of Brand.dev MCP
- Retrieve brand information for a given domain.
- Build server‑side applications that integrate with the Brand Dev API.
- Add brand intelligence features to TypeScript or JavaScript projects.
- Automate brand data lookups in CI/CD pipelines or backend services.
コメント