Skip to content

feat: expose MCP-compatible Bedrock dataset endpoints via LSP DataSet service#540

Merged
DaanV2 merged 3 commits into
mainfrom
copilot/expose-mcp-server-endpoint-again
May 23, 2026
Merged

feat: expose MCP-compatible Bedrock dataset endpoints via LSP DataSet service#540
DaanV2 merged 3 commits into
mainfrom
copilot/expose-mcp-server-endpoint-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 23, 2026

This change adds MCP-style Bedrock dataset endpoints to the LSP so AI tooling can query live workspace and vanilla data through a consistent protocol surface. It introduces support for project entities/blocks and vanilla command identifiers.

  • Shared protocol additions (DataSets)

    • Added MCP endpoint identifiers:
      • bedrock://project/entities
      • bedrock://project/blocks
      • bedrock://vanilla/commands
  • LSP dataset routing

    • Extended DataSetService request resolution to map MCP endpoints to existing data sources:
      • bedrock://project/entities → workspace resource summaries (entities)
      • bedrock://project/blocks → workspace resource summaries (blocks)
      • bedrock://vanilla/commands → vanilla command ids (CommandData.VanillaCommands)
    • Reused existing dataset id filtering behavior for MCP project endpoints.
  • Focused coverage

    • Added dataset/service.test.ts cases for:
      • MCP project entities resolution
      • MCP project blocks resolution with id filtering
      • MCP vanilla commands resolution
switch (datatype) {
  case DataSets.MCP.Project.Entities:
    return projectData ? getWorkspaceResourceSummaries(projectData, 'entities') : undefined;
  case DataSets.MCP.Project.Blocks:
    return projectData ? getWorkspaceResourceSummaries(projectData, 'blocks') : undefined;
  case DataSets.MCP.Vanilla.Commands:
    return CommandData.VanillaCommands;
}

Copilot AI linked an issue May 23, 2026 that may be closed by this pull request
@DaanV2 DaanV2 added enhancement New feature or request feature labels May 23, 2026
Copilot AI changed the title [WIP] Expose MCP server endpoint from LSP for AI tooling Expose MCP-compatible Bedrock dataset endpoints via LSP DataSet service May 23, 2026
Copilot finished work on behalf of DaanV2 May 23, 2026 19:02
Copilot AI requested a review from DaanV2 May 23, 2026 19:02
@DaanV2 DaanV2 changed the title Expose MCP-compatible Bedrock dataset endpoints via LSP DataSet service feat: expose MCP-compatible Bedrock dataset endpoints via LSP DataSet service May 23, 2026
@DaanV2 DaanV2 marked this pull request as ready for review May 23, 2026 19:45
@github-actions github-actions Bot added the ide label May 23, 2026
@DaanV2 DaanV2 merged commit 6f444de into main May 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request feature ide

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose MCP Server Endpoint from LSP for AI Tooling

2 participants