feat(ai): enhance metadata handling and add support for tools, prompt… (#14002)

…s, and resources

- Removed unused `ObjectMetadataStandardIdToIdMap`.
- Updated Vite config with additional allowed hosts.
- Improved MCP service to handle `ping` method and lists for tools,
prompts, and resources.
- Refactored utility function `isFieldMetadataEntityOfType` for improved
type handling.
- Expanded MCP metadata service to include tools, prompts, and resources
support.
This commit is contained in:
Antoine Moreaux
2025-08-21 10:45:46 +02:00
committed by GitHub
parent 758fb9ecad
commit 809fe5699f
8 changed files with 106 additions and 44 deletions
@@ -14,11 +14,11 @@ export class McpMetadataController {
constructor(private readonly mCPMetadataService: MCPMetadataService) {}
@Post()
async getMcpMetadata(
async handleMcpMetadata(
@AuthWorkspace() workspace: Workspace,
@Req() request: Request,
) {
return await this.mCPMetadataService.handleMCPQuery(request, {
return await this.mCPMetadataService.handleMCPMetadataQuery(request, {
workspace,
});
}