Skip to main content
Glama
gapra

@gapra/nuxt-migration-mcp

by gapra

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MIGRATION_SOURCE_PATHNoPath to the source Nuxt 2 project
MIGRATION_TARGET_PATHNoPath to the target Nuxt 4 project

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
audit_nuxt_migrationB

Audit source codebase for Nuxt 2 to Nuxt 4 migration issues. Detects Options API, Vuex, SCSS, RxJS, mixins, and other legacy patterns.

start_migrationA

Start full Nuxt 2 to Nuxt 3/4 migration process. Automatically detects MIGRATION_SOURCE_PATH from .env, config file, or environment variables. Runs comprehensive audit of the entire codebase including components, stores, composables, API layer, and tracking patterns.

audit_trackingB

Audit source codebase for analytics tracking calls and feature flags. Finds Mixpanel, gtag, dataLayer, and other tracking patterns.

audit_vuex_storesA

Audit Vuex stores and suggest migration to Pinia. Identifies state, mutations, actions, and getters to convert.

audit_mixinsA

Audit Vue mixins and suggest conversion to composables. Identifies data, methods, and computed properties to extract.

audit_api_migrationB

Audit API layer for RxJS Observables and suggest conversion to async/await pattern.

audit_componentsB

Audit Vue components for Options API and SCSS usage. Recommends Composition API and Atomic CSS migration.

get_migration_summaryA

Get summary of migration status including source/target paths and recommended migration order.

configure_migrationB

Configure migration source and target paths.

generate_pinia_storeB

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

generate_composableB

Generate a composable in the target Nuxt 4 codebase. Creates a new composable file with Vue 3 Composition API.

generate_componentC

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

generate_apiB

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

generate_typeC

Generate a TypeScript type/interface in the target Nuxt 4 codebase.

write_fileC

Write any content to a file in the target Nuxt 4 codebase.

list_target_structureA

List the directory structure of the target Nuxt 4 codebase. Useful for understanding existing folder structure.

generate_from_auditC

Auto-generate files based on audit findings with intelligent path mapping. Scans source and creates corresponding files in target following Nuxt patterns.

write_generated_filesA

Write multiple generated files to target. Use with generate_from_audit output.

audit_async_dataB

Detect Nuxt 2 asyncData() and fetch() lifecycle hooks that must be converted to useAsyncData() or useFetch() in Nuxt 3/4.

audit_esm_compatibilityA

Audit source codebase for CommonJS patterns (require, module.exports, __dirname) incompatible with Nuxt 3/4 ESM-only environment.

audit_nuxt4_structureA

Audit the project directory structure for Nuxt 4 compatibility. Nuxt 4 requires source files inside an app/ subdirectory.

audit_deprecated_modulesA

Detect deprecated @nuxtjs/* modules in package.json and nuxt.config that are incompatible with Nuxt 3/4. Suggests modern replacements.

generate_async_data_composableB

Generate a useAsyncData composable to replace Nuxt 2 asyncData() or fetch() lifecycle hooks.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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