Skip to main content

MCP Auto-Sync System

Installation Instructions

  1. First install required packages:
pip install -r requirements.txt
  1. Configure ports in main.py to use port 3000 for local development
  2. Make sure no other processes are using port 3000 before starting

Deployment on DigitalOcean

  1. Create a new DigitalOcean Droplet
  2. Configure your domain and SSL certificates
  3. Set up environment variables in your deployment environment
  4. Deploy using Docker or direct installation

Running the Project

  1. Once deployed, make sure the dependencies from requirements.txt are installed
  2. Start the project
  3. Your app will be available at your configured domain

System Components

  • Real-Time Git Sync: Changes saved in Windsurf are automatically committed and pushed
  • Security: HMAC-SHA256 signed commits using MCP_VAULT secret
  • DigitalOcean Integration: Direct deployment from GitHub without Docker

Recent Updates

  • Fixed port binding issues by standardizing on port 3000
  • Improved Redis connection handling and shutdown process
  • Added health check endpoint to monitor Redis connectivity

Configuration

  • MCP_VAULT: Required for HMAC-SHA256 signed commits
  • REDIS_URL: Optional, defaults to "redis://redis-mcp:6380"
  • PORT: Fixed to 3000 for local development

Environment Setup

Make sure to set these environment variables in your deployment environment:

  1. Set the following environment variables:
    • REDIS_URL: Your Redis connection URL (optional)
    • MCP_VAULT: Your secure vault key for HMAC-SHA256 signing

Features

  • FastAPI Backend: Running on port 3000
  • Real-Time Updates: WebSocket support for live data
  • Auto-Cleanup: Automatic cleanup of old results
  • CORS Enabled: Frontend can connect from any origin
  • Validation Features:
    • Walk-Forward Analysis: Anchored and rolling window validation
    • Monte Carlo Simulation: Multiple path generation methods
    • Validation Metrics: Sharpe & Sortino ratios, Maximum drawdown, Win rate & profit factor, Ulcer index, Pain ratio, Calmar ratio

Troubleshooting

  • If port 3000 is in use, stop other processes using: lsof -i :3000
  • Check Redis connectivity using the /health endpoint
  • Verify HMAC-SHA256 signatures in commit logs
  • If the app doesn't start, check the deployment logs for error messages
  • Make sure all required environment variables are set
  • Check that port 3000 is properly exposed in the deployment configuration

Last Updated: 2025-02-07

Metadata

Release files for sys-research 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sys-research 0.1.0
File Size Uploaded Provenance Actions
sys_research-0.1.0.tar.gz 92.9 kB Without provenance Details for sys_research-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sys-research 0.1.0
File Interpreter ABI Platform Actions
sys_research-0.1.0-py3-none-any.whl Python 3 none any Details for sys_research-0.1.0-py3-none-any.whl

Total release size: 196.2 kB

Release files / sys_research-0.1.0.tar.gz

Download URL sys_research-0.1.0.tar.gz
Size 92.9 kB
Tags Source
SHA-256 checksum
How to use checksums
79998b8a6eb66cf7c3177fc67cbd7d68f2d174df99dd016e4760944e35337e9f
BLAKE2b-256 checksum
How to use checksums
3eabe605580e60a55c5d2762eeacabc856dcca82dac76269fd3ddf10859be27d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / sys_research-0.1.0-py3-none-any.whl

Download URL sys_research-0.1.0-py3-none-any.whl
Size 103.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6be2b730f1135e250b1bd416f33eadc3970bed4368017b77a34b5b56f2d178c7
BLAKE2b-256 checksum
How to use checksums
1689b7b8f6a1cc02f5e71a41e33234199349508a6e32e7e7f21ca0d037e36428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for sys-research 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page