@orval/mcp
TypeScript icon, indicating that this package has built-in type declarations

7.10.0 • Public • Published

npm version License: MIT tests

orval - Restfull Client Generator

Visit orval.dev for docs, guides, API and beer!

Code Generation

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats.

Generate, valid, cache and mock in your React, Vue, Svelte and Angular applications all with your OpenAPI specification.

How to use the generated mcp server

Add a setting to the mcp client to launch the generated server.ts. For example, like this:

"pet-store-server": {
  "command": "docker",
  "args": [
    "run",
    "-i",
    "--rm",
    "pet-store-mcp",
    "bash",
    "-c",
    "ts-node",
    "src/gen/server.ts"
  ],
  "disabled": false,
  "alwaysAllow": []
}

Here, src/gen/server.ts is started using Docker.

Samples

You can find below some samples

Readme

Keywords

none

Package Sidebar

Install

npm i @orval/mcp

Weekly Downloads

137,453

Version

7.10.0

License

MIT

Unpacked Size

60.4 kB

Total Files

5

Last publish

Collaborators

  • anymaniax