Skip to main content
Glama

MetaMask Embedded Wallets MCPサーバー

AIコーディングアシスタントにドキュメントやSDKの深い知識へのライブアクセスを提供することで、MetaMask Embedded Walletsの統合をより迅速に構築できます。

設定が必要なものは2つあります。

  1. スキル — AIアシスタントにSDKについての「考え方」(アーキテクチャ、フレームワークの癖、鍵導出ルール、一般的な間違い)を教えます。スキル自体にコードは含まれておらず、MCPがそれを提供します。

  2. MCPサーバー — AIアシスタントに、ドキュメントの検索、例の取得、SDK型の参照をリアルタイムで行う機能を提供します。


MCPツール

ツール

機能

search_docs

ドキュメントとサンプルプロジェクトの検索

get_doc

ドキュメントページの全内容を取得

get_example

統合例の完全なソースコードを取得

get_sdk_reference

オープンソースリポジトリからSDKの型やフックを取得

search_community

MetaMask Builder Hubで実際のユーザーの問題を検索


Related MCP server: Privy MCP Server

スキル

このスキルは、MetaMask Embedded WalletsのメンタルモデルをAIアシスタントに教えます。これには、SDKの選択ロジック、鍵導出ルール、認証の概念、プラットフォームの癖、およびドキュメントだけでは明らかではない一般的な間違いが含まれます。

ヒント: 最適な体験のために、MCPサーバーをスキルと併用してください。これにより、LLMが静的なテキストに頼るのではなく、ライブのドキュメントや例を取得できるようになります。

ユニバーサルインストール(18以上のエージェントで動作)

npx skills add Web3Auth/web3auth-mcp --skill web3auth -y

Vercelのskills CLIは、アクティブなAIエージェントを検出し、適切なディレクトリ(Cursor、Claude Code、Copilot、Kiro、Cline、Codex、Antigravity、その他40以上)に自動的にインストールします。

グローバルにインストール(すべてのプロジェクトで利用可能)するか、特定のエージェントをターゲットにするには:

npx skills add Web3Auth/web3auth-mcp --skill web3auth -g -y            # global
npx skills add Web3Auth/web3auth-mcp --skill web3auth -a cursor -y     # Cursor only
npx skills add Web3Auth/web3auth-mcp --skill web3auth -a claude-code -y # Claude Code only

Cursor

npx degit Web3Auth/web3auth-mcp/skills/web3auth .cursor/skills/web3auth

Cursorは.cursor/skills/内のSKILL.mdを自動的に検出し、関連がある場合に有効化します。

または、Cursor Marketplaceから「MetaMask Embedded Wallets」を検索してインストールしてください。

Claude Code CLI

npx degit Web3Auth/web3auth-mcp/skills/web3auth /tmp/web3auth-skill
cat /tmp/web3auth-skill/SKILL.md >> CLAUDE.md

Claude Desktop

Claude Desktop → Settings → Custom Instructionsを開き、skills/web3auth/SKILL.mdの内容を直接貼り付けます。

Antigravity

npx degit Web3Auth/web3auth-mcp/skills/web3auth .agent/skills/web3auth

Antigravityは.agent/skills/内のスキルを自動的に検出します。すべてのプロジェクトでグローバルにインストールするには、代わりに~/.gemini/antigravity/skills/を使用してください。

Windsurf / Cline / Kiro / Continue

npx degit Web3Auth/web3auth-mcp/skills/web3auth .windsurf/skills/web3auth

スキルをツール固有のスキルディレクトリに配置します。ほとんどのツールは、SKILL.mdの内容をシステムプロンプトやカスタム指示フィールドに貼り付けることも受け入れます。

その他のツール

システムプロンプトやカスタム指示フィールドを持つLLMツールについては、skills/web3auth/SKILL.mdの内容を直接貼り付けてください。


MCPサーバーのセットアップ

Cursor

