• IDENTITY
  • SECURITY
  • SESSIONS
  • MANUAL

How to manage user profiles with your AI

Connect Nhost to your AI client to handle account updates and session states through chat.

Ask AI about this page

Short answer

Can my AI manage my Nhost user account?

Yes. Your AI can pull your current profile data, change your email, or refresh your session tokens. You'll see how these actions map to specific account changes below.

Account management outcomes

Where your data lands

These are the specific ways your AI interacts with Nhost user data.

IDENTITY

View profile data

The AI pulls your current user details. You get immediate access to your account status without opening a dashboard.

SECURITY

Update email address

The AI handles email changes for you. This updates your primary contact info in Nhost instantly.

SESSIONS

Refresh access tokens

The AI keeps your session active. It handles token updates to prevent your connection from timing out.

MANUAL

Human intervention needed

Sensitive actions like deleting an entire account or changing passwords require you to log in to the Nhost dashboard manually.

The workflow

What your AI does when a profile request arrives.

The AI uses specific Nhost tools to execute your commands.

  1. Fetch profile info

    The AI looks up your current identity and account details to confirm who is making the request.

    get_user
  2. Update contact info

    When you ask to change your email, the AI sends the new address to Nhost to update your record.

    change_email
  3. Maintain session

    The AI refreshes your authentication state to ensure you stay logged in during a conversation.

    refresh_token
  4. Start new session

    If you need to start a fresh, unauthenticated session, the AI can trigger an anonymous sign-in.

    signin_anonymous

Try it

Copy these to start.

Use these prompts to trigger Nhost actions.

Starting points

These are basic requests. Swap in your specific email or account details where needed.

Nhost Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_MFFyb71fXEU1fDy4Y51JTMmYHnFDWoQWhoWKMoU6/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Nhost capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "nhost-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_MFFyb71fXEU1fDy4Y51JTMmYHnFDWoQWhoWKMoU6/mcp"
    }
  }
}
Copy into chat04
  • Show me my current user profile details.

  • Change my account email to alex.smith@example.com.

  • Refresh my current session token.

  • Sign me in anonymously to test the connection.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Nhost once, then ask.

Just link your Nhost account. Your credentials stay encrypted, and you can start managing your profile immediately.

Connect Nhost to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my password?

    No. The AI can only change your email address. Password updates must be done through the Nhost dashboard.

  • 02

    Can the AI delete my user account?

    No. There is no tool available for the AI to delete user accounts.

  • 03

    Does the AI see my password?

    No. The AI only interacts with the specific tools provided, which do not include password access.

  • 04

    Can I use this to create new users?

    No. The current tools are for managing existing user profiles and sessions, not for user registration.

  • 05

    Will my session expire if I use the AI?

    You can prevent expiration by asking the AI to refresh your token using the provided tools.

  • More questions about Nhost? See everything the Nhost Connector can do

Connect Nhost to Claude, Cursor, ChatGPT & more