Website and curated API catalog: pontx.dev
API lifecycle management tool built on the Pontx-Spec protocol (compatible with OAS2/OAS3, supporting ROA/RPC). Provides API search, documentation generation, code generation, and SDK management.
- Protocol Compatible — Extended Pontx-Spec protocol based on OAS2/OAS3, supporting both ROA and RPC styles
- Code Generation — Generate type-safe client code from API definitions, multi-language support
- VSCode Extension — API explorer, smart search, documentation viewer, one-click code generation
- MCP Server — API search and code generation capabilities for AI tools
- Multi-platform SDK — Browser and Node.js SDKs, ready to use out of the box
- CLI Tool — Manage API metadata, validation, diff analysis, and code generation from the command line
| Package | Version | Description |
|---|---|---|
| pontx | 1.0.0-beta.1 | CLI tool & core engine |
| @pontx/spec | 1.0.0-beta.1 | Pontx-Spec protocol definitions |
| @pontx/mcp | 1.0.0-beta.0 | MCP Server implementation |
| vscode-pontx | 2.0.8 | VSCode extension |
| oas-spec-ts | 0.6.4 | OAS2/OAS3 TypeScript types |
| Package | Version | Description |
|---|---|---|
| @pontx/sdk | 1.0.0-beta.1 | Shared core utilities (Browser & Node.js) |
| @pontx/sdk-browser-client | 0.0.11 | Browser SDK |
| @pontx/nodejs-sdk | 0.1.0 | Node.js SDK (>= 18) |
| Package | Description |
|---|---|
| plugin-egg | Egg.js framework plugin |
npm install pontx -gPontx provides an AI Skill that helps AI assistants (Claude Code, Gemini CLI, etc.) understand your APIs and generate accurate code.
pontx skill
npx skills add https://github.com/pontjs/pontx --skill pontxThis installs a structured workflow guide into your project, enabling AI assistants to search APIs, generate type-safe code, and call APIs with full context — no manual prompting needed.
Tip: Run
pontx skillin every project that uses APIs — it's the fastest way to get AI-powered API development.
Create a pontx.config.ts in your project root:
import { PontxConfig } from "pontx";
export default {
origins: [
{
name: "petstore",
url: "https://petstore.swagger.io/v2/swagger.json",
},
],
} as PontxConfig;pontx generateimport { createClient } from "@pontx/nodejs-sdk";
const client = createClient({
baseURL: "https://api.example.com",
});- Node.js >= 18.0.0
- pnpm >= 8.0.0
pnpm installpnpm build:allpnpm test# Create a changeset
pnpm changeset
# Update versions
pnpm changeset:version
# Publish to npm
pnpm changeset:publish- Language: TypeScript 5+
- Build: Rollup / esbuild / tsup / webpack
- Testing: Vitest
- Frontend: React + Vite + TailwindCSS
- Package Management: pnpm workspace + Changesets
MIT