{"at":"2026-11-23T01:50:18.972Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T01:50:20.275Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T01:50:20.375Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T01:50:21.687Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{},"tools":{}},"protocolVersion":"2025-11-25","serverInfo":{"name":"mdk-mcp","version":"0.3.7"}}}}
{"at":"2026-11-23T01:50:21.687Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T01:50:21.687Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T01:50:21.693Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Creates MDK projects or entity metadata using templates (CRUD, List Detail, Base). Use this for initializing new projects or adding entity metadata to existing projects.","inputSchema":{"properties":{"folderRootPath":{"description":"The path of the current project root folder.","type":"string"},"oDataEntitySets":{"description":"The OData entity sets relevant to the user prompt, separated by commas.","type":"string"},"offline":{"default":false,"description":"Whether to generate the project in offline mode (only applicable for project scope). Set to false unless offline is explicitly specified.","type":"boolean"},"scope":{"description":"The scope of creation:\n• project: Initialize a new MDK project with full structure\n• entity: Add entity metadata to an existing project","enum":["project","entity"],"type":"string"},"templateType":{"description":"The type of template to use. Note: 'base' template is only valid for project scope.","enum":["crud","list detail","base"],"type":"string"}},"required":["folderRootPath","scope","templateType","oDataEntitySets"],"type":"object"},"name":"mdk-create"},{"description":"Generates MDK artifacts including pages, actions, i18n files, and rule references. Returns prompts for LLM processing (pages, actions, i18n) or searches for rule examples.","inputSchema":{"properties":{"actionType":{"description":"The type of action (required when artifactType is 'action').","enum":["CreateODataEntity","UpdateODataEntity","DeleteODataEntity","CreateODataMedia","InitializeOfflineOData","DownloadOfflineOData","UploadOfflineOData","CancelDownloadOfflineOData","CancelUploadOfflineOData","ClearOfflineOData","CloseOfflineOData","CreateODataRelatedEntity","CreateODataRelatedMedia","CreateODataService","DeleteODataMedia","DownloadMediaOData","LogMessage","Message","Navigation","OpenODataService","ProgressBanner","PushNotificationRegister","PushNotificationUnregister","ReadODataService","RemoveDefiningRequest","SendRequest","SetLevel","SetState","ToastMessage","UndoPendingChanges","UploadLog","UploadODataMedia","UploadStreamOData","ChatCompletion","PopoverMenu","CheckRequiredFields","ChangeSet","OpenDocument","Banner","Filter"],"type":"string"},"artifactType":{"description":"The type of artifact to generate:\n• page: Generate MDK page files (.page) with databinding or layout\n• action: Generate MDK action files (.action)\n• i18n: Generate internationalization files (.properties)\n• rule: Search for and return relevant JavaScript rule examples","enum":["page","action","i18n","rule"],"type":"string"},"controlType":{"description":"The control type for databinding pages (required when pageType is 'databinding').","enum":["ObjectTable","FormCell","KeyValue","ObjectHeader","ContactTable","SimplePropertyCollection","ObjectCard","DataTable","KPIHeader","ProfileHeader","ObjectCollection","Timeline","TimelinePreview","Calendar"],"type":"string"},"folderRootPath":{"description":"The path of the current project root folder (not required for rule artifact type).","type":"string"},"layoutType":{"description":"The layout type for layout pages (required when pageType is 'layout').","enum":["Section","BottomNavigation","FlexibleColumnLayout","SideDrawerNavigation","Tabs","Extension"],"type":"string"},"oDataEntitySets":{"description":"Optional: The OData entity sets to use for page/action generation, separated by commas (required only when artifactType is 'action' or artifactType is 'page' and pageType is 'databinding').","type":"string"},"pageType":{"description":"The type of page (required when artifactType is 'page'):\n• databinding: Data-driven pages with controls bound to OData\n• layout: Structure-focused pages with specific layouts","enum":["databinding","layout"],"type":"string"},"query":{"description":"Search query for rule reference (required only when artifactType is 'rule'). Examples: 'get app name', 'handle form validation', 'navigate to page', etc.","type":"string"}},"required":["artifactType"],"type":"object"},"name":"mdk-gen"},{"description":"Comprehensive MDK project management tool that handles build, deploy, validate, migrate, show QR code, and mobile app editor operations.","inputSchema":{"properties":{"externals":{"default":[],"description":"Optional: Array of external package names to include in the deployment (e.g., ['@nativescript/geolocation']). Defaults to empty array if not specified.","items":{"type":"string"},"type":"array"},"folderRootPath":{"description":"The path of the current project root folder.","type":"string"},"operation":{"description":"The operation to perform on the MDK project. Available operations:\n• build: Build an MDK project\n• deploy: Deploy an MDK project to the Mobile Services\n• validate: Validate an MDK project\n• migrate: Migrate an MDK project to the latest MDK version\n• show-qrcode: Show QR code for an MDK project\n• open-mobile-app-editor: Instruct how to open the Mobile App Editor to create .service.metadata file","enum":["build","deploy","validate","migrate","show-qrcode","open-mobile-app-editor"],"type":"string"}},"required":["folderRootPath","operation"],"type":"object"},"name":"mdk-manage"},{"description":"Unified tool for accessing MDK documentation including search, component schemas, property details, and examples.","inputSchema":{"properties":{"N":{"default":5,"description":"Number of results to return for search operation.","type":"number"},"component_name":{"description":"Name of the component (required for 'component', 'property', and 'example' operations).","type":"string"},"folderRootPath":{"description":"The path of the current project root folder. Used to determine the appropriate MDK schema version.","type":"string"},"operation":{"description":"The type of documentation operation to perform:\n• search: Returns the top N results from MDK documentation by semantic search, sorted by relevance\n• component: Returns the schema of an MDK component based on the name of the component\n• property: Returns the documentation of a specific property of an MDK component\n• example: Returns an example usage of an MDK component","enum":["search","component","property","example"],"type":"string"},"property_name":{"description":"Name of the property (required for 'property' operation).","type":"string"},"query":{"description":"Search query string (required for 'search' operation).","type":"string"}},"required":["operation","folderRootPath"],"type":"object"},"name":"mdk-docs"}]}}}
