OpenAPI to MCP Server
mcp-use/mcp-use
Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.
Type-safe OpenAPI consumption in TypeScript using openapi-typescript and openapi-fetch.
$ npx skills add getopenpost/openpost --skill openapi-typescript -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install getopenpost/openpost openapi-typescript --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/getopenpost/openpost.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/openapi-typescript .claude/skills/openapi-typescript && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "openapi-typescript" agent skill from https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescript into .claude/skills/openapi-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openapi-typescript", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescriptType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add getopenpost/openpost --skill openapi-typescript -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install getopenpost/openpost openapi-typescript --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getopenpost/openpost.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/openapi-typescript .agents/skills/openapi-typescript && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "openapi-typescript" agent skill from https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescript into .agents/skills/openapi-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openapi-typescript", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add getopenpost/openpost --skill openapi-typescript -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install getopenpost/openpost openapi-typescript --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getopenpost/openpost.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/openapi-typescript .cursor/skills/openapi-typescript && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "openapi-typescript" agent skill from https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescript into .cursor/skills/openapi-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openapi-typescript", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/getopenpost/openpost.git --path .agents/skills/openapi-typescript--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add getopenpost/openpost --skill openapi-typescript -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install getopenpost/openpost openapi-typescript --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getopenpost/openpost.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/openapi-typescript .gemini/skills/openapi-typescript && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "openapi-typescript" agent skill from https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescript into .gemini/skills/openapi-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openapi-typescript", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install getopenpost/openpost openapi-typescriptInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add getopenpost/openpost --skill openapi-typescript -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/getopenpost/openpost.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/openapi-typescript .github/skills/openapi-typescript && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "openapi-typescript" agent skill from https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescript into .github/skills/openapi-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openapi-typescript", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add getopenpost/openpost --skill openapi-typescript -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install getopenpost/openpost openapi-typescript --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/getopenpost/openpost.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/openapi-typescript .opencode/skills/openapi-typescript && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "openapi-typescript" agent skill from https://github.com/getopenpost/openpost/tree/main/.agents/skills/openapi-typescript into .opencode/skills/openapi-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "openapi-typescript", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
openapi-typescriptType-safe OpenAPI consumption in TypeScript using openapi-typescript and openapi-fetch.
Openapi Typescript is an agent skill from getopenpost/openpost. Type-safe OpenAPI consumption in TypeScript using openapi-typescript and openapi-fetch.
Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Backend & APIs, covering OpenAPI specifications. It works with OpenAPI, TypeScript and Svelte. The repository describes itself as: Create, adapt, schedule, and track social posts. Open-source, hosted or self-hosted. The licence is AGPL-3.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit ed8ad44. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npxFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Openapi Typescript loads about 887 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 133 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from getopenpost/openpost at commit ed8ad44, republished under its AGPL-3.0 licence (© getopenpost). 133 words, ~887 tokens.
.claude/skills/openapi-typescript/SKILL.md (or your agent's skills folder).Type-safe OpenAPI consumption in TypeScript. Generates runtime-free types from OpenAPI specs and provides a typed fetch client.
# Generate types from local spec
npx openapi-typescript openapi.json -o src/lib/api/types.d.ts
# Generate from running server
npx openapi-typescript http://localhost:8080/openapi.json -o src/lib/api/types.d.ts
# Check if types are up-to-date (CI)
npx openapi-typescript openapi.json -o src/lib/api/types.d.ts --checkimport createClient from "openapi-fetch";
import type { paths } from "./types";
const client = createClient<paths>({ baseUrl: "/api/v1" });
// GET with query params
const { data, error } = await client.GET("/posts", {
params: { query: { workspace_id: "123" } },
});
// POST with body
const { data, error } = await client.POST("/posts", {
body: { workspace_id: "123", content: "Hello", social_account_ids: [] },
});
// Path params
const { data } = await client.GET("/accounts/{platform}/auth-url", {
params: {
path: { platform: "x" },
query: { workspace_id: "123" },
},
});import createClient, { type Middleware } from "openapi-fetch";
const client = createClient<paths>({ baseUrl: "/api/v1" });
client.use({
async onRequest({ request }) {
const token = localStorage.getItem("token");
if (token) {
request.headers.set("Authorization", `Bearer ${token}`);
}
return request;
},
});// In client.ts
import type { paths, components } from "./types";
export type User = components["schemas"]["UserProfile"];
export type Workspace = components["schemas"]["WorkspaceResp"];
export type Post = components["schemas"]["PostResponse"];Huma returns RFC 9457 Problem Details:
const { data, error } = await client.POST("/auth/login", {
body: { email, password },
});
if (error) {
// error is typed based on response schemas
console.error(error.detail); // human-readable message
console.error(error.status); // HTTP status code
console.error(error.errors); // validation details
}<script lang="ts">
import { client, type Workspace } from '$lib/api/client';
let workspaces = $state<Workspace[]>([]);
async function load() {
const { data, error } = await client.GET('/workspaces');
if (!error && data) {
workspaces = data;
}
}
</script>/openapi.jsonopenapi-typescript generates types.d.tsopenapi-fetch provides fully typed client{
"scripts": {
"generate:types": "openapi-typescript openapi.json -o src/lib/api/types.d.ts"
}
}Status in OpenAPI schemas get treated as HTTP status codes — avoid on response body structs$schema field appears in generated types (Huma JSON Schema metadata) — ignore it in client code0001-01-01T00:00:00Z is Go's zero time — handle in frontend date formattingopenapi-typescript requires OpenAPI 3.0 or 3.1 (Huma generates 3.1)© getopenpost, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/openapi-typescript of getopenpost/openpost.
Open the folder on GitHubat commit ed8ad44
Openapi Typescript next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Openapi Typescript this skillgetopenpost/openpost | 653 | — | ~887 | Automated safety check: Pass | AGPL-3.0 | |
| OpenAPI to MCP Servermcp-use/mcp-use | 11k | — | ~5.2k | Automated safety check: Pass | Apache-2.0 | |
| Api2clialexknowshtml/api2cli | 455 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Projectsamchon/nestia | 2.2k | — | ~3k | Automated safety check: Pass | MIT | |
| API ContractChenyCHENYU/Robot_Admin | 1k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Typescriptscalar/scalar | 16k | — | ~1.1k | Automated safety check: Pass | MIT |
mcp-use/mcp-use
Turns an OpenAPI or Swagger spec into an MCP server with the mcp-use TypeScript SDK, mapping each operation to a tool, wiring auth, testing and deploying.
alexknowshtml/api2cli
Generate a working CLI from any API, then wrap it in a Claude Code skill.
samchon/nestia
Defines the nestia product contract, workspace layout, package boundaries, the Go plugin composition model, and canonical commands.
ChenyCHENYU/Robot_Admin
A skill your agent uses when: generating TypeScript API layer (type definitions + request functions) from page-spec JSON or Swagger/OpenAPI docs.
scalar/scalar
Write clear, predictable TypeScript and Vue TypeScript code with strong typing, maintainability, and consistent documentation conventions.
remorses/spiceflow
Spiceflow is a super simple, fast, and type-safe API and React Server Components framework for TypeScript.
getopenpost/openpost
Operate a running OpenPost instance through the openpost CLI.
getopenpost/openpost
Add or audit OpenPost interaction sounds with Cuelume. An agent skill from getopenpost/openpost.
getopenpost/openpost
Huma - Go REST/RPC API Framework. An agent skill from getopenpost/openpost.
getopenpost/openpost
Audit OpenPost marketing and documentation SEO with the pinned claude-seo toolkit.
getopenpost/openpost
Coordinate substantial OpenPost features, refactors, or multi-ticket work.
getopenpost/openpost
OpenPost acceptance bar for frontend UI and copy changes. An agent skill from getopenpost/openpost.
Works with
Categories
Type-safe OpenAPI consumption in TypeScript using openapi-typescript and openapi-fetch. Openapi Typescript is an agent skill from getopenpost/openpost. Type-safe OpenAPI consumption in TypeScript using openapi-typescript and openapi-fetch.
Openapi Typescript fits situations like: tasks that involve OpenAPI specifications.
Run `npx skills add getopenpost/openpost --skill openapi-typescript -a claude-code`. Or copy the skill folder (.agents/skills/openapi-typescript in getopenpost/openpost) into .claude/skills/openapi-typescript in your project. Claude Code loads it when a task matches its description.
Run `npx skills add getopenpost/openpost --skill openapi-typescript -a codex`. Or copy the skill folder (.agents/skills/openapi-typescript in getopenpost/openpost) into .agents/skills/openapi-typescript in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add getopenpost/openpost --skill openapi-typescript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openapi-typescript, .gemini/skills/openapi-typescript, .github/skills/openapi-typescript and .opencode/skills/openapi-typescript in your project.
Going by SKILL.md and its folder, Openapi Typescript needs the command-line tools its instructions call (npx). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Openapi Typescript is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 887 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Openapi Typescript: OpenAPI to MCP Server (mcp-use/mcp-use, 11k stars), Api2cli (alexknowshtml/api2cli, 455 stars), Project (samchon/nestia, 2.2k stars) and API Contract (ChenyCHENYU/Robot_Admin, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
getopenpost (a GitHub organization) maintains it in getopenpost/openpost, which has 653 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 6, 2026.
Source: getopenpost/openpost on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.