Back to Home
C45h888 icon

888.MCP

Verified Safe

by C45h888

Overview

High-speed Redis-based pub/sub message bus and central nervous system for an agentic trading system, handling market data, sentiment, and trading signals.

Installation

Run Command
uvicorn mcp.server:app --host 0.0.0.0 --port 8080

Environment Variables

  • REDIS_URL
  • MCP_DEV
  • MCP_API_KEY
  • S3_DATA_BUCKET
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • ARCHIVE_ENABLED
  • ARCHIVE_FORMAT
  • ARCHIVE_DIR
  • ARCHIVE_FLUSH_INTERVAL
  • ARCHIVE_BATCH_SIZE
  • MAX_BODY_BYTES
  • VECTOR_DB_TYPE
  • VECTOR_DB_URL
  • VECTOR_DB_API_KEY
  • LOG_LEVEL
  • RATE_LIMIT_GLOBAL_IP
  • RATE_LIMIT_GLOBAL_KEY
  • RATE_LIMIT_PUBLISH
  • RATE_LIMIT_RETRIEVE
  • RATE_LIMIT_RAG
  • RATE_LIMIT_STATUS
  • RATE_LIMIT_METRICS
  • RATE_LIMIT_ADMIN
  • RATE_LIMIT_HEALTH
  • PORT

Security Notes

The MCP Server demonstrates a robust security posture, incorporating multi-key API authentication with granular role-based access control (RBAC), SHA256 hashing for API keys, and triple-tier rate limiting (IP, per-key, and per-endpoint) to mitigate various attack vectors including DoS and brute force. Comprehensive input validation (Pydantic and JSON Schema) prevents data injection, and structured JSON logging with secret sanitization ensures no sensitive information is leaked. HTTPS enforcement (via Render.com), proper security headers, and least-privilege IAM policies for S3 (with encryption and versioning) further harden the system. A clearly defined development mode (`MCP_DEV=true`) bypasses authentication, but its use is explicitly flagged for non-production environments. Administrative endpoints for key management are strictly secured with admin-only permissions. The RAG endpoint (Phase 6) has been specifically remediated to comply with these strong security standards.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassLow
Stars0
Forks0
Last Update2025-12-13

Tags

Financial TradingMessage BusPub/SubRedisFastAPIAgentic SystemAPI Gateway