{"id":31651558,"url":"https://github.com/signnow/sn-mcp-server","last_synced_at":"2026-01-27T15:03:35.698Z","repository":{"id":313329449,"uuid":"1038056899","full_name":"signnow/sn-mcp-server","owner":"signnow","description":"MCP server for SignNow e-signature: templates, invites, embedded signing/editor, status \u0026 downloads.","archived":false,"fork":false,"pushed_at":"2026-01-26T14:00:40.000Z","size":344,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-27T01:57:56.273Z","etag":null,"topics":["document-signing","document-templates","embedded-editor","embedded-signing","esignature","fastapi","http","mcp","mcp-server","modelcontextprotocol","python","signnow","stdio"],"latest_commit_sha":null,"homepage":"https://www.signnow.com/developers","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/signnow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-14T14:49:13.000Z","updated_at":"2026-01-19T12:12:58.000Z","dependencies_parsed_at":"2025-10-06T12:19:08.413Z","dependency_job_id":"99c56c22-3eca-4e9e-bf0d-9264ce8518e7","html_url":"https://github.com/signnow/sn-mcp-server","commit_stats":null,"previous_names":["signnow/sn-mcp-server"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/signnow/sn-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signnow%2Fsn-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signnow%2Fsn-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signnow%2Fsn-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signnow%2Fsn-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/signnow","download_url":"https://codeload.github.com/signnow/sn-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/signnow%2Fsn-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28815385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["document-signing","document-templates","embedded-editor","embedded-signing","esignature","fastapi","http","mcp","mcp-server","modelcontextprotocol","python","signnow","stdio"],"created_at":"2025-10-07T08:59:44.094Z","updated_at":"2026-01-27T15:03:35.693Z","avatar_url":"https://github.com/signnow.png","language":"Python","readme":"\u003cdetails\u003e\n\u003csummary\u003e\u003ch1\u003eAbout SignNow API\u003c/h1\u003e\u003c/summary\u003e\n\nThe SignNow REST API empowers users to deliver a seamless eSignature experience for signers, preparers, and senders. Pre-fill documents, create embedded branded workflows for multiple signers, request payments, and track signature status in real-time. Ensure signing is simple, secure, and intuitive on any device.\n\n**What you can do with the SignNow API**:\n\n* Send documents and document groups for signature in a role-based order\n* Create reusable templates from documents\n* Pre-fill document fields with data\n* Collect payments as part of the signing flow\n* Embed the document sending, signing, or editing experience into your website, application, or any system of record\n* Track signing progress and download the completed documents\n\n\n\u003c/details\u003e\n\n---\n\n# SignNow MCP Server\n\n\u003e A Model Context Protocol (MCP) server that gives AI agents secure, structured access to **SignNow** eSignature workflows — templates, embedded signing, invites, status tracking, and document downloads — over **STDIO** or **Streamable HTTP**.\n\n\u003e mcp-name: io.github.signnow/sn-mcp-server\n---\n\n## Table of contents\n\n* [Features](#features)\n* [Quick start](#quick-start)\n\n  * [Prerequisites](#prerequisites)\n  * [Quick run (uvx)](#quick-run-uvx)\n  * [1. Setup Environment Variables](#1-setup-environment-variables)\n  * [2. Install and Run](#2-install-and-run)\n  * [Local/Remote (HTTP)](#localremote-http)\n  * [Docker](#docker)\n  * [Docker Compose](#docker-compose)\n* [Configuration](#configuration)\n\n  * [Authentication options](#authentication-options)\n  * [SignNow \u0026 OAuth settings](#signnow--oauth-settings)\n  * [Production key management](#production-key-management)\n* [Client setup](#client-setup)\n\n  * [VS Code — GitHub Copilot (Agent Mode) / Cursor](#vs-code--github-copilot-agent-mode--cursor)\n  * [Claude Desktop](#claude-desktop)\n  * [Glama (hosted MCP)](#glama-hosted-mcp)\n  * [MCP Inspector (testing)](#mcp-inspector-testing)\n* [Tools](#tools)\n* [FAQ / tips](#faq--tips)\n* [Examples](#examples)\n* [Useful resources](#useful-resources)\n\n  * [Sample apps](#sample-apps)\n  * [API documentation](#api-documentation)\n  * [GitHub Copilot extension](#github-copilot-extension)\n* [License](#license)\n\n---\n\n## Features\n\n* **Templates \u0026 groups**\n\n  * Browse all templates and template groups\n  * Create documents or groups from templates (one-shot flows included)\n* **Invites \u0026 embedded UX**\n\n  * Email invites and ordered recipients\n  * **Embedded signing/sending/editor** links for in-app experiences\n* **Status \u0026 retrieval**\n\n  * Check invite status and step details\n  * Download final documents (single or merged)\n  * Read normalized document/group structure for programmatic decisions\n* **Transports**\n\n  * **STDIO** (best for local clients)\n  * **Streamable HTTP** (best for Docker/remote)\n\n---\n\n## Quick start\n\n### Prerequisites\n\n- Python 3.11+ installed on your system\n- Environment variables configured\n\n### Quick run (uvx)\n\nIf you use `uv`, you can run the server without installing the package:\n\n```bash\nuvx --from signnow-mcp-server sn-mcp serve\n```\n\n### 1. Setup Environment Variables\n\n```bash\n# Create .env file with your SignNow credentials\n# You can copy from env.example if you have the source code\n# Or create .env file manually with required variables (see Environment Variables section below)\n```\n\n### 2. Install and Run\n\n#### Option A: Install from PyPI (Recommended)\n\n```bash\n# Install the package from PyPI\npip install signnow-mcp-server\n\n# Run MCP server in standalone mode\nsn-mcp serve\n```\n\n#### Option B: Install from Source (Development)\n\n```bash\n# 1) Clone \u0026 configure\ngit clone https://github.com/signnow/sn-mcp-server.git\ncd sn-mcp-server\ncp .env.example .env\n# fill in your values in .env\n\n# 2) Install (editable for dev)\npip install -e .\n\n# 3) Run as STDIO MCP server (recommended for local tools \u0026 Inspector)\nsn-mcp serve\n```\n\n\u003e STDIO is ideal for desktop clients and local testing.\n\n### Local/Remote (HTTP)\n\n```bash\n# Start HTTP server on 127.0.0.1:8000\nsn-mcp http\n\n# Custom host/port\nsn-mcp http --host 0.0.0.0 --port 8000\n\n# Dev reload\nsn-mcp http --reload\n```\n\nBy default, the **Streamable HTTP** MCP endpoint is served under `/mcp`. Example URL:\n\n```\nhttp://localhost:8000/mcp\n```\n\n### Docker\n\n```bash\n# Build\ndocker build -t sn-mcp-server .\n\n# Run HTTP mode (recommended for containers)\ndocker run --env-file .env -p 8000:8000 sn-mcp-server sn-mcp http --host 0.0.0.0 --port 8000\n```\n\n\u003e STDIO inside containers is unreliable with many clients. Prefer HTTP when using Docker.\n\n### Docker Compose\n\n```bash\n# Only the MCP server\ndocker-compose up sn-mcp-server\n\n# Both services (if defined)\ndocker-compose up\n```\n\n---\n\n## Configuration\n\nCopy `.env.example` → `.env` and fill in values. All settings are validated via **pydantic-settings** at startup.\n\n### Authentication options\n\n**1) Username / Password (recommended for desktop dev flows)**\n\n```\nSIGNNOW_USER_EMAIL=\u003cemail\u003e\nSIGNNOW_PASSWORD=\u003cpassword\u003e\nSIGNNOW_API_BASIC_TOKEN=\u003cbase64 basic token\u003e\n```\n\n**2) OAuth 2.0 (for hosted/advanced scenarios)**\n\n```\nSIGNNOW_CLIENT_ID=\u003cclient_id\u003e\nSIGNNOW_CLIENT_SECRET=\u003cclient_secret\u003e\n# + OAuth server \u0026 RSA settings below\n```\n\n\u003e When running via some desktop clients, only user/password may be supported.\n\n### SignNow \u0026 OAuth settings\n\n```\n# SignNow endpoints (defaults shown)\nSIGNNOW_APP_BASE=https://app.signnow.com\nSIGNNOW_API_BASE=https://api.signnow.com\n\n# Optional direct API token (not required for normal use)\nSIGNNOW_TOKEN=\u003caccess_token\u003e\n\n# OAuth server (if you enable OAuth mode)\nOAUTH_ISSUER=\u003cyour_issuer_url\u003e\nACCESS_TTL=3600\nREFRESH_TTL=2592000\nALLOWED_REDIRECTS=\u003ccomma,separated,uris\u003e\n\n# RSA keys for OAuth (critical in production)\nOAUTH_RSA_PRIVATE_PEM=\u003cPEM content\u003e\nOAUTH_JWK_KID=\u003ckey id\u003e\n```\n\n### Production key management\n\nIf `OAUTH_RSA_PRIVATE_PEM` is missing in production, a new RSA key will be generated on each restart, **invalidating all existing tokens**. Always provide a persistent private key via secrets management in prod.\n\n---\n\n## Client setup\n\n### VS Code — GitHub Copilot (Agent Mode) / Cursor\n\nCreate `.vscode/mcp.json` / `.cursor/mcp.json` in your workspace:\n\n**STDIO (local):**\n\n```json\n{\n  \"servers\": {\n    \"signnow\": {\n      \"command\": \"sn-mcp\",\n      \"args\": [\"serve\"],\n      \"env\": {\n        \"SIGNNOW_USER_EMAIL\": \"${env:SIGNNOW_USER_EMAIL}\",\n        \"SIGNNOW_PASSWORD\": \"${env:SIGNNOW_PASSWORD}\",\n        \"SIGNNOW_API_BASIC_TOKEN\": \"${env:SIGNNOW_API_BASIC_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n**STDIO (uvx — no local install):**\n\n```json\n{\n  \"servers\": {\n    \"signnow\": {\n      \"command\": \"uvx\",\n      \"args\": [\"--from\", \"signnow-mcp-server\", \"sn-mcp\", \"serve\"],\n      \"env\": {\n        \"SIGNNOW_USER_EMAIL\": \"${env:SIGNNOW_USER_EMAIL}\",\n        \"SIGNNOW_PASSWORD\": \"${env:SIGNNOW_PASSWORD}\",\n        \"SIGNNOW_API_BASIC_TOKEN\": \"${env:SIGNNOW_API_BASIC_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n**HTTP (remote or Docker):**\n\n```json\n{\n  \"servers\": {\n    \"signnow\": {\n      \"type\": \"http\",\n      \"url\": \"http://localhost:8000/mcp\"\n    }\n  }\n}\n```\n\nThen open Chat → **Agent mode**, enable the **signnow** tools, and use them in prompts.\n\nNote: The same configuration applies in Cursor — add it under MCP settings (STDIO or HTTP). For STDIO, you can also use `uvx` as shown above.\n\n### Claude Desktop\n\nUse Desktop Extensions or the manual MCP config (Developer → Edit config).\n\nSteps:\n\n1. Open Claude Desktop → Developer → Edit config\n2. Add a new server entry under `mcpServers`\n3. Save and restart Claude Desktop\n\nExamples:\n\n**STDIO (local install):**\n\n```json\n{\n  \"mcpServers\": {\n    \"signnow\": {\n      \"command\": \"sn-mcp\",\n      \"args\": [\"serve\"],\n      \"env\": {\n        \"SIGNNOW_USER_EMAIL\": \"${env:SIGNNOW_USER_EMAIL}\",\n        \"SIGNNOW_PASSWORD\": \"${env:SIGNNOW_PASSWORD}\",\n        \"SIGNNOW_API_BASIC_TOKEN\": \"${env:SIGNNOW_API_BASIC_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n**STDIO (uvx — no local install):**\n\n```json\n{\n  \"mcpServers\": {\n    \"signnow\": {\n      \"command\": \"uvx\",\n      \"args\": [\"--from\", \"signnow-mcp-server\", \"sn-mcp\", \"serve\"],\n      \"env\": {\n        \"SIGNNOW_USER_EMAIL\": \"${env:SIGNNOW_USER_EMAIL}\",\n        \"SIGNNOW_PASSWORD\": \"${env:SIGNNOW_PASSWORD}\",\n        \"SIGNNOW_API_BASIC_TOKEN\": \"${env:SIGNNOW_API_BASIC_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n**HTTP (remote or Docker):**\n\n```json\n{\n  \"mcpServers\": {\n    \"signnow\": {\n      \"type\": \"http\",\n      \"url\": \"http://localhost:8000/mcp\"\n    }\n  }\n}\n```\n\nThen enable the server in Claude’s chat and start using the tools.\n\n### Glama (hosted MCP)\n\nDeploy and run this server on Glama with minimal setup:\n\nSteps:\n\n1. Open the server page on Glama: [sn-mcp-server on Glama](https://glama.ai/mcp/servers/@mihasicehcek/sn-mcp-server)\n2. Click the red \"Deploy Server\" button\n3. In environment variables, provide:\n   - `SIGNNOW_USER_EMAIL`\n   - `SIGNNOW_PASSWORD`\n   - `SIGNNOW_API_BASIC_TOKEN`\n   - (other variables can be left as defaults)\n4. Create an access token in Glama and copy the endpoint URL. It will look like:\n\n```\nhttps://glama.ai/endpoints/{someId}/mcp?token={glama-mcp-token}\n```\n\nUse this HTTP MCP URL in any client that supports HTTP transport (e.g., VS Code/Cursor JSON config or Claude Desktop HTTP example above).\n\n### MCP Inspector (testing)\n\nGreat for exploring tools \u0026 schemas visually.\n\n```bash\n# Start Inspector (opens UI on localhost)\nnpx @modelcontextprotocol/inspector\n\n# Connect (STDIO): run your server locally and attach\nsn-mcp serve\n\n# Or connect (HTTP): use http://localhost:8000/mcp\n```\n\nYou can list tools, call them with JSON args, and inspect responses.\n\n---\n\n## Tools\n\nEach tool is described concisely; use an MCP client (e.g., Inspector) to view exact JSON schemas.\n\n* **`list_all_templates`** — List templates \u0026 template groups with simplified metadata.\n* **`list_documents`** — Browse your documents, document groups and statuses.\n* **`create_from_template`** — Make a document or a group from a template/group.\n* **`send_invite`** — Email invites (documents or groups), ordered recipients supported.\n* **`create_embedded_invite`** — Embedded signing session without email delivery.\n* **`create_embedded_sending`** — Embedded “sending/management” experience.\n* **`create_embedded_editor`** — Embedded editor link to place/adjust fields.\n* **`send_invite_from_template`** — One-shot: create from template and invite.\n* **`create_embedded_sending_from_template`** — One-shot: template → embedded sending.\n* **`create_embedded_editor_from_template`** — One-shot: template → embedded editor.\n* **`create_embedded_invite_from_template`** — One-shot: template → embedded signing.\n* **`get_invite_status`** — Current invite status/steps for document or group.\n* **`get_document_download_link`** — Direct download link (merged output for groups).\n* **`get_signing_link`** — Get signing link for a document or document group.\n* **`get_document`** — Normalized document/group structure with field values.\n* **`update_document_fields`** — Prefill text fields in individual documents.\n\n\u003e Tip: Start with `list_all_templates` → `create_from_template` → `create_embedded_*` / `send_invite`, then `get_invite_status` and `get_document_download_link`.\n\n---\n\n## FAQ / tips\n\n* **STDIO vs Docker?** Prefer **STDIO** for local dev; inside Docker, use **HTTP**.\n* **Sandbox vs production?** Start with SignNow’s sandbox/dev credentials; production requires proper OAuth and persistent RSA private key.\n* **Where do I see exact tool schemas?** Use **MCP Inspector** or your client’s “tool details” view.\n* **Where are examples?** See `examples/` in this repo for starter integrations.\n\n---\n\n## Examples\n\nThe `examples/` directory contains working examples of how to integrate the SignNow MCP Server with popular AI agent frameworks:\n\n- **[LangChain](examples/langchain/langchain_example.py)** - Integration with LangChain agents using `langchain-mcp-adapters`\n- **[LlamaIndex](examples/llamaindex/llamaindex_example.py)** - Integration with LlamaIndex agents using `llama-index-tools-mcp`\n- **[SmolAgents](examples/smolagents/stdio_demo.py)** - Integration with SmolAgents framework using native MCP support\n\nEach example demonstrates how to:\n- Start the MCP server as a subprocess\n- Convert MCP tools to framework-specific tool formats\n- Create agents that can use SignNow functionality\n- Handle environment variable configuration\n\nTo run an example:\n```bash\n# Make sure you have the required dependencies installed\npip install langchain-openai langchain-mcp-adapters  # for LangChain example\npip install llama-index-tools-mcp                   # for LlamaIndex example  \npip install smolagents                              # for SmolAgents example\n\n# Set up your .env file with SignNow credentials and LLM configuration\n# Then run the example\npython examples/langchain/langchain_example.py\npython examples/llamaindex/llamaindex_example.py\npython examples/smolagents/stdio_demo.py\n```\n\n---\n\n## Useful resources\n\n### Sample apps\n\nExplore ready-to-use sample apps to quickly test preparing, signing, and sending documents from your software using the SignNow API.\n\nTry the [sample apps](https://docs.signnow.com/docs/signnow/sample-apps).\n\n### API documentation\nFind technical details on SignNow API requests, parameters, code examples, and possible errors. Learn more about the API functionality in detailed guides and use cases.\n\nRead the [API documentation](https://docs.signnow.com/docs/signnow/welcome).\n\n### GitHub Copilot extension\nDevelop eSignature integrations directly in GitHub using AI-powered code suggestions. Copilot recommends API calls and code snippets that align with SignNow API guidelines.\n\nGet [SignNow for GitHub Copilot](https://github.com/apps/signnow).\n\n---\n\n## License\n\nMIT — see [LICENSE.md](./LICENSE.md).\n\n---\n\n**About**\nSignNow MCP Server — maintained by the SignNow team. Issues and contributions welcome via GitHub pull requests.\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignnow%2Fsn-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsignnow%2Fsn-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignnow%2Fsn-mcp-server/lists"}