canusign-mcp-server
v1.0.0
Published
MCP server for CanUSign - Create and manage contracts via Claude
Maintainers
Readme
CanUSign MCP Server
MCP (Model Context Protocol) server for CanUSign. Allows Claude to create and manage contracts.
Installation
cd mcp-server
npm install
npm run buildConfiguration
1. Get your API Key
Go to CanUSign Settings and create an API key.
2. Configure Claude Code
Add the following to your Claude Code MCP settings (~/.claude/claude_desktop_config.json or via Claude Code settings):
{
"mcpServers": {
"canusign": {
"command": "node",
"args": ["/path/to/canusign/mcp-server/dist/index.js"],
"env": {
"CANUSIGN_API_KEY": "canu_your_api_key_here"
}
}
}
}Or if using npx (after publishing to npm):
{
"mcpServers": {
"canusign": {
"command": "npx",
"args": ["@canusign/mcp-server"],
"env": {
"CANUSIGN_API_KEY": "canu_your_api_key_here"
}
}
}
}Available Tools
create_contract
Create a new contract for signing.
Parameters:
title(required): Title of the contractcontent(required): HTML content of the contractsignatureFields: Array of signature fields withlabel,page,x,y,width,heighttags: Array of tags for organizationfinalize: If true (default), contract is ready for signing
Example:
Create a service agreement contract between Acme Corp (client) and John Doe (provider) for web development services at $5000. Add signature fields for both parties.list_contracts
List all contracts with optional filtering.
Parameters:
status: Filter by status (draft, pending, signed)limit: Maximum number of results
get_contract
Get details of a specific contract.
Parameters:
id(required): Contract ID or token
delete_contract
Delete a contract (signed contracts cannot be deleted).
Parameters:
id(required): Contract ID or token
Environment Variables
CANUSIGN_API_KEY(required): Your CanUSign API keyCANUSIGN_API_URL(optional): API base URL (default: https://canusign.com)
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run devLicense
MIT
