Skip to main content
Glama
gapra

@gapra/nuxt-migration-mcp

by gapra

generate_component

Creates a Vue component in a Nuxt 4 codebase using Composition API. Supports props, emits, and optional Pinia store integration.

Instructions

Generate a Vue component in the target Nuxt 4 codebase. Creates a new component with Composition API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the component (e.g., 'UserCard', 'Button')
relativePathYesRelative path in target (e.g., 'components/UserCard.vue')
moduleNoOptional module name to prefix path (e.g., 'deals', 'tickets')
targetPathNoOptional absolute target path override
propsNoOptional props to include
emitsNoOptional emits to include
hasStoreNoWhether component uses a Pinia store
storeNameNoName of the store if hasStore is true

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