ワンクリックで設定するのが最も早いです:

Add MetaMask Embedded Wallets MCP to Cursor

または、Cursor Marketplaceから「MetaMask Embedded Wallets」を検索してインストールしてください。

または、手動で追加します。Cursor Settings → Tools & Integrations → MCPを開き、以下を追加します:

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

VS Code (GitHub Copilot)

Visual Studio Marketplaceからインストールするか、「MetaMask Embedded Wallets」を検索するか、以下を実行します:

code --install-extension Web3Auth.metamask-embedded-wallets

または、ワンクリックインストールURLを使用します:

vscode:mcp/install?{"name":"web3auth","url":"https://mcp.web3auth.io"}

または、ワークスペースの.vscode/mcp.jsonに手動で追加します:

{
  "servers": {
    "web3auth": {
      "type": "http",
      "url": "https://mcp.web3auth.io"
    }
  }
}

JetBrains (IntelliJ, PyCharm, WebStorm, Android Studio)

JetBrains Marketplaceからインストールし、「MetaMask Embedded Wallets」を検索します。

または、**Settings → Tools → AI Assistant → Model Context Protocol (MCP)**で手動追加します:

{
  "mcpServers": {
    "web3auth": {
      "url": "https://mcp.web3auth.io",
      "transport": "http"
    }
  }
}

Claude Code CLI

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

または、プロジェクトのclaude.jsonに手動で追加します:

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

Claude Desktop

Claude Desktopの設定ファイルを開きます:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

mcpServersセクションにサーバーを追加します:

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

Claude Desktopを再起動し、「Search MetaMask Embedded Wallets docs for React quick start」と尋ねて接続を確認してください。

ChatGPT Desktop

ChatGPT Desktop → Settings → Connectionsを開き、新しいMCPサーバーを追加します:

  • Name: web3auth

  • URL: https://mcp.web3auth.io

Windsurf

Windsurf Settings → MCPを開き、以下を追加します:

{
  "mcpServers": {
    "web3auth": {
      "serverUrl": "https://mcp.web3auth.io"
    }
  }
}

または、~/.codeium/windsurf/mcp_config.jsonを直接編集します。

Kiro (AWS)

プロジェクトの.kiro/settings/mcp.jsonに追加します:

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

Warp Terminal

WarpでSettings → AI → MCP Serversを開き、Add Serverをクリックします:

  • Name: web3auth

  • URL: https://mcp.web3auth.io

または、バージョンで利用可能な場合はWarpのワンクリックMCPインストールを使用してください。

Cline (VS Code)

ClineのMCP設定(Ctrl+Shift+P → 「Cline: Open MCP Settings」)に追加します:

{
  "mcpServers": {
    "web3auth": {
      "url": "https://mcp.web3auth.io",
      "transport": "http"
    }
  }
}

Continue.dev

Continueのconfig.json(Ctrl+Shift+P → 「Continue: Open config.json」で開く)に追加します:

{
  "mcpServers": [
    {
      "name": "web3auth",
      "url": "https://mcp.web3auth.io"
    }
  ]
}

Zed

Zedのsettings.json(Cmd+,で開く)に追加します:

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

または、Zed Extensionsからインストールし、「MetaMask Embedded Wallets」を検索してください。

Antigravity

MCP設定ファイルを開きます:

  • macOS/Linux: ~/.config/antigravity/mcp.json

  • Windows: %APPDATA%\antigravity\mcp.json

mcpServersセクションにサーバーを追加します:

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

AntigravityはMCP設定の変更をホットリロードするため、再起動は不要です。

Xcode (via GitHub Copilot)

Xcode 26.3以降はGitHub Copilot経由でMCPをサポートしています。サーバーをCopilot MCP設定に追加するか、上記のVS Code拡張機能のセットアップを使用してください(Copilot MCPレジストリは共有されています)。

