MetaMask Embedded Wallets MCP
MetaMask Embedded Wallets MCPサーバー
AIコーディングアシスタントにドキュメントやSDKの深い知識へのライブアクセスを提供することで、MetaMask Embedded Walletsの統合をより迅速に構築できます。
設定が必要なものは2つあります。
スキル — AIアシスタントにSDKについての「考え方」(アーキテクチャ、フレームワークの癖、鍵導出ルール、一般的な間違い)を教えます。スキル自体にコードは含まれておらず、MCPがそれを提供します。
MCPサーバー — AIアシスタントに、ドキュメントの検索、例の取得、SDK型の参照をリアルタイムで行う機能を提供します。
MCPツール
ツール | 機能 |
| ドキュメントとサンプルプロジェクトの検索 |
| ドキュメントページの全内容を取得 |
| 統合例の完全なソースコードを取得 |
| オープンソースリポジトリからSDKの型やフックを取得 |
| 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 -yVercelの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 onlyCursor
npx degit Web3Auth/web3auth-mcp/skills/web3auth .cursor/skills/web3authCursorは.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.mdClaude Desktop
Claude Desktop → Settings → Custom Instructionsを開き、skills/web3auth/SKILL.mdの内容を直接貼り付けます。
Antigravity
npx degit Web3Auth/web3auth-mcp/skills/web3auth .agent/skills/web3authAntigravityは.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
ワンクリックで設定するのが最も早いです:
または、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.jsonWindows:
%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.jsonWindows:
%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.io5ire
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.txtllms.txt仕様をサポートし、ドキュメントを自動的にインデックス化できるツールの場合:
https://docs.metamask.io/llms.txt警告: 静的ファイルはスナップショットであり、最新の更新が含まれていない可能性があります。常に最新のドキュメントを取得するために、可能な限りMCPサーバーを使用してください。
構築を開始する
スキルとMCPが設定されたら、AIアシスタントに直接尋ねてください。推奨される開始プロンプト:
「Googleログインを使用して、ReactアプリにMetaMask Embedded Walletsを追加して。」
「Wagmiを使用して、Next.jsアプリにソーシャルログインウォレットを設定して。」
「Flutterアプリに埋め込みウォレットを統合して。」
「ログイン方法を変更した後、ユーザーのウォレットアドレスが変わってしまうのはなぜ?」
ヒント: 最初のプロンプトには(利用可能な場合は)プランニングモードを使用してください。コードを生成する前に計画を確認することで、アーキテクチャのミスを早期に発見し、本番環境でウォレットアドレスが変わってしまうような設定エラーを回避できます。
配布
このリポジトリは、主要なすべての開発者プラットフォーム向けのアーティファクトを出荷しています:
プラットフォーム | タイプ | 場所 |
Cursor Marketplace | プラグイン |
|
VS Code Marketplace | 拡張機能 |
|
JetBrains Marketplace | プラグイン |
|
Zed Extensions | 拡張機能 |
|
Claude Agent SDK | プラグイン |
|
Raycast Store | 拡張機能 |
|
ChatGPT GPT Store | カスタムGPT |
|
公式MCPレジストリ |
|
|
Glama |
|
|
Smithery | サーバーカード |
|
Vercel skills.sh | スキル |
|
agentskill.sh | スキル |
|
環境変数
変数 | 必須 | 説明 |
| いいえ | GitHub個人アクセストークン。 |
開発
npm install
npm run build
npm start # Run via stdio
npm run dev # Watch modeコンテンツの更新
製品アップデートが出荷された場合、変更が必要なファイルはわずかです:
変更内容 | 更新するファイル |
SDKアーキテクチャ / 新しい注意点 |
|
新しいドキュメントページまたはURLの変更 |
|
プラットフォーム機能の変更 |
|
SDKリポジトリ構造の変更 |
|
新しいツールカテゴリが必要 |
|
ドキュメントページの内容変更 | なし(ライブ取得) |
ライセンス
MIT
Available Tools
5 toolsget_docARead-onlyIdempotentInspect
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_exampleARead-onlyIdempotentInspect
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_referenceARead-onlyIdempotentInspect
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_communityARead-onlyIdempotentInspect
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_docsARead-onlyIdempotentInspect
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
Scored across 5 tools
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.
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.
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.
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
Security intelligence for AI agents monitoring Ethereum before actions.
Trust signals for AI agents: an open agent-readiness standard and developer tool guide. Read-only.
Is this AI agent safe with a wallet? Signed x402 Agent Safety exam results, and live demos.
AI Agent Utility Layer for agent safety, web monitoring, crypto research and tool discovery.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceSelf-custody AI agent wallets with passkeys, gasless transactions & programmable permissions (ERC-4337)15 npmMIT

Privy MCP Serverofficial
AlicenseBqualityDmaintenanceEnables AI agents to create wallets, sign transactions, and manage blockchain operations across multiple chains like Ethereum, Solana, and more via Privy.242MIT
ContextEngineofficial
AlicenseAqualityAmaintenancePersistent memory and mechanical enforcement for AI coding agents — so they stop repeating your mistakes.21442 npm3Business Source 1.1- AlicenseNot gradedqualityDmaintenanceEnable AI agents to manage Safe multisig wallets across multiple blockchains.MIT