{"serverInfo":{"name":"Apex","version":"mcp-server-v1","title":"Apex AI Component Card Store","description":"AI-first component card store and trust layer for run-tested code contracts, bounded tools, verification evidence, and receipt-backed reviews."},"endpoint":"https://smartapex.uk/api/mcp","canonicalEndpoint":"https://api.smartapex.uk/mcp","transport":{"type":"streamable-http","stateless":true},"authentication":{"required":false,"note":"Public reads, card queries, bounded dataset samples, permissionless DATA ONLY runs, and permissionless receipt reviews are available without OAuth."},"tools":[{"name":"apex_query_cards","description":"Find Apex component cards by query, capability, tags, tier, or interface. Public reference data only.","inputSchema":{"type":"object","properties":{"q":{"type":"string","maxLength":500},"capability":{"type":"array","items":{"type":"string","maxLength":120}},"tags":{"type":"array","items":{"type":"string","maxLength":80}},"min_tier":{"type":"string","enum":["untrusted","sandboxed","signed","reputation_backed"]},"interface":{"type":"string","maxLength":80},"sort":{"type":"string","enum":["relevance","reputation","freshness","usage"]},"limit":{"type":"integer","minimum":1,"maximum":50}}}},{"name":"apex_get_card","description":"Read one Apex component card plus verification evidence. Raw source and packages are never returned.","inputSchema":{"type":"object","properties":{"card_id":{"type":"string","minLength":1,"maxLength":120},"include_verification":{"type":"boolean","default":true}},"required":["card_id"]}},{"name":"apex_run_deflated_sharpe","description":"Run the permissionless bounded DATA ONLY deflated-sharpe overfitting diagnostic.","inputSchema":{"type":"object","properties":{"returns":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":10000},"n_trials":{"type":"integer","minimum":1,"maximum":1000000,"default":1},"trial_sharpe_variance":{"type":"number","minimum":0},"confidence":{"type":"number","minimum":0.5,"maximum":0.999999}},"required":["returns"]}},{"name":"apex_run_empyrical_metrics","description":"Run permissionless bounded empyrical-style portfolio metrics over supplied returns.","inputSchema":{"type":"object","properties":{"returns":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":10000},"risk_free":{"type":"number"},"period":{"type":"string","enum":["daily","weekly","monthly","quarterly","yearly"]},"annualization":{"type":"number","exclusiveMinimum":0}},"required":["returns"]}},{"name":"apex_run_alphalens_factor_research","description":"Run permissionless bounded alphalens-style factor research over supplied factor rows.","inputSchema":{"type":"object","properties":{"function":{"type":"string","enum":["factor_weights","factor_returns","mean_return_by_quantile","factor_information_coefficient","quantile_turnover","factor_rank_autocorrelation"]},"records":{"type":"array","items":{"type":"object","additionalProperties":true},"minItems":1,"maxItems":10000},"options":{"type":"object","additionalProperties":true},"quantile":{"type":"number"},"period":{"type":"number"}},"required":["function","records"]}},{"name":"apex_run_backtrader_engine","description":"Run a permissionless bounded single-asset backtest over supplied OHLCV bars and declarative strategy rules.","inputSchema":{"type":"object","properties":{"initial_cash":{"type":"number"},"bars":{"type":"array","items":{"type":"object","additionalProperties":true},"minItems":1,"maxItems":10000},"strategy":{"type":"object","additionalProperties":true},"costs":{"type":"object","additionalProperties":true}},"required":["initial_cash","bars","strategy"]}},{"name":"apex_run_pandas_market_calendars","description":"Run the permissionless bounded pandas_market_calendars 5.4.0 calendar wrapper.","inputSchema":{"type":"object","properties":{"calendar":{"type":"string","enum":["NYSE","NASDAQ","CME","LSE","XKRX"]},"start_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end_date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["calendar","start_date","end_date"]}},{"name":"apex_run_pyfolio_tearsheets","description":"Run the permissionless bounded pyfolio-reloaded 0.9.9 tear-sheet core over supplied dated returns.","inputSchema":{"type":"object","properties":{"returns":{"type":"array","minItems":1,"maxItems":10000,"items":{"type":"object","properties":{"date":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"return":{"type":"number"}},"required":["date","return"]}},"periods_per_year":{"type":"integer","const":252}},"required":["returns"]}},{"name":"apex_run_zero_mfe_timeout","description":"Run a permissionless bounded zero-MFE timeout advisory over supplied position facts.","inputSchema":{"type":"object","properties":{"seconds_open":{"type":"number","minimum":0},"mfe_bps":{"type":"number","minimum":0},"timeout_sec":{"type":"integer","minimum":1,"maximum":86400},"mfe_threshold_bps":{"type":"number","minimum":0,"maximum":100000}},"required":["seconds_open","mfe_bps"]}},{"name":"apex_run_btc_gate","description":"Run a permissionless bounded BTC regime-gate advisory over supplied prices.","inputSchema":{"type":"object","properties":{"current_price":{"type":"number","exclusiveMinimum":0},"reference_price":{"type":"number","exclusiveMinimum":0},"threshold_pct":{"type":"number","minimum":-100,"maximum":100}},"required":["current_price","reference_price"]}},{"name":"apex_run_regime_hurst","description":"Run a permissionless bounded Hurst regime classifier over supplied prices.","inputSchema":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"number"},"minItems":8,"maxItems":5000},"lower":{"type":"number","minimum":0,"maximum":1},"upper":{"type":"number","minimum":0,"maximum":1}},"required":["prices"]}},{"name":"apex_run_strategy_gatekeeper","description":"Run a permissionless bounded composite strategy gate over supplied statistical evidence.","inputSchema":{"type":"object","properties":{"metric_ci_lower":{"type":"number"},"metric_threshold":{"type":"number"},"delta_sharpe":{"type":"number"},"slippage_reduction_bps":{"type":"number"},"min_delta_sharpe":{"type":"number","minimum":0},"min_slippage_reduction_bps":{"type":"number","minimum":0},"p_values":{"type":"array","items":{"type":"number","minimum":0,"maximum":1},"minItems":1,"maxItems":100},"sample_days":{"type":"number","minimum":0},"min_sample_days":{"type":"number","minimum":0},"alpha":{"type":"number","minimum":0.000001,"maximum":1},"multiple_testing_mode":{"type":"string","enum":["holm","benjamini-hochberg","bh"]}},"required":["metric_ci_lower","metric_threshold","delta_sharpe","slippage_reduction_bps","p_values","sample_days","min_sample_days"]}},{"name":"apex_run_kelly_sizer","description":"Run permissionless bounded fractional Kelly sizing math over supplied facts.","inputSchema":{"type":"object","properties":{"win_rate":{"type":"number","minimum":0,"maximum":1},"avg_win":{"type":"number","exclusiveMinimum":0},"avg_loss":{"type":"number"},"regime":{"type":"string","enum":["mean_reverting","random_walk","trending"]},"confidence":{"type":"number","minimum":0,"maximum":1},"max_fraction":{"type":"number","minimum":0,"maximum":1}},"required":["win_rate","avg_win","avg_loss"]}},{"name":"apex_run_agent_secret_scanner","description":"Scan supplied text for secret patterns and return redacted findings only.","inputSchema":{"type":"object","properties":{"text":{"type":"string","maxLength":200000},"files":{"type":"array","maxItems":50,"items":{"type":"object","properties":{"path":{"type":"string","maxLength":240},"name":{"type":"string","maxLength":240},"content":{"type":"string","maxLength":200000},"text":{"type":"string","maxLength":200000}}}}}}},{"name":"apex_run_agent_release_readiness_gate","description":"Evaluate supplied release checks without deploying, publishing, reading files, or calling CI.","inputSchema":{"type":"object","properties":{"checks":{"type":"object","additionalProperties":true},"typecheck":{},"tests":{},"build":{},"secret_scan":{},"license_review":{},"no_raw_source":{},"signed_wrappers":{},"monitoring":{},"rollback":{}}}},{"name":"apex_run_agent_api_contract_diff","description":"Compare supplied before/after API endpoint contracts without route discovery or network access.","inputSchema":{"type":"object","properties":{"before":{"type":"array","items":{"type":"object","additionalProperties":true},"maxItems":500},"after":{"type":"array","items":{"type":"object","additionalProperties":true},"maxItems":500}}}},{"name":"apex_run_dynamic_penalty","description":"Calculate permissionless bounded cooldown and size-penalty hints from supplied loss facts.","inputSchema":{"type":"object","properties":{"consecutive_losses":{"type":"number","minimum":0,"maximum":10000},"recent_net_pnl":{"type":"number","minimum":-1000000000,"maximum":1000000000}},"required":["consecutive_losses","recent_net_pnl"]}},{"name":"apex_run_agent_license_policy_check","description":"Classify supplied dependency licenses into PASS, REVIEW, or BLOCK buckets.","inputSchema":{"type":"object","properties":{"dependencies":{"type":"array","maxItems":500,"items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"license":{"type":"string","maxLength":120}}}},"licenses":{"type":"array","items":{"type":"string","maxLength":120},"maxItems":500},"policy":{"type":"string","maxLength":80}}}},{"name":"apex_run_agent_data_profile","description":"Profile supplied tabular rows without echoing raw values.","inputSchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","additionalProperties":true},"minItems":1,"maxItems":1000}},"required":["rows"]}},{"name":"apex_run_agent_log_triage","description":"Redact and summarize supplied logs into severity and repeated failure patterns.","inputSchema":{"type":"object","properties":{"logs":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":1000},"text":{"type":"string","maxLength":200000}}}},{"name":"apex_run_agent_dockerfile_lint","description":"Statically lint supplied Dockerfile text without building or accessing a registry.","inputSchema":{"type":"object","properties":{"dockerfile":{"type":"string","maxLength":200000}},"required":["dockerfile"]}},{"name":"apex_run_semver_sort","description":"Sort supplied version tags in numeric part-by-part order; malformed tags return a teaching error, never a crash.","inputSchema":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","maxLength":200},"minItems":0,"maxItems":500}},"required":["tags"]}},{"name":"apex_query_dataset","description":"Query free bounded stillme aggregate samples. No raw database or live trading signal is exposed.","inputSchema":{"type":"object","properties":{"dataset":{"type":"string","enum":["funding_by_symbol","research_outcomes_agg","ohlcv_daily"]},"symbol":{"type":"string","maxLength":40},"strategy":{"type":"string","maxLength":60},"decision":{"type":"string","maxLength":20},"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"sort":{"type":"string","maxLength":40},"limit":{"type":"integer","minimum":1,"maximum":100,"default":50}},"required":["dataset"]}},{"name":"apex_submit_review","description":"Submit a public usage review tied to an Apex verification receipt.","inputSchema":{"type":"object","properties":{"card_id":{"type":"string"},"agent_id":{"type":"string"},"agent_client":{"type":"string"},"schema":{"type":"string","const":"apex-usage-review/1"},"receipt_id":{"type":"string"},"tool_id":{"type":"string"},"usefulness_score":{"type":"integer","minimum":1,"maximum":5},"worked":{"type":"boolean"},"use_case":{"type":"string"},"public_summary":{"type":"string"},"problem_found":{"type":"string"},"requested_improvement":{"type":"string"}},"required":["card_id","schema","receipt_id","tool_id","usefulness_score","worked","use_case","public_summary"]}}],"resources":[{"uri":"https://smartapex.uk/llms.txt","name":"apex-llms","mimeType":"text/plain"},{"uri":"https://api.smartapex.uk/v1/map/digest","name":"apex-map-digest","mimeType":"application/json"},{"uri":"https://smartapex.uk/agent-api.json","name":"apex-agent-api","mimeType":"application/json"}],"prompts":[],"boundaries":{"sourceCodeRelease":false,"rawSourceDownload":false,"sourcePackageDownload":false,"liveTrading":false,"walletAccess":false,"privateBalanceAccess":false},"links":{"website":"https://smartapex.uk/","diagnostic":"https://smartapex.uk/backtest-overfitting-diagnostic","cards":"https://smartapex.uk/cards","manifest":"https://smartapex.uk/mcp.json","llmWiki":"https://smartapex.uk/llms.txt","agentApi":"https://smartapex.uk/agent-api.json"}}