MCPサーバー

anvil

io.usefulapi/anvil
法務・コンプライアンス 生産性 公開・接続可能 MCP 2026-07-28

このMCPでできること

Generates and fills PDFs and manages Anvil electronic-signature packets, signers, embedded signing URLs, templates, and workflow submissions.

anvil_create_etch_packet
Create Etch e-signature packet
Create an Etch e-signature packet (documents + signers). GraphQL mutation: createEtchPacket. IMPORTANT: isDraft defaults to true (a safe draft that sends nothing). Setting isDraft=false with real signers SENDS signature-request emails to those signers. Use isTest=true while developing.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['name'], 'properties': {'data': {'type': 'object', 'description': "Optional payload data used to pre-fill the packet's documents.", 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'name': {'type': 'string', 'description': 'Human-readable name for the packet.'}, 'files': {'type': 'array', 'items': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'description': 'Array of file/document objects (casts or uploads) to include. Passed straight through to Anvil.'}, 'isTest': {'type': 'boolean', 'description': 'Set true to create a test packet (no legal weight, no charge).'}, 'isDraft': {'type': 'boolean', 'default': True, 'description': 'Default true. When true, creates a draft and sends nothing. Set false to activate and email signers.'}, 'signers': {'type': 'array', 'items': {'type': 'object', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'description': 'Array of signer objects, e.g. [{ id, name, email, signerType, routingOrder, fields }]. Passed straight through to Anvil.'}, 'signatureEmailBody': {'type': 'string', 'description': 'Optional body text for the signature-request email.'}, 'signatureEmailSubject': {'type': 'string', 'description': 'Optional subject line for the signature-request email.'}}}
anvil_current_user
Current Anvil user
Get the authenticated Anvil user (from the API key) and the organizations they belong to (eid, name, slug). Good first call to discover org slugs/eids for other tools. GraphQL query: currentUser.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
anvil_fill_pdf
Fill a PDF template
Fill an Anvil PDF template (cast) with data and return the finished PDF as base64. REST: POST /fill/{castEid}.pdf. Returns { filename, byteLength, pdfBase64 }. The `data` object's keys are the template's field aliases.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['cast_eid', 'data'], 'properties': {'data': {'type': 'object', 'description': 'Object mapping the template\'s field aliases to values, e.g. { "name": "Sam", "date": "2026-07-16" }.', 'propertyNames': {'type': 'string'}, 'additionalProperties': {}}, 'title': {'type': 'string', 'description': 'Optional title embedded in the generated PDF metadata.'}, 'cast_eid': {'type': 'string', 'description': 'The cast (PDF template) eid to fill (from anvil_get_cast).'}, 'fontSize': {'type': 'number', 'description': 'Optional default font size for filled text.'}, 'textColor': {'type': 'string', 'description': 'Optional default text color as a hex string, e.g. #333333.'}}}
anvil_generate_etch_sign_url
Generate Etch signing URL
Generate a one-time embedded signing URL for a specific signer in an Etch packet (for iframe/redirect signing flows). GraphQL mutation: generateEtchSignURL. Returns { url }.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['signer_eid', 'client_user_id'], 'properties': {'signer_eid': {'type': 'string', 'description': "The signer eid (from the packet's documentGroup.signers)."}, 'client_user_id': {'type': 'string', 'description': "Your app's stable id for the signing user (ties the session to your user)."}}}
anvil_generate_pdf
Generate a PDF from HTML or Markdown
Generate a brand-new PDF from HTML or Markdown and return it as base64. REST: POST /generate-pdf. For type=html, pass data = { html, css? }. For type=markdown, pass data = [ { label, content }, ... ]. Returns { filename, byteLength, pdfBase64 }.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['data'], 'properties': {'data': {'description': 'For html: { html: "<h1>Hi</h1>", css?: "..." }. For markdown: [ { label: "Section", content: "# Title\\n..." }, ... ].'}, 'type': {'enum': ['html', 'markdown'], 'type': 'string', 'default': 'html', 'description': 'Source format. Default html.'}, 'title': {'type': 'string', 'description': 'Optional title embedded in the generated PDF metadata.'}}}
anvil_get_cast
Get cast (PDF template)
Fetch a cast — an Anvil PDF template — by its eid: title, version number, and whether it is a template. Use the returned eid as the cast_eid for anvil_fill_pdf. GraphQL query: cast.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['eid'], 'properties': {'eid': {'type': 'string', 'description': 'The cast (PDF template) eid.'}}}
anvil_get_etch_packet
Get Etch e-signature packet
Fetch an Etch e-signature packet by eid: its status, details URL, document group, and every signer (eid, aliasId, name, email, status, routing order). Use this to check signature progress. GraphQL query: etchPacket.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['eid'], 'properties': {'eid': {'type': 'string', 'description': 'The Etch packet eid (returned by anvil_create_etch_packet).'}}}
anvil_get_organization
Get organization
Fetch an Anvil organization and its PDF templates (casts) and workflows (welds). Provide either its slug or its eid (at least one is required). GraphQL query: organization.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'eid': {'type': 'string', 'description': 'Organization eid. Provide this OR slug.'}, 'slug': {'type': 'string', 'description': 'Organization slug (from anvil_current_user). Provide this OR eid.'}}}
anvil_get_weld
Get weld (workflow)
Fetch a weld — an Anvil workflow — by eid, including its forges (the individual form steps: eid, name, slug). GraphQL query: weld.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['eid'], 'properties': {'eid': {'type': 'string', 'description': 'The weld (workflow) eid.'}}}
anvil_get_weld_data
Get weld data (workflow submission)
Fetch a weldData record — a single submission to a weld (workflow) — by eid: completion state, test flag, and creation time. GraphQL query: weldData.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['eid'], 'properties': {'eid': {'type': 'string', 'description': 'The weldData (workflow submission) eid.'}}}
変更
anvil_generate_etch_sign_url
2026年10月1日2:50
変更
anvil_create_etch_packet
2026年10月1日2:50
変更
anvil_generate_pdf
2026年10月1日2:50
変更
anvil_fill_pdf
2026年10月1日2:50
変更
anvil_get_weld_data
2026年10月1日2:50
変更
anvil_get_weld
2026年10月1日2:50
変更
anvil_get_etch_packet
2026年10月1日2:50
変更
anvil_get_cast
2026年10月1日2:50
変更
anvil_get_organization
2026年10月1日2:50
変更
anvil_current_user
2026年10月1日2:50
追加
anvil_generate_etch_sign_url
2026年9月17日12:53
追加
anvil_create_etch_packet
2026年9月17日12:53
追加
anvil_generate_pdf
2026年9月17日12:53
追加
anvil_fill_pdf
2026年9月17日12:53
追加
anvil_get_weld_data
2026年9月17日12:53
追加
anvil_get_weld
2026年9月17日12:53
追加
anvil_get_etch_packet
2026年9月17日12:53
追加
anvil_get_cast
2026年9月17日12:53
追加
anvil_get_organization
2026年9月17日12:53
追加
anvil_current_user
2026年9月17日12:53