Signaturit
Integrates with
Signaturit
Signaturit MCP βοΈ
Note: This is an unofficial integration project and is not affiliated with, officially maintained, or endorsed by Signaturit.
This project is a demonstration of an MCP (Microservice Communication Protocol) server that integrates with Signaturit tools through their public API. It provides various functionalities for managing signature requests, including listing, creating, and handling signatures.
Capabilities π
The MCP server provides the following tools to interact with Signaturit:
- get_signature π: Retrieve details of a specific signature request using its ID
- create_signature β¨: Create new signature requests using templates
- Support for multiple signers π₯
- Email or SMS delivery π§ π±
- Customizable expiration time β°
- Sequential or parallel signing workflow βοΈ
- Custom email/SMS messages π¬
- Webhook integration for real-time notifications π
- send_signature_reminder π¬: Send reminder notifications to pending signers
- cancel_signature β: Cancel active signature requests with optional reason
Project Structure π
- cmd/server/main.go π―: Entry point of the application. It initializes and starts the MCP server.
- internal/app/server.go βοΈ: Contains the logic for creating and configuring the MCP server, including registering signature tools and handlers.
- internal/handlers/signature.go π οΈ: Implements handler functions for various signature operations such as listing, retrieving, and managing signatures.
- internal/tools/signature.go π§: Registers signature-related tools with the MCP server.
Configuration βοΈ
API Authentication π
This server integrates with the Signaturit API and requires an API key for authentication. You need to:
- Create an account at Signaturit
- Get your API key from the Signaturit dashboard
- Set the API key as an environment variable:
export SIGNATURIT_SECRET_TOKEN='your_api_key_here'
Prerequisites π
-
Go Installation
- Go 1.16 or higher
- Verify your installation:
go version
-
Signaturit Account
- Active account at Signaturit
- Valid API key from the Signaturit dashboard
Build π¨
-
Clone the repository
git clone https://github.com/yourusername/signaturtit_mcp.git cd signaturtit_mcp
-
Install dependencies
go mod download
-
Build the application
# Build for your current platform go build -o bin/signaturtit_mcp cmd/server/main.go # Build for specific platform (e.g., Linux) GOOS=linux GOARCH=amd64 go build -o bin/signaturtit_mcp cmd/server/main.go
-
Run the built binary
# Make sure you have set the required environment variables first export SIGNATURIT_SECRET_TOKEN='your_api_key_here' # Run the application ./bin/signaturtit_mcp
License π
Copyright 2024 Jordi Martin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.