mcpField
N
new-user

new-user

github.com/medusajsDevelopment2343.0k installsUpdated 1w ago
Repository

About new-user

A task skill for creating an admin user in Medusa from an email address and password. It runs the Medusa user command and reports the result, including errors and suggested next steps.

Key features

  1. 01Takes an email and password
  2. 02Runs the Medusa user command
  3. 03Reports creation status and errors
  4. 04Provides suggested next steps

Use cases

  1. 01Creating a Medusa admin account
  2. 02Setting up an admin before dashboard login

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/medusajs/medusa-agent-skills --skill new-user

After installing, type/new-userin Claude Code to confirm it loaded.

Details

From the project README

Create Admin User

Create a new admin user in Medusa with the specified email and password.

The user will provide two arguments:

  • First argument: email address
  • Second argument: password

For example: /medusa-dev:user [email protected] supersecret

Use the Bash tool to execute the command npx medusa user -e <email> -p <password>, replacing <email> with the first argument and <password> with the second argument.

Report the results to the user, including:

  • Confirmation that the admin user was created successfully
  • The email address of the created user
  • Any errors that occurred
  • Next steps (e.g., logging in to the admin dashboard)

Comments

Markdown supported