Skip to main content
Glama
gapra

@gapra/nuxt-migration-mcp

by gapra

generate_api

Generate API functions with async/await pattern in a Nuxt 4 codebase. Define name, path, and HTTP methods to create server endpoints.

Instructions

Generate API functions in the target Nuxt 4 codebase. Creates a new API file with async/await pattern.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the API (e.g., 'user', 'products')
relativePathYesRelative path in target (e.g., 'api/users.ts')
moduleNoOptional module name to prefix path (e.g., 'deals', 'tickets')
targetPathNoOptional absolute target path override
methodsNoHTTP methods to generate (get, post, put, delete)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gapra/gp-nuxt-migration-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server