
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@kubb/mcp
Advanced tools
MCP server for Kubb. Exposes code generation as a tool over the Model Context Protocol so AI assistants like Claude, Cursor, and other MCP-compatible clients can generate TypeScript types, clients, and more.
MCP server for Kubb. Exposes code generation as a tool over the Model Context Protocol so AI assistants like Claude, Cursor, and other MCP-compatible clients can generate TypeScript types, API clients, and more using natural language.
The server exposes a generate tool that runs a full Kubb build from a kubb.config.ts. It streams build events back to the client as real-time progress notifications. The server communicates over stdio and works with any MCP-compatible client.
Install as a dev dependency:
bun add -D @kubb/mcp
# or
pnpm add -D @kubb/mcp
# or
npm install -D @kubb/mcp
[!IMPORTANT] You also need to install
@kubb/clito use thekubb mcpcommand.
Start the server using the Kubb CLI:
npx kubb mcp
Or run it directly as a standalone package:
npx @kubb/mcp
This starts an MCP server that communicates via stdio (standard input/output), making it compatible with MCP clients.
Add to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json):
Using kubb mcp:
{
"mcpServers": {
"kubb": {
"command": "npx",
"args": ["kubb", "mcp"]
}
}
}
Using the standalone package:
{
"mcpServers": {
"kubb": {
"command": "npx",
"args": ["@kubb/mcp"]
}
}
}
For project-specific configurations, you can specify the working directory:
{
"mcpServers": {
"kubb-petstore": {
"command": "npx",
"args": ["@kubb/mcp"],
"cwd": "/path/to/your/project"
}
}
}
generateGenerate code from OpenAPI/Swagger specifications using Kubb configuration.
Parameters:
config (string, optional): Path to kubb.config.ts file. If not provided, looks for kubb.config.ts in current directoryinput (string, optional): Path to OpenAPI/Swagger spec file (overrides config file setting)output (string, optional): Output directory path (overrides config file setting)logLevel (enum, optional): Control logging verbosity, one of 'silent', 'info', 'verbose' (default: 'info')Examples:
Using default config file:
{
"config": "./kubb.config.ts"
}
Overriding input and output:
{
"config": "./kubb.config.ts",
"input": "./specs/petstore.yaml",
"output": "./src/generated"
}
With verbose logging:
{
"config": "./kubb.config.ts",
"logLevel": "verbose"
}
The build tool looks for kubb.config.ts in the current directory by default. You can also provide an inline configuration or path to a config file.
Example kubb.config.ts:
import { defineConfig } from 'kubb'
import { adapterOas } from '@kubb/adapter-oas'
import { pluginTs } from '@kubb/plugin-ts'
import { pluginAxios } from '@kubb/plugin-axios'
export default defineConfig({
input: './petstore.yaml',
output: {
path: './src/generated',
},
adapter: adapterOas(),
plugins: [pluginTs(), pluginAxios()],
})
Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
FAQs
MCP server for Kubb. Exposes code generation as a tool over the Model Context Protocol so AI assistants like Claude, Cursor, and other MCP-compatible clients can generate TypeScript types, clients, and more.
The npm package @kubb/mcp receives a total of 14,483 weekly downloads. As such, @kubb/mcp popularity was classified as popular.
We found that @kubb/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.