IFORM Web3 Forms MCP Server
Create, deploy, and manage decentralized Web3 forms on EVM chains via MCP.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"iform-mcp": {
"url": "https://iform.fun/api/ai/mcp"
}
}
}遠端端點
https://iform.fun/api/ai/mcpsse它能做什麼
工具清單
工具(4)
⚪generate_form_transaction(action, chainId, title, schema, formId, ...)
Constructs a ready-to-sign on-chain EVM transaction (to, data, value, chainId) for the FormFactory smart contract (createForm, closeForm, activateForm, archiveForm, updateSchemaHash) with exact 0.00005 ETH protocol fee (0x2d79883d2000).
輸入結構描述
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"createForm",
"closeForm",
"activateForm",
"archiveForm",
"updateSchemaHash"
],
"description": "The smart contract action to execute."
},
"chainId": {
"type": "number",
"description": "Target EVM chain ID: 4663 (Robinhood Chain), 42161 (Arbitrum One), 10 (Optimism), 1 (Ethereum). Defaults to 4663."
},
"title": {
"type": "string",
"description": "Title of the form (required for createForm)."
},
"schema": {
"type": "object",
"description": "Form schema containing fields, questions, and access gating settings."
},
"formId": {
"type": "number",
"description": "The on-chain form ID (required for closeForm, activateForm, archiveForm, updateSchemaHash)."
},
"newSchemaHash": {
"type": "string",
"description": "New schema hash (required for updateSchemaHash)."
}
},
"required": [
"action"
]
}⚪confirm_form(formId, chainId, txHash, ownerAddress, title, ...)
Registers and indexes an on-chain created form in the IFORM registry with its questions schema and transaction hash, generating the 6-character short slug (e.g. /e3qa69) and live URL.
輸入結構描述
{
"type": "object",
"properties": {
"formId": {
"type": "number",
"description": "On-chain Form ID emitted in the FormCreated event."
},
"chainId": {
"type": "number",
"description": "EVM Chain ID (4663, 42161, 10, 1)."
},
"txHash": {
"type": "string",
"description": "Transaction hash of the creation on the blockchain."
},
"ownerAddress": {
"type": "string",
"description": "Creator EVM wallet address."
},
"title": {
"type": "string",
"description": "Form title."
},
"schema": {
"type": "object",
"description": "Form JSON schema with fields and settings."
}
},
"required": [
"formId"
]
}🟢query_forms(chainId, owner, status)
Queries decentralized forms by chain ID, creator wallet address, or status (active, closed, archived).
輸入結構描述
{
"type": "object",
"properties": {
"chainId": {
"type": "number",
"description": "Filter by chain ID (4663, 42161, 10, 1)."
},
"owner": {
"type": "string",
"description": "Filter by creator wallet address."
},
"status": {
"type": "string",
"enum": [
"active",
"closed",
"archived"
],
"description": "Filter by form status."
}
}
}🟢get_form_responses(formId, chainId)
Fetches submitted responses for a specific decentralized form by form ID or slug.
輸入結構描述
{
"type": "object",
"properties": {
"formId": {
"type": "string",
"description": "Form ID or 6-character slug."
},
"chainId": {
"type": "number",
"description": "Chain ID (defaults to 4663)."
}
},
"required": [
"formId"
]
}社群
證據