fine-tuning-os
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HF_TOKEN | No | Hugging Face token for cache_base_model, checkpoint download | |
| FTOS_SSH_KEY | No | Path to SSH private key for remote operations | |
| FTOS_REGISTRY | No | Container registry URL for push_docker_to_registry | |
| FTOS_SFTP_KEY | No | Path to SFTP private key | |
| FTOS_SSH_HOST | No | Remote training server hostname | |
| FTOS_SFTP_HOST | No | SFTP host for upload_deliverable | |
| FTOS_SFTP_USER | No | SFTP username | |
| FTOS_SMTP_HOST | No | SMTP host for send_status_update | |
| FTOS_SMTP_USER | No | SMTP username | |
| FTOS_WORKSPACE | No | Root directory for all project files | ./ftos-workspace |
| FTOS_GIT_REMOTE | No | Git remote URL for self_update | |
| FTOS_LOCAL_PYTHON | No | Path to Python interpreter for local training/merge/quantize | |
| FTOS_SLACK_WEBHOOK | No | Slack incoming webhook URL for notifications | |
| FTOS_SMTP_PASSWORD | No | SMTP password | |
| FTOS_CALENDLY_TOKEN | No | Calendly API token for schedule_meeting | |
| FTOS_REGISTRY_TOKEN | No | Registry authentication token |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| _mcp_create_training_configB | Render a LoRA training config YAML and write it to the project config/ directory. |
| cache_base_modelA | Emit the huggingface-cli download command for a base model (dry_run — no network). |
| _mcp_generate_requirementsC | Generate a pinned requirements.txt for the given fine-tuning framework. |
| _mcp_create_project_structureB | Initialise the project directory tree and project.json in the workspace. |
| _mcp_load_project_templateC | Apply a named template preset (config + requirements) to a project. |
| _mcp_describe_expected_data_formatC | Validate and persist an abstract data schema (no real content). |
| _mcp_validate_data_schemaB | Check a JSONL file against a schema — returns keys/types/lengths only, never values. |
| _mcp_anonymize_dataset_previewC | Sanitize a dataset file via pattern-based masking and write an .anon copy. |
| _mcp_split_dataset_configC | Render a seeded train/val/test split Python script from template. |
| _mcp_generate_synthetic_datasetA | Generate n deterministic synthetic rows (10-50) matching the project data schema and write as JSONL. |
| _mcp_build_docker_imageA | Render Dockerfile.train and emit/execute docker build command (dry-run unless local_python+docker configured). |
| test_docker_buildA | Run docker build + internal pytest tests for an image (dry-run unless local_python+docker configured). |
| _mcp_run_local_synthetic_trainB | Render train.py and optionally run a micro-train loop (dry-run unless FTOS_LOCAL_PYTHON set). |
| _mcp_get_local_metricsC | Parse metrics from the last synthetic run (outputs/metrics.json). |
| dry_run_remote_configA | Check which deployment env vars are present/missing (names only — never secret values). |
| optimize_hyperparamsC | Suggest hyperparameter adjustments from local training metrics. |
| _mcp_generate_unit_testsC | Generate pytest unit-test stubs for critical training-script functions. |
| push_docker_to_registryB | Push a Docker image to the configured registry (dry-run unless FTOS_REGISTRY configured). |
| generate_deployment_commandB | Produce docker run / compose command using env NAME references only — never secret values. |
| trigger_remote_trainingC | Launch remote training via SSH (dry-run unless FTOS_SSH_* configured). |
| stream_remote_logsC | Fetch and sanitize remote training logs via SSH (dry-run unless FTOS_SSH_* configured). |
| monitor_training_metricsB | Aggregate loss/lr/gpu time-series from sanitized remote logs via SSH. |
| detect_anomaliesC | Detect divergence, NaN, plateau, and data-leak signs from sanitized logs/metrics. |
| pause_resume_trainingB | Pause or resume a remote training job via SSH (dry-run unless FTOS_SSH_* configured). |
| early_stopping_checkC | Evaluate early-stop (patience + min_delta) over a loss history. |
| download_checkpoint_metadataA | Fetch checkpoint metadata (step, loss…) without downloading weights (dry-run unless FTOS_SSH_* configured). |
| evaluate_on_syntheticA | Run a deterministic eval over synthetic data to verify the pipeline — no real data required. |
| evaluate_on_validation_setC | Run eval on the client validation set via SSH (dry-run unless FTOS_SSH_* configured). |
| compute_metricsB | Compute BLEU, ROUGE-1/2/L, perplexity, accuracy, macro-F1 from preds and refs — pure, offline. |
| generate_predictions_sampleC | Emit a Python harness to generate sample predictions on synthetic prompts — pure, offline. |
| compare_to_baselineA | Compute per-metric deltas between fine-tuned and baseline and render a Markdown comparison table. |
| bias_fairness_scanC | Heuristic bias/fairness scan over template prompts across given categories — deterministic, offline. |
| audit_code_no_networkB | Static AST analysis of Python source — flag network imports/calls without executing code. |
| audit_dockerfile_securityB | Parse a Dockerfile and flag: root user, unpinned images, secrets in ENV/ARG, network fetches. |
| scan_data_leakage_riskA | Scan logs/artifacts for sensitive data leakage — reports counts by category, never raw values. |
| verify_model_licenseC | Look up base-model license and commercial-use compatibility from the in-module registry. |
| _mcp_generate_security_reportC | Aggregate security audit results into a Markdown (+ optional PDF) report for a project. |
| sanitize_logs_for_claudeB | Sanitize text or a log file via pattern masking — returns the sanitized body and masked count. |
| _mcp_merge_lora_weightsB | Emit the LoRA merge command (base + adapter → merged 16-bit) — dry_run unless FTOS_LOCAL_PYTHON configured. |
| _mcp_quantize_modelC | Emit the quantization command for GGUF/GPTQ/AWQ — dry_run unless FTOS_LOCAL_PYTHON configured. |
| _mcp_build_inference_containerC | Render Dockerfile.infer and emit docker build command — dry_run unless local docker configured. |
| _mcp_generate_inference_configB | Produce inference server config (port, api key NAME ref, context, limits) — no secrets embedded. |
| _mcp_test_inference_apiB | Send test requests to a running inference container — dry_run curl unless base_url provided. |
| _mcp_encrypt_deliverableC | AES-256-GCM encrypt deliverable file(s); key returned ONCE in data, never persisted. |
| _mcp_upload_deliverableA | Upload encrypted deliverable over SFTP — dry_run unless FTOS_SFTP_* configured. |
| _mcp_generate_delivery_noteB | Render delivery note with file list + SHA256 each + decryption procedure. |
| _mcp_generate_contractB | Render a French-law service contract (Code civil, CPI, RGPD art. 28) as Markdown + optional PDF. |
| _mcp_generate_ndaB | Render a bilateral NDA (secret des affaires — Code de commerce L151-1 s.) as Markdown. |
| _mcp_generate_performance_reportC | Render a performance report with metrics, baseline comparison, and curves description. |
| _mcp_generate_user_guideC | Render an inference API user guide (endpoints, code examples, parameters). |
| _mcp_generate_deployment_guideC | Render an IT deployment guide for the inference container. |
| _mcp_generate_destruction_certificateB | Render an irreversible data destruction certificate (RGPD art. 17, 5-1-c, 32). |
| _mcp_export_document_pdfB | Convert a Markdown document to PDF — skips gracefully if weasyprint absent. |
| _mcp_sign_documentB | Apply a local detached signature (SHA-256 + timestamp) as a .sig sidecar file. |
| _mcp_onboard_clientC | Onboard a new client: collect company info and create the project workspace. |
| _mcp_send_status_updateB | Render a status update and deliver via SMTP or Slack webhook (dry-run if neither configured). |
| _mcp_schedule_meetingB | Propose meeting slots via Calendly API (dry-run if FTOS_CALENDLY_TOKEN not configured). |
| _mcp_log_project_eventB | Append a timestamped event to the project events.jsonl log. |
| _mcp_request_client_approvalC | Create a formal approval request (status='pending') persisted in project state. |
| _mcp_generate_invoiceC | Render an invoice from prestation lines as Markdown + optional PDF. |
| _mcp_check_model_rotC | Detect performance drift in a time-ordered metric history — pure, deterministic. |
| _mcp_suggest_retrainingC | Recommend retraining from production signals (drift, new data volume, staleness) — pure. |
| _mcp_update_base_modelB | Update the base model repo/revision in the project config and produce a diff — pure, no network. |
| _mcp_self_updateB | Update the MCP server from a secure Git remote via git pull (dry-run if FTOS_GIT_REMOTE not set). |
| ftos_healthA | Report Fine-Tuning OS server health: version, workspace path, and which external targets are configured (booleans only — never secrets). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Casius999/fine-tuning-os'
If you have feedback or need assistance with the MCP directory API, please join our Discord server