Skip to main content
Glama
gapra

@gapra/nuxt-migration-mcp

by gapra

generate_pinia_store

Generate a Pinia store file with state, actions, and getters in a Nuxt 4 project. Specify store name, relative path, and optional module.

Instructions

Generate a Pinia store in the target Nuxt 4 codebase. Creates a new store file with state, actions, and getters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the store (e.g., 'user', 'auth')
relativePathYesRelative path in target (e.g., 'stores/user.ts')
moduleNoOptional module name to prefix path (e.g., 'deals', 'tickets')
targetPathNoOptional absolute target path override
statePropertiesNoOptional state properties to include
actionsNoOptional actions to include
gettersNoOptional getters to include

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