optuna-mcp vs fastapi_mcp
optuna-mcp: Optuna MCP Server exposes the Optuna hyperparameter optimization framework as a Model Context Protocol server. It lets LLMs and AI assistants run and manage optimization studies directly through a chat interface, create and analyze Optuna trials, and optimize parameters for any workflow. Compatible with Claude Desktop, Cursor, and other MCP clients via uv or Docker.; fastapi_mcp: FastAPI-MCP allows you to expose your existing FastAPI endpoints as Model Context Protocol (MCP) tools. It offers native integration with FastAPI, including built-in authentication using existing dependencies, and preserves schemas and documentation.
TL;DR
Automated hyperparameter tuning for ML models driven by an LLM
- You already have a FastAPI application and want to expose its endpoints as MCP tools while reusing your existing FastAPI authentication dependencies and Swagger schemas.
- You want to mount the MCP server directly onto your ASGI app or deploy it separately under an MIT license.
- You are building a standalone MCP server from scratch rather than wrapping a FastAPI app; use FastMCP or the official MCP Python SDK.
- You need an actively updated repository (last push was November 2025).
Side-by-Side Comparison
Features
Use Cases
Best For
FAQ
Deploy on DigitalOcean
Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.