Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
MCP server for editing Power BI Report Builder paginated reports (RDL)
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"pbirb": {
"command": "uvx",
"args": [
"pbirb-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add pbirb -- uvx pbirb-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"pbirb": {
"command": "uvx",
"args": [
"pbirb-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"pbirb": {
"type": "stdio",
"command": "uvx",
"args": [
"pbirb-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mafaq229 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.1) เข้า registry 5 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Foliosio
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read your support inbox, tag conversations and save draft replies from your AI agent. Never sends.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP server for editing Power BI Report Builder paginated reports (.rdl) through Claude (Desktop, CLI, or any MCP client). 140+ tools cover the gaps that otherwise force hand-written XML: report creation, data sources and datasets, calculated fields, dataset and tablix filters, groupings (row, column, matrix), sorting, charts, headers and footers, body composition, layout containers, positioning, styling, page setup, pagination, advanced parameters, embedded images, interactivity (actions, tooltips, document map), transactions, and validation.
The server speaks MCP (JSON-RPC 2.0) over stdio, MCP protocol revisions 2024-11-05 through 2026-07-28. It opens an .rdl from disk, mutates it in place via lxml, validates structure, and writes atomically — a failed save never leaves a half-written report or scrubs the original.
Security defaults. The
pbirb-mcpserver only opens files under the
directory it was started in, and refuses destructive tools (removals,
convert_to_matrix,raw_xml_replace/raw_xml_remove,
restore_from_backup) until the
call carries
confirm=true. MCP clients often start servers in/or in
their own app directory, so **set
PBIRB_MCP_ALLOWED_ROOTSto your
reports folder** (see Security defaults).
Pre-1.0. The tool surface — tool names, inputSchema, output shapes, error semantics — is the contract. While on 0.x, MINOR releases may include a small breaking change with a migration note in CHANGELOG.md; after v1.0, breaking changes require MAJOR. See CONTRIBUTING.md for the full bump rules adapted from SemVer for an MCP tool surface.
Pin to a MINOR while on 0.x (e.g. pbirb-mcp~=0.1) if your prompts depend on specific tool names or schemas.
The simplest path is uv + PyPI — no clone, no venv, no install step:
uvx pbirb-mcp
uvx fetches the package into a throwaway environment, runs the pbirb-mcp console script, and exits. The MCP server speaks JSON-RPC over stdio, so any MCP client (Claude Desktop, Claude Code, etc.) can spawn it directly.
For local development against this codebase instead:
git clone https://github.com/mafaq229/pbirb-mcp
cd pbirb-mcp uv venv .venv uv pip install --python .venv/bin/python -e ".[dev]"
Verify the binary works:
printf '%s\n' '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"smoke","version":"1"}}}' \
| .venv/bin/pbirb-mcp
You should see a single JSON-RPC response with protocolVersion, capabilities.tools, and serverInfo.name = "pbirb-mcp".
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "pbirb": { "command": "uvx", "args": ["pbirb-mcp"], "env": { "PBIRB_MCP_ALLOWED_ROOTS": "/Users/you/Reports" } } } }
Claude Desktop may start the server with its working directory set to / or to the app's own directory, and by default the server only opens files under its working directory — so set PBIRB_MCP_ALLOWED_ROOTS to the folder(s) holding your reports (on Windows e.g. "C:\\Users\\you\\Reports"; separate several with : on macOS/Linux, ; on Windows). See Security defaults.
Restart Claude Desktop. The hammer icon should show pbirb and the 140+ tools listed below.
To enable file logging, add PBIRB_MCP_LOG_FILE to the env block — but keep it platform-appropriate: it takes an OS-native path, so a Unix path like /tmp/pbirb-mcp.log only works on macOS/Linux. On Windows use a Windows path (e.g. %TEMP%\\pbirb-mcp.log). See Logging. When unset, logs go to stderr, which Claude Desktop captures in its MCP debug pane on every platform.
For development against a local checkout, swap the args for ["--from", "/absolute/path/to/pbirb-mcp", "pbirb-mcp"] so uvx runs your working tree instead of the published version.
claude mcp add pbirb -- uvx pbirb-mcp
Or add to .mcp.json at the workspace root:
{
"mcpServers": { "pbirb": { "command": "uvx", "args": ["pbirb-mcp"] } } }
Or install it as a Claude Code plugin — one command instead of editing config by hand (it wires up the same uvx pbirb-mcp server for you):
/plugin marketplace add mafaq229/pbirb-mcp
/plugin install pbirb-mcp@pbirb
In any chat, ask the model:
Open
~/path/to/some-report.rdland tell me what datasets and parameters it has.
The model should call describe_report, get_datasets, and get_parameters and summarise the result. If it doesn't, your client probably hasn't loaded the server — check the client's MCP debug log.
The pbirb-mcp command (what MCP clients launch) is locked down by default:
path and every *_path) must resolve — symlinks and .. followed — inside an allowed root, or the call is refused with PathNotAllowed before anything is read or written. Set PBIRB_MCP_ALLOWED_ROOTS to the directories to allow (os.pathsep-separated: : on macOS/Linux, ; on Windows); * means unrestricted. Clients such as Claude Desktop may start the server in / or their app directory, so set it explicitly (see the config example in the Quick start).remove_*, convert_to_matrix, raw_xml_replace / raw_xml_remove, restore_from_backup, and an apply_edits batch that contains one) are refused with ConfirmationRequired until the call carries confirm=true; 2026-07-28 clients that support elicitation are asked to confirm instead. PBIRB_MCP_REQUIRE_CONFIRM=0 turns this off.PBIRB_MCP_AUDIT_LOG=/path/to/audit.jsonl appends one JSON line per edit and per transaction commit.An MCPServer embedded in Python (tests, the eval harness, library use) defaults to unrestricted roots and no confirmation; the same environment variables opt it in.
By default the server lists every tool. To give the model fewer tool definitions to read (and fewer to choose from), enable only the toolsets a task needs, and/or run read-only:
{
"mcpServers": { "pbirb": { "command": "uvx", "args": ["pbirb-mcp", "--toolsets", "data,parameters", "--read-only"] } } }
| Toolset | Covers |
|---|---|
core | Always on: describe_report, validate_report / verify_report / lint_report, diff_report, apply_edits, dry_run_edit, transactions, expression helpers |
data | Data sources, datasets, DAX queries, query parameters, fields, dataset filters |
parameters | Report parameters: declarations, available/default values, prompts, pane layout |
tablix | Tables and matrices: groups, columns, rows, subtotals, spans, filters, sorting, group visibility, pagination |
chart | Charts: series, axes, legend, data labels, palette, colours, title |
style | Textbox text and formatting, finding textboxes, row styling |
layout | Page setup, body/header/footer items, positions and sizes, containers, images, embedded images, element visibility |
interactivity | Actions (links, drill-through, bookmarks), tooltips, document map |
admin | create_report, duplicate_report, backups, the raw-XML escape hatch |
--toolsets takes comma-separated names, all, or default (PBIRB_MCP_TOOLSETS sets the same; the flag wins). Unknown names are an error. pbirb-mcp --list-toolsets prints every toolset's tools.--read-only (or PBIRB_MCP_READ_ONLY=1) exposes only tools published with readOnlyHint: true — readers, validation, expression helpers and dry_run_edit, which previews an edit on a temp copy.tools/list: a call outside the enabled toolsets, or an edit in read-only mode, returns an isError result (ToolNotEnabled / ReadOnlyMode) naming the setting to change. apply_edits / dry_run_edit ops are held to the same toolsets.Every tool also carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint: false) and a display title, so clients can auto-approve the readers and flag the destructive tools.
| Variable | Default | Purpose |
|---|---|---|
PBIRB_MCP_ALLOWED_ROOTS | pbirb-mcp: the working directory; embedded MCPServer: unrestricted | Directories report paths must be inside (os.pathsep-separated); * = unrestricted. See Security defaults. |
PBIRB_MCP_REQUIRE_CONFIRM | pbirb-mcp: on; embedded: off | Destructive tools need confirm=true. 0 / false turns it off. |
PBIRB_MCP_AUDIT_LOG | off | File to append one JSON line to per edit and per transaction commit. |
PBIRB_MCP_TOOLSETS | every toolset | Comma-separated toolsets to expose (--toolsets overrides it). See Toolsets. |
PBIRB_MCP_READ_ONLY | off | 1 exposes only read-only tools (--read-only turns it on). |
PBIRB_MCP_AUTO_VERIFY | off | 1 runs verify_report after every successful edit outside a transaction; the result becomes {result, verify}. Transactions verify at commit. |
PBIRB_MCP_TRANSACTION_TIMEOUT_S | 600 | Seconds an editing transaction lives without a commit or cancel; an expired one is discarded (nothing saved). |
PBIRB_MCP_LOG_LEVEL | WARNING | DEBUG / INFO / WARNING / ERROR. |
PBIRB_MCP_LOG_FILE | stderr | Log file path (see Logging). |
PBIRB_MCP_AUTO_BACKUP | off | 1 backs the report up ( .bak. ) before every removal, rename, query rewrite, raw_xml_replace / raw_xml_remove and convert_to_matrix; the result's auto_backup is the backup path. A backup that already holds the file's bytes is reused. |
Truthy values are 1, true, yes, on (case-insensitive).
| Variable | Default | Purpose |
|---|---|---|
PBIRB_MCP_LOG_LEVEL | WARNING | DEBUG / INFO / WARNING / ERROR |
PBIRB_MCP_LOG_FILE | stderr | Path to a log file; otherwise logs go to stderr (where Claude Desktop captures them in its MCP debug pane) |
PBIRB_MCP_LOG_LEVEL=DEBUG PBIRB_MCP_LOG_FILE=/tmp/pbirb-mcp.log pbirb-mcp
The recommended flow is read first, then edit by name. Every mutating tool addresses elements by their RDL Name attribute (Tablix name, Textbox name, ReportParameter name, DataSet name) — never by index. Indices break across multi-step edits.
A typical session:
You: Bind the existing report at ~/Reports/sales.rdl to the Finance
workspace's "FY26 Sales" dataset, change the body DAX to a date- ranged query, and add a header with a logo and a parameter line.
Claude: → describe_report(path=…) → set_datasource_connection(name="PBIDataset", workspace_url="Finance", dataset_name="FY26 Sales") → update_dataset_query(dataset_name="MainDataset",
ตัดมาแค่ช่วงต้น อ่านต่อใน repo