MetaMask Embedded Wallets (Web3Auth) MCP
Helps AI coding agents integrate MetaMask Embedded Wallets (Web3Auth) SDKs.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~957token 数(工具定义)
~1.6 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.75%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"mcp-server": {
"url": "https://mcp.web3auth.io"
}
}
}远程端点
https://mcp.web3auth.iostreamable-http它能做什么
工具清单
工具(5)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_docs(query, platform, chain, category)
Search MetaMask Embedded Wallets documentation (Algolia) and example projects. Returns doc page links with snippets and matching examples.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "What you are looking for -- e.g. 'React custom auth', 'Android deep linking', 'JWT grouped connections'"
},
"platform": {
"description": "Filter examples by platform",
"type": "string",
"enum": [
"react",
"vue",
"js",
"react-native",
"android",
"ios",
"flutter",
"unity",
"unreal",
"node"
]
},
"chain": {
"description": "Filter examples by blockchain family",
"type": "string",
"enum": [
"evm",
"solana",
"other"
]
},
"category": {
"description": "Filter examples by category",
"type": "string",
"enum": [
"quick-start",
"custom-auth",
"blockchain",
"feature",
"playground"
]
}
},
"required": [
"query"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_doc(url)
Fetch the full content of a MetaMask Embedded Wallets documentation page by URL. Sources: Algolia, llms.txt, GitHub MDX.
输入模式
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "A docs.metamask.io URL, e.g. https://docs.metamask.io/embedded-wallets/sdk/react/"
}
},
"required": [
"url"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_example(name, platform, chain, category, auth_method)
Fetch complete source code of a Web3Auth integration example from GitHub.
输入模式
{
"type": "object",
"properties": {
"name": {
"description": "Example name, e.g. 'React Quick Start' or 'Android Firebase'",
"type": "string"
},
"platform": {
"description": "Filter by platform",
"type": "string",
"enum": [
"react",
"vue",
"js",
"react-native",
"android",
"ios",
"flutter",
"unity",
"unreal",
"node"
]
},
"chain": {
"description": "Filter by blockchain family",
"type": "string",
"enum": [
"evm",
"solana",
"other"
]
},
"category": {
"description": "Filter by category",
"type": "string",
"enum": [
"quick-start",
"custom-auth",
"blockchain",
"feature",
"playground"
]
},
"auth_method": {
"description": "Filter by auth method, e.g. 'auth0', 'firebase', 'google', 'grouped'",
"type": "string"
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_sdk_reference(platform, module, focus)
Fetch SDK source code (types, interfaces, hooks) from open-source Web3Auth repos.
输入模式
{
"type": "object",
"properties": {
"platform": {
"type": "string",
"enum": [
"react",
"vue",
"js",
"react-native",
"android",
"ios",
"flutter",
"unity",
"unreal",
"node"
],
"description": "Target platform SDK to fetch source for"
},
"module": {
"description": "Specific SDK module to fetch, e.g. 'core-types', 'react-hooks', 'modal-types', 'main-class'. Omit to get default type definitions. Call without module first to see available modules.",
"type": "string"
},
"focus": {
"default": "types",
"description": "What kind of source to focus on. 'types' = interfaces/types (default, most useful). 'hooks' = React hooks / Vue composables. 'errors' = error types. 'main-class' = SDK implementation. 'all' = everything.",
"type": "string",
"enum": [
"types",
"hooks",
"main-class",
"errors",
"all"
]
}
},
"required": [
"platform"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search_community(query, topic_id)
Search or fetch posts from the MetaMask Embedded Wallets community forum (builder.metamask.io).
输入模式
{
"type": "object",
"properties": {
"query": {
"description": "Search query, e.g. 'popup blocked safari', 'JWT error', 'Android unstable connection'",
"type": "string"
},
"topic_id": {
"description": "Discourse topic ID to fetch the full discussion thread",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}社区
证据
最近观测
已验证未记录版本5 个工具
已验证未记录版本5 个工具