MW

mmntm/weblate-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

24 stars 22 forks 品質 72 トレンド 8

Weblate翻訳管理プラットフォームとシームレスな統合を実現するモデルコンテキストプロトコル(MCP)サーバー.

概要

Weblate翻訳管理プラットフォームとシームレスな統合を実現するモデルコンテキストプロトコル(MCP)サーバー。 このサーバーでは、AIアシスタントがWeblateインスタンスと直接やり取りし、包括的な翻訳管理を実現します。 - : Weblate の REST API との完全な統合 - : 翻訳プロジェクトとの自然言語のやり取り - : 翻訳プロジェクトの作成、リストの作成、管理 - : 翻訳コンポーネントと構成の処理 - : 更新、検索、翻訳の管理 - : Weblate インスタンスでサポートされているすべての言語で作業 - : HTTP/SSE、ストリーミング可能な HTTP、および STDIO サポート - : 包括的なエラー処理を備えたフル TypeScript 実装 - : ツールは、AI をガイドするように設計されています 使い方のパターン このMCPサーバーは、AIアシスタント(Claude Desktopなど)とWeblateの翻訳管理プラットフォーム間でブリッジとして機能します.

概要(AI 翻訳)

Weblate翻訳管理プラットフォームとシームレスな統合を実現するモデルコンテキストプロトコル(MCP)サーバー。 このサーバーでは、AIアシスタントがWeblateインスタンスと直接やり取りし、包括的な翻訳管理を実現します。

✔ 機能

-**** 完全なWeblate API Access**:WeblateのREST APIとの完全な統合 -** AI-Powered ワークフロー**: 翻訳プロジェクトとの自然言語のやりとり

  • プロジェクト管理: 翻訳プロジェクトの作成、リストの作成、管理
  • ** 構成の操作**: 翻訳コンポーネントと構成の処理 -**注記: 翻訳の更新、検索、管理
  • ** ホスト言語サポート**: Weblate インスタンスでサポートされているすべての言語に対応 -** 複数のトランスポート**: HTTP/SSE、ストリーミング可能なHTTP、STDIOサポート -️️タイプ安全:包括的なエラー処理によるフルTypeScript実装
  • ** ⚡ LLM 最適化**: AIモデルを効率的な利用パターンに導くためのツール

はこれは何ですか?

このMCPサーバーは、AIアシスタント(Claude Desktopなど)とWeblateの翻訳管理プラットフォーム間でブリッジとして機能します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Weblate MCP Server

A Model Context Protocol (MCP) server that provides seamless integration with Weblate translation management platform. This server enables AI assistants to interact directly with your Weblate instance for comprehensive translation management.

🌟 Features

  • 🔧 Complete Weblate API Access: Full integration with Weblate’s REST API
  • 🤖 AI-Powered Workflow: Natural language interaction with your translation projects
  • 📊 Project Management: Create, list, and manage translation projects
  • 🔍 Component Operations: Handle translation components and configurations
  • ✏️ Translation Management: Update, search, and manage translations
  • 🌐 Language Support: Work with all supported languages in your Weblate instance
  • 🚀 Multiple Transports: HTTP/SSE, Streamable HTTP, and STDIO support
  • 🛡️ Type Safety: Full TypeScript implementation with comprehensive error handling
  • ⚡ LLM-Optimized: Tools designed to guide AI models toward efficient usage patterns

🎯 What is This?

This MCP server acts as a bridge between AI assistants (like Claude Desktop) and your Weblate translation management platform. Instead of manually navigating the Weblate web interface, you can use natural language to:

  • “List all projects in my Weblate instance”
  • “Show me the French translations for the frontend component”
  • “Update the welcome message translation”
  • “Create a new translation project”

🚀 Quick Start

The easiest way to use this MCP server is with npx - no installation required!

For Claude Desktop or other MCP clients:

{
  "mcpServers": {
    "weblate": {
      "command": "npx",
      "args": ["-y", "@mmntm/weblate-mcp"],
      "env": {
        "WEBLATE_API_URL": "https://your-weblate-instance.com/api",
        "WEBLATE_API_TOKEN": "your-weblate-api-token"
      }
    }
  }
}

Manual testing:

# Test the server directly
npx @mmntm/weblate-mcp

Option 2: Development Setup

Prerequisites

  • Node.js 18+
  • pnpm package manager
  • Weblate instance with API access

Installation

# Clone and install
git clone 
cd weblate-mcp
pnpm install

# Configure environment
cp .env.example .env
# Edit .env with your Weblate API URL and token

# Build and start
pnpm build
pnpm start

Server runs on http://localhost:3001 by default.

Environment Configuration

WEBLATE_API_URL=https://your-weblate-instance.com
WEBLATE_API_TOKEN=your-api-token-here
PORT=3001
NODE_ENV=production
LOG_LEVEL=info

🔗 MCP Client Configuration

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "weblate": {
      "command": "npx",
      "args": ["-y", "@mmntm/weblate-mcp"],
      "env": {
GitHub で README 全文を見る

インストール

npx -y @mmntm/weblate-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "weblate": { "command": "npx", "args": ["-y", "@mmntm/weblate-mcp"], "env": { "WEBLATE_API_URL": "https://your-weblate-instance.com/api", "WEBLATE_API_TOKEN": "your-weblate-api-token" } } } }