Sandbox Gstr1 Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Sandbox Gstr1 Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A powerful Model Context Protocol (MCP) server for automating GSTR-1 (Goods and Services Tax Return - 1) filing through the Sandbox.co APIs. Seamlessly integrate with Claude Desktop or Claude API to automate your GST return filing process.
git clone https://github.com/yourusername/sandbox-gstr1-mcp.git
cd sandbox-gstr1-mcp pip install -r requirements.txt~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json {
"mcpServers": {
"sandbox-gstr1": {
"command": "python",
"args": ["/path/to/sandbox-gstr1-mcp/server.py"],
"env": {
"SANDBOX_API_KEY": "key_test_ed6b10d21cf546d7b4b600021f91c341",
"SANDBOX_API_SECRET": "secret_test_798d3274325741fab93dd24bbb786a3a"
}
}
}
}# Clone and setup
git clone https://github.com/yourusername/sandbox-gstr1-mcp.git
cd sandbox-gstr1-mcp
# Install dependencies
pip install -r requirements.txt
# Run the server
export SANDBOX_API_KEY="key_test_ed6b10d21cf546d7b4b600021f91c341"
python server.py| Section | Type | Description |
|---|---|---|
| B2B | Business-to-Business | Regular invoices to registered businesses |
| B2CL | B2C Large | Large value B2C invoices (>₹1,00,000 from Aug 2024) |
| B2CS | B2C Small | Aggregated B2C transactions |
| HSN | Summary | Harmonized System of Nomenclature aggregation |
| Credit Notes | Amendments | For refunds and adjustments |
| Exports | International | Export transactions |
| Amendments | Revisions | Amendments to previously filed returns |
The MCP server exposes 8 powerful tools for GSTR-1 filing:
generate_taxpayer_session(gstin, username)Creates a 6-hour valid taxpayer session token.
save_gstr1_data(access_token, gstin, ret_period, gstr1_data)Uploads GSTR-1 data for validation.
check_return_status(access_token, gstin, ret_period, reference_id)Monitors filing operation status.
proceed_to_file(access_token, gstin, ret_period, is_nil)Initializes the filing process.
get_gstr1_summary(access_token, gstin, ret_period, summary_type)Retrieves section summaries and checksums.
generate_evc_otp(access_token, pan)Generates Electronic Verification Code OTP.
file_gstr1(access_token, gstin, ret_period, pan, otp, sec_sum, chksum)Submits the final GSTR-1 return.
convert_excel_to_sandbox_payload(excel_path)Transforms Excel output to API format.
# Required
export SANDBOX_API_KEY="key_test_ed6b10d21cf546d7b4b600021f91c341"
export SANDBOX_API_SECRET="secret_test_798d3274325741fab93dd24bbb786a3a"
# Optional
export SANDBOX_API_URL="https://api.sandbox.co.in"
export SANDBOX_API_VERSION="1.0.0"
export LOG_LEVEL="INFO"The server comes pre-configured with test credentials that don't consume quota:
key_test_ed6b10d21cf546d7b4b600021f91c341secret_test_798d3274325741fab93dd24bbb786a3a┌─────────────────────────────────────────────────────────────┐
│ 1. Generate Taxpayer Session (6-hour validity) │
└────────────────────┬────────────────────────────────────────┘
│
┌────────────────────▼────────────────────────────────────────┐
│ 2. Save GSTR-1 Data (B2B, B2CL, B2CS, HSN, etc.) │
└────────────────────┬────────────────────────────────────────┘
│
┌────────────────────▼────────────────────────────────────────┐
│ 3. Check Return Status (Poll until complete) │
└────────────────────┬────────────────────────────────────────┘
│
┌────────────────────▼────────────────────────────────────────┐
│ 4. Proceed to File (Initialize filing) │
└────────────────────┬────────────────────────────────────────┘
│
┌────────────────────▼────────────────────────────────────────┐
│ 5. Get GSTR-1 Summary (Get checksums) │
└────────────────────┬────────────────────────────────────────┘
│
┌────────────────────▼────────────────────────────────────────┐
│ 6. Generate EVC OTP (For verification) │
└────────────────────┬────────────────────────────────────────┘
│
┌────────────────────▼────────────────────────────────────────┐
│ 7. File GSTR-1 (Submit with OTP) │
└────────────────────┬────────────────────────────────────────┘
│
▼
✅ Filing CompleteRun the comprehensive test suite:
python test_server.pyExpected output:
============================================================
Test Summary
============================================================
✓ PASSED: Imports
✓ PASSED: API Endpoints
✓ PASSED: Payload Structure
✓ PASSED: Credentials
✓ PASSED: Workflow
Total: 5/5 tests passed
============================================================Once configured, use natural language:
"File a GSTR-1 return for GSTIN 29AAACQ3770E000 for March 2026"
"Generate a taxpayer session and save GSTR-1 data with B2B invoices"
"Check the status of my GSTR-1 filing with reference ID xyz123"
"Convert my GSTR-1 Excel file to the Sandbox API format"import anthropic
client = anthropic.Anthropic(api_key="your-api-key")
response = client.messages.create(
model="claude-3-5-sonnet-20241022",
max_tokens=1024,
tools=[...], # MCP tools
messages=[
{
"role": "user",
"content": "File a GSTR-1 return for GSTIN 29AAACQ3770E000"
}
]
)git clone https://github.com/yourusername/sandbox-gstr1-mcp.git
cd sandbox-gstr1-mcp
pip install -r requirements.txtgit clone https://github.com/yourusername/sandbox-gstr1-mcp.git
cd sandbox-gstr1-mcp
python3.11 -m venv venv
source venv/bin/activate # macOS/Linux
# or
venv\Scripts\activate # Windows
pip install -r requirements.txtdocker build -t sandbox-gstr1-mcp:1.0.0 .
docker run -e SANDBOX_API_KEY="your-key" sandbox-gstr1-mcp:1.0.0Generate a new taxpayer session (valid for 6 hours).
For more troubleshooting, see CLAUDE_INTEGRATION.md.
from server import generate_taxpayer_session, save_gstr1_data
session = generate_taxpayer_session(
gstin="29AAACQ3770E000",
username="taxpayer_username"
)
save_gstr1_data(
access_token=session["access_token"],
gstin="29AAACQ3770E000",
ret_period="032026",
gstr1_data={
"fp": "032026",
"gstin": "29AAACQ3770E000",
"gt": 0,
"cur_gt": 0,
"b2b": [],
"b2cl": [],
"b2cs": [],
"hsn": {"data": []},
"docs": {"doc_det": []}
}
)See EXAMPLES.md for complete examples including:
Contributions are welcome! Please:
This project is licensed under the MIT License - see the LICENSE file for details.
For issues or questions:
| Component | Status |
|---|---|
| Core Server | ✅ Production Ready |
| API Integration | ✅ Complete |
| Claude Desktop | ✅ Tested |
| Claude API | ✅ Supported |
| Documentation | ✅ Comprehensive |
| Tests | ✅ Passing |
Made with ❤️ for GST compliance automation
Version: 1.0.0 Last Updated: April 1, 2026 Python: 3.11+ License: MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.