Skip to content

Add MCP server for AI-assisted model customization#55

Open
YarivLevy81 wants to merge 1 commit intoaws:mainfrom
YarivLevy81:main
Open

Add MCP server for AI-assisted model customization#55
YarivLevy81 wants to merge 1 commit intoaws:mainfrom
YarivLevy81:main

Conversation

@YarivLevy81
Copy link
Copy Markdown

Summary

Adds an optional MCP (Model Context Protocol) server that exposes Nova Forge SDK operations as tools for AI assistants like Claude. Install with pip install "amzn-nova-forge[mcp]".

7 tools exposed:

  • train — Launch fine-tuning jobs (SFT, DPO, CPT, RFT)
  • evaluate — Run model evaluation (MMLU, BBH, GPQA, etc.)
  • deploy — Deploy to SageMaker or Bedrock
  • get_job_status — Check job status via SageMaker/Bedrock APIs
  • get_logs — Retrieve CloudWatch logs for jobs
  • validate_dataset — Validate JSONL datasets before training
  • list_options — List available models, methods, platforms, and eval tasks

Changes:

  • src/amzn_nova_forge/mcp/server.py — MCP server with 7 tools wrapping the SDK's stateful API into flat, JSON-friendly tool calls
  • src/amzn_nova_forge/mcp/__init__.py — Module entry point
  • pyproject.toml — Added mcp optional dependency (fastmcp>=2.0) and nova-forge-mcp console script
  • README.md — Added MCP Server section with install, config (Claude Desktop/Code), and usage docs
  • tests/mcp/test_server.py — 40 unit tests across 10 test classes covering all tools and helpers

Adds an optional MCP (Model Context Protocol) server that exposes Nova
Forge SDK operations as tools for AI assistants. Includes tools for
training, evaluation, deployment, job status, log retrieval, and dataset
validation. Install with pip install "amzn-nova-forge[mcp]".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant