
emanuelemeazzo/dax-formatter-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
MCP Server は、AI エージェントで SQLBI DAX Formatter を使用する
概要
DAX(データ分析表現)のフォーマット機能を提供するモデルコンテキストプロトコル(MCP)サーバーは、AIアシスタントやその他のMCPクライアントに提供します。 このサーバーは、SQLBIによる公式のDAX Formatterサービスと連携して、プロレベルのDAXコードフォーマットを実現します。 - : 個々のDAX式をプロフェッショナルな基準でフォーマット - : 単一の効率的なリクエストで複数のDAX式をフォーマットする - : 制御行の長さ、間隔、分離器など - : 詳細なエラーメッセージでエラー処理を高速化 - : バッチ処理が失敗した場合、個々のフォーマットへの自動フォールバック - : データベースとサーバーのコンテキストのサポート(プライバシーの匿名化) - .NET 8.0ランタイム以上 - インターネット接続(dxformatter.com と通信) - MCP 互換クライアント (Claude デスクトップ、続けて、またはカスタム MCP クライアント) 1. リリースページ2から最新のリリースをダウンロード ご希望の場所3にアーカイブを抽出します.
概要(AI 翻訳)
DAX(データ分析表現)のフォーマット機能を提供するモデルコンテキストプロトコル(MCP)サーバーは、AIアシスタントやその他のMCPクライアントに提供します。 このサーバーは、SQLBIによる公式のDAX Formatterサービスと連携して、プロレベルのDAXコードフォーマットを実現します。
OST の特徴
- 単一DAXの表現の書式:専門の標準の個々のDAXの表現をフォーマットして下さい
- バッチ処理: 単一の効率的なリクエストで複数のDAX式をフォーマットする
- 包括的なフォーマットオプション: 制御線の長さ、間隔、分離器および多く -エラー処理: 詳細なエラーメッセージでエラー処理を高速化
- フォールバック機構: バッチ処理が失敗した場合、個々のフォーマットへの自動フォールバック
- データベースコンテキスト:データベースとサーバーのコンテキストのサポート(プライバシーの匿名化)
受託者
- .NET 8.0の 実行時間以上
- インターネット接続(dxformatter.comと通信)
- MCP対応クライアント(Claude Desktop、 Continue、またはカスタムMCPクライアント)
️️ インストール
##オプション1:リリースのダウンロード(推奨)
- リリースページから最新のリリースをダウンロード
- ご希望の場所にアーカイブを抽出
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
DAX Formatter MCP Server
A Model Context Protocol (MCP) server that provides DAX (Data Analysis Expressions) formatting capabilities to AI assistants and other MCP clients. This server integrates with the official DAX Formatter service by SQLBI to deliver professional-grade DAX code formatting.
🚀 Features
- Single DAX Expression Formatting: Format individual DAX expressions with professional standards
- Batch Processing: Format multiple DAX expressions in a single efficient request
- Comprehensive Formatting Options: Control line length, spacing, separators, and more
- Error Handling: Robust error handling with detailed error messages
- Fallback Mechanisms: Automatic fallback to individual formatting if batch processing fails
- Database Context: Support for database and server context (anonymized for privacy)
📋 Prerequisites
- .NET 8.0 Runtime or higher
- Internet connection (communicates with daxformatter.com)
- MCP-compatible client (Claude Desktop, Continue, or custom MCP client)
🛠️ Installation
Option 1: Download Release (Recommended)
- Download the latest release from the Releases page
- Extract the archive to your preferred location
- Note the path to the executable for configuration
Option 2: Build from Source
# Clone the repository
git clone https://github.com/EmanueleMeazzo/dax-formatter-mcp.git
cd dax-formatter-mcp
# Build the project
dotnet build --configuration Release
# The executable will be in bin/Release/net8.0/
⚙️ Configuration
Claude Desktop
Add the following to your Claude Desktop configuration file:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
{
"mcpServers": {
"dax-formatter": {
"command": "path/to/dax-formatter-mcp.exe",
"args": []
}
}
}
Continue IDE Extension
Add to your Continue configuration:
{
"mcpServers": [
{
"name": "dax-formatter",
"command": "path/to/dax-formatter-mcp.exe",
"args": []
}
]
}
Generic MCP Client
For any MCP client supporting the MCP 2024-11-05 protocol:
{
"servers": [
{
"name": "dax-formatter",
"transport": {
"type": "stdio",
"command": "path/to/dax-formatter-mcp.exe",
"args": []
}
}
]
}
Using with .NET Runtime
If you prefer to use the DLL with the .NET runtime:
{
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"dax-formatter": {
"command": "path/to/dax-formatter-mcp.exe",
"args": []
}
}
}