Skip to content

feat(mcp): note when a test key finds nothing - #98

Merged
Adeniyikayodee merged 1 commit into
mainfrom
feat/mcp-test-key-note
Oct 12, 2026
Merged

Adeniyikayodee merged 1 commit into
mainfrom
feat/mcp-test-key-note

Conversation

@Adeniyikayodee

Copy link
Copy Markdown
Owner

Completes #95 for the MCP servers. With a test key, lookup_postcode answered not_found and find_postcode_at_location answered found: false with nothing to tell the model that NIPOST may still hold the building.

Both answers gain an optional note, set only when a test key finds nothing: "Asked with a test key, which may not see assigned codes." It is null otherwise. The field is in the shared contract, spec/mcp.json, and both servers set it the same way.

Checked against the live API with a test key on both servers.

@Adeniyikayodee
Adeniyikayodee merged commit 03eec58 into main Oct 12, 2026
18 checks passed
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.

1 participant