または、XcodeのAgenticツールがhttps://mcp.web3auth.ioを直接指すように、Settings → Copilot → MCP Serversから設定してください。

Eclipse (via GitHub Copilot)

GitHub Copilotを搭載したEclipseはMCPをサポートしています。Eclipse → Preferences → GitHub Copilot → MCP Servers → Add Serverから追加します:

  • Name: web3auth

  • URL: https://mcp.web3auth.io

Neovim (avante.nvim)

Lua設定でmcphub.nvim経由で追加します:

require("mcphub").setup({
  servers = {
    web3auth = {
      url = "https://mcp.web3auth.io",
      transport = "streamable-http",
    },
  },
})

または、互換性のためにmcp-remoteを使用します:

require("avante").setup({
  mcp = {
    servers = {
      web3auth = {
        command = "npx",
        args = { "-y", "mcp-remote", "https://mcp.web3auth.io" },
      },
    },
  },
})

Neovim (codecompanion.nvim)

require("codecompanion").setup({
  extensions = {
    mcp = {
      servers = {
        web3auth = {
          command = "npx",
          args = { "-y", "mcp-remote", "https://mcp.web3auth.io" },
        },
      },
    },
  },
})

Amp (Sourcegraph)

Amp MCP設定に追加します:

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

Goose

~/.config/goose/config.yamlに追加します:

extensions:
  - name: web3auth
    type: http
    url: https://mcp.web3auth.io

5ire

5ire Settings → MCP Servers → Addで以下を追加します:

  • Name: web3auth

  • URL: https://mcp.web3auth.io

Aider

AiderはLiteLLMブリッジ経由でMCPをサポートしています。Aider設定に追加します:

mcp_servers:
  web3auth:
    command: npx
    args: ["-y", "mcp-remote", "https://mcp.web3auth.io"]

Codex CLI

Codex CLIまたはstdioのみのエージェントの場合は、mcp-remoteを使用してHTTPエンドポイントをブリッジします:

npm install -g mcp-remote

次に~/.codex/config.tomlに追加します:

[mcp_servers.web3auth]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.web3auth.io"]

または、エージェントのJSON設定に追加します:

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

静的ドキュメント (llms.txt)

AIツールがまだMCPをサポートしていない場合は、代わりに静的ドキュメントファイルを使用してください:

https://docs.metamask.io/llms-full.txt

llms.txt仕様をサポートし、ドキュメントを自動的にインデックス化できるツールの場合:

https://docs.metamask.io/llms.txt

警告: 静的ファイルはスナップショットであり、最新の更新が含まれていない可能性があります。常に最新のドキュメントを取得するために、可能な限りMCPサーバーを使用してください。


構築を開始する

スキルとMCPが設定されたら、AIアシスタントに直接尋ねてください。推奨される開始プロンプト:

  • 「Googleログインを使用して、ReactアプリにMetaMask Embedded Walletsを追加して。」

  • 「Wagmiを使用して、Next.jsアプリにソーシャルログインウォレットを設定して。」

  • 「Flutterアプリに埋め込みウォレットを統合して。」

  • 「ログイン方法を変更した後、ユーザーのウォレットアドレスが変わってしまうのはなぜ?」

ヒント: 最初のプロンプトには(利用可能な場合は)プランニングモードを使用してください。コードを生成する前に計画を確認することで、アーキテクチャのミスを早期に発見し、本番環境でウォレットアドレスが変わってしまうような設定エラーを回避できます。


配布

このリポジトリは、主要なすべての開発者プラットフォーム向けのアーティファクトを出荷しています:

プラットフォーム

タイプ

場所

Cursor Marketplace

プラグイン

.cursor-plugin/ + mcp.json

VS Code Marketplace

拡張機能

plugins/vscode/

JetBrains Marketplace

プラグイン

plugins/jetbrains/

Zed Extensions

拡張機能

plugins/zed/

Claude Agent SDK

プラグイン

plugins/claude/

