> For the complete documentation index, see [llms.txt](/llms.txt).

# Build with AI

Give your AI assistant Embedded Wallets context in two steps. Use **both** together for the best results.

|         | Skill                                               | MCP server                         |
| ------- | --------------------------------------------------- | ---------------------------------- |
| Role    | How to choose SDKs, auth, and avoid common mistakes | Live docs, examples, and SDK types |
| Install | One command (step 1)                                | Per-tool config (step 2)           |

## 1. Install the skill[​](#1-install-the-skill "Direct link to 1. Install the skill")

Run this in your project directory:

```
npx skills add web3auth/skill

```

The CLI detects your AI agent (Cursor, Claude Code, Codex, Antigravity, and 40+ others) and installs to the right folder. See the [web3auth/skill README](https://github.com/Web3Auth/skill) for global or per-agent options.

## 2. Connect the MCP server[​](#2-connect-the-mcp-server "Direct link to 2. Connect the MCP server")

Add the [Embedded Wallets MCP server](https://github.com/Web3Auth/web3auth-mcp) so your assistant can search docs and fetch examples. All configurations use this URL: `https://mcp.web3auth.io`

- Cursor
- Claude Code
- Claude Desktop
- Antigravity
- Codex / other

Open **Cursor Settings → Tools & Integrations → MCP** and add:

```
{
  "mcpServers": {
    "web3auth": {
      "url": "https://mcp.web3auth.io"
    }
  }
}

```

or click the button below:

[![Add MetaMask Embedded Wallets MCP to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=web3auth&config=eyJ1cmwiOiJodHRwczovL21jcC53ZWIzYXV0aC5pbyJ9)

```
claude mcp add --transport http web3auth https://mcp.web3auth.io

```

Or add to your project's `claude.json`:

```
{
  "mcpServers": {
    "web3auth": {
      "url": "https://mcp.web3auth.io"
    }
  }
}

```

Edit your config file:

- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`

Add the server, then restart Claude Desktop:

```
{
  "mcpServers": {
    "web3auth": {
      "url": "https://mcp.web3auth.io"
    }
  }
}

```

Edit your MCP config:

- **macOS/Linux**: `~/.config/antigravity/mcp.json`
- **Windows**: `%APPDATA%\antigravity\mcp.json`

```
{
  "mcpServers": {
    "web3auth": {
      "url": "https://mcp.web3auth.io"
    }
  }
}

```

Antigravity reloads MCP changes automatically.

For stdio-only agents, bridge the HTTP endpoint with [mcp-remote](https://github.com/geelen/mcp-remote):

```
{
  "mcpServers": {
    "web3auth": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.web3auth.io"]
    }
  }
}

```

## 3. Verify and start building[​](#3-verify-and-start-building "Direct link to 3. Verify and start building")

Ask your assistant:

> Search MetaMask Embedded Wallets docs for React quick start

If MCP is connected, it fetches live docs and examples. The skill keeps SDK choice and wallet-address pitfalls in check.

Good follow-up prompts:

- _"Add MetaMask Embedded Wallets to your React app with Google sign-in."_
- _"Set up wallets with social sign-in in your Next.js app using Wagmi."_
- _"Integrate Embedded Wallets in your Flutter app."_
- _"Why do users get different wallet addresses after the sign-in method changes?"_

tip

Use planning mode (where available) for your first prompt. Review the plan before generating code to catch config mistakes that can change wallet addresses in production.

## No MCP support?[​](#no-mcp-support "Direct link to No MCP support?")

Add this URL as a custom doc source, or paste it into your chat:

```
https://metamask-docs-git-feat-infura-consensys-ddffed67.vercel.app/llms-embedded-wallets-full.txt

```

For tools that support [llms.txt](https://llmstxt.org/):

```
https://metamask-docs-git-feat-infura-consensys-ddffed67.vercel.app/llms-embedded-wallets.txt

```

note

Static files are snapshots. Prefer the MCP server when your tool supports it.
