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_migration

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

start_migration

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_tracking

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

audit_vuex_stores

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

audit_mixins

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

audit_api_migration

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

audit_components

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

get_migration_summary

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

configure_migration

Configure migration source and target paths.

generate_pinia_store

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

generate_composable

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

generate_component

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

generate_api

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

generate_type

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

write_file

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

list_target_structure

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

generate_from_audit

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

write_generated_files

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

audit_async_data

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

audit_esm_compatibility

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

audit_nuxt4_structure

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

audit_deprecated_modules

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

generate_async_data_composable

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