@@ -9,19 +9,39 @@ A Model Context Protocol (MCP) server that provides SignNow API integration capa
99- Python 3.11+ installed on your system
1010- Environment variables configured
1111
12- ### 1. Clone and Setup
12+ ### 1. Setup Environment Variables
1313
1414``` bash
15- git clone < your-repo>
16- cd sn-mcp-server
17- cp env.example .env
18- # Edit .env file with your actual values
15+ # Create .env file with your SignNow credentials
16+ # You can copy from env.example if you have the source code
17+ # Or create .env file manually with required variables (see Environment Variables section below)
1918```
2019
2120### 2. Install and Run
2221
22+ #### Option A: Install from PyPI (Recommended)
23+
24+ ``` bash
25+ # Install the package from PyPI
26+ pip install signnow-mcp-server
27+
28+ # Run MCP server in standalone mode
29+ sn-mcp serve
30+
31+ # Run HTTP server with MCP endpoints
32+ sn-mcp http
33+
34+ # Run HTTP server on custom host/port
35+ sn-mcp http --host 127.0.0.1 --port 8080
36+
37+ # Run HTTP server with auto-reload (for development)
38+ sn-mcp http --reload
39+ ```
40+
41+ #### Option B: Install from Source (Development)
42+
2343``` bash
24- # Install the package
44+ # Install the package in development mode
2545pip install -e .
2646
2747# Run MCP server in standalone mode
@@ -135,6 +155,8 @@ For production environments:
135155** Security Note** : Never commit RSA private keys to version control. Always use environment variables or secure secret management systems.
136156
137157## MCP Tools
158+ <details >
159+ <summary >Tools list</summary >
138160
139161The server exposes the following tools (brief purpose-oriented descriptions):
140162
@@ -183,6 +205,33 @@ Returns a complete, normalized structure of a document or group, including field
183205### update_document_fields
184206Prefills text fields in one or more individual documents (not groups). Use it to populate values before sending invites.
185207
186- ## License
208+ </details >
209+
210+ ## Examples
211+
212+ The ` examples/ ` directory contains working examples of how to integrate the SignNow MCP Server with popular AI agent frameworks:
213+
214+ - ** [ LangChain] ( examples/langchain/langchain_example.py ) ** - Integration with LangChain agents using ` langchain-mcp-adapters `
215+ - ** [ LlamaIndex] ( examples/llamaindex/llamaindex_example.py ) ** - Integration with LlamaIndex agents using ` llama-index-tools-mcp `
216+ - ** [ SmolAgents] ( examples/smolagents/stdio_demo.py ) ** - Integration with SmolAgents framework using native MCP support
217+
218+ Each example demonstrates how to:
219+ - Start the MCP server as a subprocess
220+ - Convert MCP tools to framework-specific tool formats
221+ - Create agents that can use SignNow functionality
222+ - Handle environment variable configuration
223+
224+ To run an example:
225+ ``` bash
226+ # Make sure you have the required dependencies installed
227+ pip install langchain-openai langchain-mcp-adapters # for LangChain example
228+ pip install llama-index-tools-mcp # for LlamaIndex example
229+ pip install smolagents # for SmolAgents example
230+
231+ # Set up your .env file with SignNow credentials and LLM configuration
232+ # Then run the example
233+ python examples/langchain/langchain_example.py
234+ python examples/llamaindex/llamaindex_example.py
235+ python examples/smolagents/stdio_demo.py
236+ ```
187237
188- MIT License - see LICENSE file for details.
0 commit comments