Skip to content

fix(mcp): pass get_info section parameter#203

Open
epowell40 wants to merge 1 commit into
BetterDB-inc:masterfrom
epowell40:codex/fix-mcp-info-section
Open

fix(mcp): pass get_info section parameter#203
epowell40 wants to merge 1 commit into
BetterDB-inc:masterfrom
epowell40:codex/fix-mcp-info-section

Conversation

@epowell40
Copy link
Copy Markdown

Summary

  • forward the section query parameter from the MCP info endpoint into getInfoParsed
  • have the MCP get_info tool call the API with ?section=... instead of filtering after fetching all sections
  • add a focused controller unit test for section forwarding and all-section fallback

Fixes #154.

Verification

  • corepack pnpm --filter @betterdb/mcp build passes
  • SKIP_DOCKER_SETUP=true corepack pnpm --filter api test -- src/mcp/__tests__/mcp.controller.spec.ts is blocked in this local checkout by TypeScript resolution for ../../proprietary/licenses/license.module.ts (@nestjs/common / @nestjs/config not found), before this test file runs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP get_info tool ignores section parameter

1 participant