Skip to content

feat: ship the Kindtech connector with the uk-open-data plugin - #8

Draft
billlyzhaoyh wants to merge 3 commits into
mainfrom
feat/plugin-ships-connector
Draft

billlyzhaoyh wants to merge 3 commits into
mainfrom
feat/plugin-ships-connector

Conversation

@billlyzhaoyh

Copy link
Copy Markdown
Contributor

What and why

Installing the uk-open-data plugin should also add the Kindtech connector, so the local-need-evidence skill can run an analysis on totals in a chat. Today a person has to add the connector by hand. This is gap S3 in the skill's handover.

Do not merge until https://app.kindte.ch/mcp is live. As of 23 November 2026 the address does not resolve. This sits on top of #7 and should be merged after it.

  • plugins/uk-open-data/.mcp.json names one server, kindtech, at https://app.kindte.ch/mcp.
  • scripts/build_chatgpt_archive.py reads the connector's address from that file, so it is written in one place. --connector-url still replaces it for one build, for staging.
  • The plugin README gains a Privacy section. It says what reaches the connector (totals only, through read-only tools), what the server keeps (one log line per answer) and where it runs. It also says what the connector asks postcodes.io and the ONS, and what the command line sends to postcodes.io. plugin.json points at that section as privacyPolicyUrl, which claude plugin validate asked for.
  • AGENTS.md describes the new build behaviour.

Check before merging. The Privacy section describes the hosted connector: what it logs and that it runs in Azure UK South. These should be confirmed with whoever runs the server once it is live.

How I tested it

  • uv run ruff format --check ., uv run ruff check ., uv run pytest (43 tests) and uv run python scripts/lint_skills.py pass.
  • One new test, through build_archive(): a plugin with a .mcp.json gets that address in the archive's mcp.json, and an address given on the command line wins.
  • claude plugin validate passes on the plugin.
  • Not run: the plugin installed against the live connector, which does not exist yet.

Tools that helped

Claude Code wrote this change.

Checklist

  • The change is about one thing and is small enough to review
  • Tests and docs are updated where behaviour changed
  • Commits are signed off (git commit -s). They are not: an agent made them, and the sign-off is a person's statement.
  • No personal data about real people in code, tests, examples or this description

Installing the plugin now adds the Kindtech connector, so a skill can
work out figures from totals in a chat (gap S3). Hold this until
https://app.kindte.ch/mcp is live.

- plugins/uk-open-data/.mcp.json names the connector. The ChatGPT build
  reads its address from there, so it is written in one place;
  --connector-url still replaces it for one build.
- The plugin README says what reaches the connector and what it passes
  on, and plugin.json points at that section as the privacy policy.
@billlyzhaoyh
billlyzhaoyh changed the base branch from feat/skill-all-lenses to main November 23, 2026 10:37
billlyzhaoyh and others added 2 commits November 29, 2026 22:21
The Privacy section said the log records one line per answer. The hosted app also logs a short note when a source or map fails, and a failed fetch of outlines from the ONS can name the area codes asked for. Request logs are off, so no IP address is logged. The 30 days of retention is Azure's default and is marked to confirm on the live app before merging.
@billlyzhaoyh

Copy link
Copy Markdown
Contributor Author

Checked the Privacy section against the hosted app's code and deploy config (workspace), and corrected it:

  • UK South: matches deploy/names.env (LOCATION=uksouth). The app isn't deployed yet, though: deploy/README.md says the steps haven't been run.
  • Logging: the section said the log records one line per answer. It also gets a short note when a data source or map fails, the MCP library's request-type lines, and which ONS outline service was queried. Request logs are off (access_log=False), so no IP addresses are logged, and the totals sent are never logged. One exception, now stated: when fetching outlines from the ONS fails, geo/api.py logs the requests error text, which can include the area codes asked for.
  • Retention: now says 30 days, Azure Log Analytics' default. The deploy doesn't set it, so there's a TODO comment to confirm retentionInDays on the live app.

Still a draft. Before merging: deploy the app, check its region, log retention and the log lines from one test chat, then remove the TODO.

Checks run: ruff format --check, ruff check, pytest (43 passed) and scripts/lint_skills.py.

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