TypeScript SDK + MCP server for Tersign, the record layer for the machine age — counter-signed EIP-712 receipts, hash-chained action and disclosure records, refunds, disputes, venue-formatted evidence envelopes. npm: tersign
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add tersign-evidence --env TERSIGN_SELLER_KEY='<TERSIGN_SELLER_KEY>' --env TERSIGN_LEDGER_API_KEY='<TERSIGN_LEDGER_API_KEY>' -- npx -y tersign~/.codex/config.toml
[mcp_servers.tersign-evidence]
command = "npx"
args = ["-y", "tersign"]
env = { TERSIGN_SELLER_KEY = "<TERSIGN_SELLER_KEY>", TERSIGN_LEDGER_API_KEY = "<TERSIGN_LEDGER_API_KEY>" }
# codex mcp add tersign-evidence --env TERSIGN_SELLER_KEY='<TERSIGN_SELLER_KEY>' --env TERSIGN_LEDGER_API_KEY='<TERSIGN_LEDGER_API_KEY>' -- npx -y tersign~/.cursor/mcp.json
{
"mcpServers": {
"tersign-evidence": {
"command": "npx",
"args": [
"-y",
"tersign"
],
"env": {
"TERSIGN_SELLER_KEY": "<TERSIGN_SELLER_KEY>",
"TERSIGN_LEDGER_API_KEY": "<TERSIGN_LEDGER_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"tersign-evidence": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tersign"
],
"env": {
"TERSIGN_SELLER_KEY": "<TERSIGN_SELLER_KEY>",
"TERSIGN_LEDGER_API_KEY": "<TERSIGN_LEDGER_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tersign-evidence": {
"command": "npx",
"args": [
"-y",
"tersign"
],
"env": {
"TERSIGN_SELLER_KEY": "<TERSIGN_SELLER_KEY>",
"TERSIGN_LEDGER_API_KEY": "<TERSIGN_LEDGER_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tersign-evidence": {
"command": "npx",
"args": [
"-y",
"tersign"
],
"env": {
"TERSIGN_SELLER_KEY": "<TERSIGN_SELLER_KEY>",
"TERSIGN_LEDGER_API_KEY": "<TERSIGN_LEDGER_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"tersign-evidence": {
"command": "npx",
"args": [
"-y",
"tersign"
],
"env": {
"TERSIGN_SELLER_KEY": "<TERSIGN_SELLER_KEY>",
"TERSIGN_LEDGER_API_KEY": "<TERSIGN_LEDGER_API_KEY>"
}
}
}
}Environment variables
TERSIGN_SELLER_KEYTERSIGN_LEDGER_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.