Raycast Store

拡張機能

plugins/raycast/

ChatGPT GPT Store

カスタムGPT

openai/

公式MCPレジストリ

server.json

server.json

Glama

glama.json

glama.json

Smithery

サーバーカード

app/.well-known/mcp/server-card.json/route.ts

Vercel skills.sh

スキル

skills/web3auth/

agentskill.sh

スキル

skills/web3auth/


環境変数

変数

必須

説明

GITHUB_TOKEN

いいえ

GitHub個人アクセストークン。get_sdk_reference経由でSDKソースコードを取得する際のレート制限を回避するために推奨されます


開発

npm install
npm run build
npm start          # Run via stdio
npm run dev        # Watch mode

コンテンツの更新

製品アップデートが出荷された場合、変更が必要なファイルはわずかです:

変更内容

更新するファイル

SDKアーキテクチャ / 新しい注意点

skills/web3auth/SKILL.md

新しいドキュメントページまたはURLの変更

src/content/registry.ts

プラットフォーム機能の変更

src/content/platform-matrix.ts

SDKリポジトリ構造の変更

src/content/sdk-registry.ts

新しいツールカテゴリが必要

src/tools/register.ts

ドキュメントページの内容変更

なし(ライブ取得)

ライセンス

MIT

Available Tools

5 tools
get_docA
Read-onlyIdempotent
Inspect

Fetch the full content of a MetaMask Embedded Wallets documentation page. Use after search_docs to read the actual doc. Tries Algolia, then llms.txt, then GitHub raw MDX as fallbacks.

Inputs: url (required).

get_exampleA
Read-onlyIdempotent
Inspect

Fetch the complete source code of a Web3Auth integration example from GitHub. Returns all source files needed to understand how the integration works. Examples are the PRIMARY reference for integration patterns — always prefer example code over raw SDK source.

Inputs: name, platform, chain, category, +1 more.

get_sdk_referenceA
Read-onlyIdempotent
Inspect

Fetch SDK source code (type definitions, interfaces, hooks) from the open-source Web3Auth SDK repos. Use for REFERENCE and DEBUGGING only — to verify exact type shapes, constructor signatures, available hooks, and error types. Do NOT use this to discover features; many SDK options are internal or legacy. Always use get_example first for integration patterns.

Inputs: platform (required), module, focus.

search_communityA
Read-onlyIdempotent
Inspect

Search or fetch posts from the MetaMask Embedded Wallets community forum (builder.metamask.io). Use for troubleshooting real user issues, finding workarounds, and checking if an issue is known. Provide a query to search or a topic_id to read the full discussion.

Inputs: query, topic_id.

search_docsA
Read-onlyIdempotent
Inspect

Search MetaMask Embedded Wallets (Web3Auth) documentation and examples. Use for SDK discovery, feature lookup, and finding relevant examples. Returns doc page links with snippets and matching example projects.

Inputs: query (required), platform, chain, category.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_doc retrieves documentation content, get_example fetches example code, get_sdk_reference provides SDK source for debugging, search_community accesses forum discussions, and search_docs performs initial documentation searches. The descriptions explicitly differentiate their roles and use cases, leaving no ambiguity.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case: get_doc, get_example, get_sdk_reference, search_community, and search_docs. This uniformity makes the tool set predictable and easy to understand at a glance.

    Tool Count5/5

    With 5 tools, the server is well-scoped for its purpose of providing MetaMask Embedded Wallets resources. Each tool serves a specific function (documentation, examples, SDK reference, community, and search), and none feel redundant or missing given the domain of developer support and integration.

    Completeness4/5

    The tool set covers key areas for developer integration: documentation access, example code, SDK reference, community support, and search functionality. A minor gap exists in not having tools for direct wallet operations or API interactions, but this is reasonable as the server focuses on resource retrieval rather than live wallet management.

    Related MCP Connectors

    Related MCP Servers