
optuna/optuna-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
optuna/optuna-mcp는 MCP 서버 후보가 https://github.com/optuna/optuna-mcp.에서 가져온
개요
optuna/optuna-mcp는 MCP 서버 후보가 https://github.com/optuna/optuna-mcp.에서 가져온
개요(AI 번역)
Optuna를 사용하여 최적화 및 분석을 자동화하는 모델 Context Protocol (MCP) 서버.
사용 케이스
Optuna MCP Server는 다음과 같은 사용 사례에서 사용할 수 있습니다.
- LLMs의 자동화된 hyperparameter 최적화
- 대화 인터페이스를 통해 Optuna의 최적화 결과의 상호 작용
- 다른 MCP 도구의 입력 및 출력 최적화
자세한 내용은 예제 섹션을 참조하십시오.
설치
Optuna MCP 서버는 uv 또는 Docker를 사용하여 설치할 수 있습니다.
이 섹션은 Claude Desktop을 사용하여 Optuna MCP 서버를 설치하는 방법을 설명합니다. 예를 들어 MCP 클라이언트.
uv를 가진 사용법
설치 프로세스를 시작하기 전에 Astral에서 [T1]]를 설치하십시오.
그런 다음, MCP 클라이언트에 Optuna MCP 서버 구성을 추가합니다. Claude Desktop에 포함하려면 Claude > Settings > Developer > Edit Config > [T2]]로 이동하십시오. 그리고 다음을 추가:
또한 Optuna 저장을 --storage]로 지정할 수 있습니다.
이 추가 후 Claude Desktop 응용 프로그램을 다시 시작하십시오. Claude Desktop에 대한 자세한 내용은 Quickstart 페이지를 확인하십시오.
Docker 사용
Docker를 사용하여 Optuna MCP 서버를 실행할 수 있습니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Optuna MCP Server
A Model Context Protocol (MCP) server that automates optimization and analysis using Optuna.
Use Cases
The Optuna MCP Server can be used in the following use cases, for example.
- Automated hyperparameter optimization by LLMs
- Interactive analysis of Optuna’s optimization results via chat interface
- Optimize input and output of other MCP tools
For details, see the Examples section.
Installation
The Optuna MCP server can be installed using uv or Docker.
This section explains how to install the Optuna MCP server, using Claude Desktop as an example MCP client.
Usage with uv
Before starting the installation process, install uv from Astral.
Then, add the Optuna MCP server configuration to the MCP client.
To include it in Claude Desktop, go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
and add the following:
{
"mcpServers": {
"Optuna": {
"command": "/path/to/uvx",
"args": [
"optuna-mcp"
]
}
}
}
Additionally, you can specify the Optuna storage with the --storage argument to persist the results.
{
"mcpServers": {
"Optuna": {
"command": "/path/to/uvx",
"args": [
"optuna-mcp",
"--storage",
"sqlite:///optuna.db"
]
}
}
}
After adding this, please restart Claude Desktop application. For more information about Claude Desktop, check out the quickstart page.
Usage with Docker
You can also run the Optuna MCP server using Docker. Make sure you have Docker installed and running on your machine.
{
"mcpServers": {
"Optuna": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--net=host",
"-v",
"/PATH/TO/LOCAL/DIRECTORY/WHICH/INCLUDES/DB/FILE:/app/workspace",
"ghcr.io/optuna/optuna-mcp:latest",
"--storage",
"sqlite:////app/workspace/optuna.db"
]
}
}
}
Tools provided by Optuna MCP
The Optuna MCP provides the following tools. Specifically, it offers primitive functions of Optuna such as Study, Trial, Visualization, and Dashboard.
설치
docker run -i --rm --net=host -v /PATH/TO/LOCAL/DIRECTORY/WHICH/INCLUDES/DB/FILE:/app/workspace ghcr.io/optuna/optuna-mcp:latest --storage sqlite:////app/workspace/optuna.db설정
{
"mcpServers": {
"Optuna": {
"command": "/path/to/uvx",
"args": [
"optuna-mcp"
]
}
}
}