aip_sign
Cryptographically sign content to prove authorship using your AIP identity. This tool creates verifiable signatures for text content to establish authenticity and origin.
Instructions
Cryptographically sign content with your AIP identity to prove authorship.
Args: content: The text content to sign
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes |
Implementation Reference
- aip_mcp_server/server.py:122-135 (handler)The tool handler `aip_sign` that takes string content, signs it using the AIP client's private key, and returns the signed content, signature, and the signer's DID.
@mcp.tool() def aip_sign(content: str) -> dict: """Cryptographically sign content with your AIP identity to prove authorship. Args: content: The text content to sign """ client = _load_client() signature = client.sign(content.encode()) return { "content": content, "signature": signature, "did": client.did, }