{"id":31079559,"url":"https://github.com/chadtoney/fabric-mcp-testing","last_synced_at":"2026-05-05T04:03:34.422Z","repository":{"id":313364402,"uuid":"1051142880","full_name":"chadtoney/Fabric-MCP-Testing","owner":"chadtoney","description":"Real-world examples and testing tools for the Microsoft Fabric Model Context Protocol (MCP) server. Learn to automate Fabric operations including lakehouse management, notebook execution, and data population workflows.","archived":false,"fork":false,"pushed_at":"2025-09-09T16:13:51.000Z","size":154,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-16T10:50:52.748Z","etag":null,"topics":["automation","azure","data-engineering","examples","fabric","lakehouse","mcp","microsoft","notebooks","powerbi"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chadtoney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-05T14:04:58.000Z","updated_at":"2025-09-09T16:13:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"35a573a9-4001-4b8e-a3e1-8f04b6c7d49f","html_url":"https://github.com/chadtoney/Fabric-MCP-Testing","commit_stats":null,"previous_names":["chadtoney/fabric-mcp-testing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chadtoney/Fabric-MCP-Testing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadtoney%2FFabric-MCP-Testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadtoney%2FFabric-MCP-Testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadtoney%2FFabric-MCP-Testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadtoney%2FFabric-MCP-Testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chadtoney","download_url":"https://codeload.github.com/chadtoney/Fabric-MCP-Testing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chadtoney%2FFabric-MCP-Testing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32634732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","azure","data-engineering","examples","fabric","lakehouse","mcp","microsoft","notebooks","powerbi"],"created_at":"2025-09-16T10:25:08.265Z","updated_at":"2026-05-05T04:03:34.417Z","avatar_url":"https://github.com/chadtoney.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Microsoft Fabric MCP Server - Examples \u0026 Testing\n\n\u003e **🔗 This repository contains examples for the [Microsoft Fabric MCP Server](https://github.com/santhoshravindran7/Fabric-Analytics-MCP)**\n\nReal-world examples demonstrating how to use the Microsoft Fabric Model Context Protocol (MCP) server to automate Fabric operations including lakehouse management, notebook execution, and data population workflows.\n\n## 🚀 Quick Start\n\n### 1. Install the MCP Server First\n\n**⚠️ Important**: You need the main MCP server installed before using these examples.\n\n```bash\ngit clone https://github.com/santhoshravindran7/Fabric-Analytics-MCP.git\ncd Fabric-Analytics-MCP\nnpm install \u0026\u0026 npm run build\n```\n\n### 2. Set Your Configuration\n\n```bash\n# Set your workspace ID (required)\nexport FABRIC_DEFAULT_WORKSPACE_ID=\"your-workspace-id-from-fabric-portal\"\n\n# Authenticate with Azure\naz login\n```\n\n### 3. Run Your First Example\n\n```bash\ngit clone https://github.com/your-username/Fabric-MCP-Testing.git\ncd Fabric-MCP-Testing/examples/getting-started\nnode basic-demo.cjs\n```\n\nExpected result: ✅ Connection verified with 62 available MCP tools\n\n## 📁 Repository Structure\n\n### 🌟 Examples (Start Here)\n\n| Directory | Purpose | Key Files |\n|-----------|---------|-----------|\n| **`getting-started/`** | New user introduction | `basic-demo.cjs` - Test your setup |\n| **`data-population/`** | Production workflows | `execute-notebook-livy-corrected.cjs` - 5K+ records |\n| **`troubleshooting/`** | Debug \u0026 investigation | `test-capacity-issue.cjs` - Reproduce bugs |\n\n### 📚 Documentation\n\n| File | Description |\n|------|-------------|\n| `SETUP.md` | Complete setup instructions |\n| `docs/DEMO_SUCCESS_SUMMARY.md` | Detailed success stories and workflows |\n\n### 🗂️ Development\n\n| Directory | Purpose |\n|-----------|---------|\n| `notebooks/` | Jupyter notebooks for testing |\n| `archive/` | Historical scripts and experiments (local-only) |\n\n## 🔧 What These Examples Do\n\n### Basic Operations\n- ✅ **MCP Server Connection**: Establish and test connection\n- ✅ **Workspace Access**: Verify permissions and list items\n- ✅ **Tool Discovery**: Find all 62 available MCP functions\n\n### Production Workflows\n- 🏭 **Data Population**: Generate 5,000+ structured records\n- 📊 **Lakehouse Creation**: Full lakehouse with tables and data\n- 📈 **Notebook Execution**: Automated Spark job processing\n- 🔍 **Session Management**: Livy API integration and monitoring\n\n### Debugging \u0026 Troubleshooting\n- 🐛 **Issue Reproduction**: Test cases for known issues\n- 🔍 **Investigation Scripts**: Deep-dive into MCP behavior\n- ⚠️ **Error Handling**: Robust error capture and reporting\n\n## 🛠️ Technology Stack\n\n- **MCP Server**: [Fabric-Analytics-MCP](https://github.com/santhoshravindran7/Fabric-Analytics-MCP)\n- **Authentication**: Azure CLI (`az login`)\n- **Platform**: Microsoft Fabric / Power BI Premium\n- **APIs**: Microsoft Fabric REST API + Livy Spark API\n- **Language**: Node.js (CommonJS modules)\n\n## 📊 Real Results\n\n### Data Population Success\n```\n📈 Results Summary:\n├── 🏭 Lakehouse: Created with 3 tables\n├── 📊 Records: 5,000+ structured entries\n├── ⚡ Performance: Sub-minute execution\n└── 🔄 Repeatability: 100% success rate\n```\n\n### MCP Integration\n```\n🔗 MCP Tools Available: 62 functions\n├── 📁 Workspace Management: 5 tools\n├── 🏠 Lakehouse Operations: 8 tools  \n├── 📔 Notebook Control: 12 tools\n├── ⚡ Spark Job Management: 15 tools\n└── 🔧 Utility Functions: 22 tools\n```\n\n## 🎯 Use Cases\n\n### For Developers\n- **Learn MCP Integration**: Real working examples\n- **Test Your Setup**: Validation scripts included\n- **Production Patterns**: Battle-tested workflows\n\n### For Data Engineers  \n- **Automate Fabric**: Lakehouse creation and data loading\n- **Spark Workflows**: Notebook execution and monitoring\n- **ETL Pipelines**: End-to-end data processing examples\n\n### For DevOps Teams\n- **CI/CD Integration**: Automated Fabric deployments\n- **Monitoring**: Error handling and logging patterns\n- **Troubleshooting**: Debug scripts for common issues\n\n## 🔗 Related Projects\n\n### Main Dependencies\n- **[Fabric-Analytics-MCP](https://github.com/santhoshravindran7/Fabric-Analytics-MCP)** - The MCP server (required)\n- **[Model Context Protocol](https://modelcontextprotocol.io/)** - MCP specification\n- **[Microsoft Fabric](https://docs.microsoft.com/en-us/fabric/)** - Platform documentation\n\n### Known Issues \u0026 Fixes\n- **[Issue #12](https://github.com/santhoshravindran7/Fabric-Analytics-MCP/issues/12)** - Missing capacity tools\n- **[PR #9](https://github.com/santhoshravindran7/Fabric-Analytics-MCP/pull/9)** - UUID session ID fix\n- **[Issue #10](https://github.com/santhoshravindran7/Fabric-Analytics-MCP/issues/10)** - Notebook content limitation\n\n## 🤝 Contributing\n\n1. **Test scenarios** welcome in `examples/troubleshooting/`\n2. **Production workflows** needed in `examples/data-population/`\n3. **Documentation improvements** always appreciated\n4. **Bug reproductions** help the main project\n\n## 📄 License\n\nMIT License - Feel free to use these examples in your own projects.\n\n## 🆘 Getting Help\n\n1. **Start with**: `examples/getting-started/basic-demo.cjs`\n2. **Check**: `SETUP.md` for detailed instructions\n3. **Debug with**: Scripts in `examples/troubleshooting/`\n4. **Ask questions**: In the main [Fabric-Analytics-MCP repository](https://github.com/santhoshravindran7/Fabric-Analytics-MCP/issues)\n\n---\n\n**⭐ Star this repo** if these examples helped you get started with Microsoft Fabric MCP automation!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadtoney%2Ffabric-mcp-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchadtoney%2Ffabric-mcp-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchadtoney%2Ffabric-mcp-testing/lists"}