SF

superfly/flymcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

34 stars 4 forks Качество 41 Тренд 12

MCP-сервер для интеграции Fly.io CLI с Claude Desktop

Обзор

Простой MCP-сервер, который заворачивает flyctl CLI, чтобы обеспечить возможности Fly.io для Claude Desktop. Go 1.21 или более поздний - Flyctl CLI установлен и доступен в PATH - Claude Desktop установлен 1.Откройте Claude Desktop 2. Перейдите в меню Claude и выберите «Настройки...» 3. Нажмите на "Разработчик" в левой полосе 4. Нажмите на «Edit Config» Это позволит создать или открыть файл конфигурации по адресу: - macOS: ~/Library/Application Support/Claude/claude desktop config.json - Windows: %APPDATA%\Claude\claude desktop config.json 5. Добавить в файл следующую конфигурацию: Убедитесь, что вы заменили /full/path/to/your/flymcp на ваш двоичный файл flymcp. 6. Сохраните файл и перезапустите Claude Desktop Перед использованием инструментов убедитесь, что вы аутентифицированы с помощью Fly.io:

Обзор (машинный перевод)

Простой MCP-сервер, который заворачивает CLI, чтобы обеспечить возможности Fly.io для Claude Desktop.

Предпосылки

1,21 или позже

  • flyctl CLI установлен и доступен в PATH Клод Десктоп установлен

##Установка

Конфигурация

###Настройка рабочего стола Claude

1 Открыть Claude Desktop 2.Зайдите в меню Клода и выберите «Настройки…» 3. Нажмите на «Разработчик» в левой полосе 4.Щелкните на “Edit Config”

Это позволит создать или открыть файл конфигурации по адресу:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Добавить в файл следующую конфигурацию:

Обязательно замените /full/path/to/your/flymcp абсолютным путем к двоичной системе flymcp.

  1. Сохраните файл и перезапустите Claude Desktop

Аутентификация

Перед использованием инструментов убедитесь, что вы аутентифицированы с помощью Fly.io:

##Устранение неполадок

Если у вас возникли проблемы с MCP-сервером:

1.Проверь журналы:

  • macOS: ~/Library/Logs/Claude/mcp-server-flymcp.log Windows: %APPDATA%\Claude\logs\mcp-server-flymcp.log
  1. Убедитесь, что путь к двоичной системе flymcp правильный и абсолютный.

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

FlyMCP

A simple MCP server that wraps the flyctl CLI to provide Fly.io capabilities to Claude Desktop.

Prerequisites

  • Go 1.21 or later
  • flyctl CLI installed and available in PATH
  • Claude Desktop installed

Installation

# Clone the repository
git clone https://github.com/superfly/flymcp.git
cd flymcp

# Install dependencies
go mod download

# Build the binary
go build -o flymcp

Configuration

Claude Desktop Setup

  1. Open Claude Desktop
  2. Go to the Claude menu and select “Settings…”
  3. Click on “Developer” in the left-hand bar
  4. Click on “Edit Config”

This will create or open a configuration file at:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  1. Add the following configuration to the file:
{
  "mcpServers": {
    "flymcp": {
      "command": "/full/path/to/your/flymcp",
      "args": []
    }
  }
}

Make sure to replace /full/path/to/your/flymcp with the absolute path to your flymcp binary.

  1. Save the file and restart Claude Desktop

Authentication

Before using the tools, make sure you’re authenticated with Fly.io:

flyctl auth login

Troubleshooting

If you encounter issues with the MCP server:

  1. Check the logs in:

    • macOS: ~/Library/Logs/Claude/mcp-server-flymcp.log
    • Windows: %APPDATA%\Claude\logs\mcp-server-flymcp.log
  2. Make sure the path to the flymcp binary is correct and absolute

  3. Ensure you have the necessary permissions to execute the binary

  4. Verify that flyctl is installed and accessible in your PATH

Development

The server is built using the MCP Go library and communicates with Claude Desktop through standard input/output streams.

License

MIT

Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "flymcp": { "command": "/full/path/to/your/flymcp", "args": [] } } }