Add `listDtdUris` command to the DTD tool, drop auto DTD connection logic. (#418)

Related to https://github.com/dart-lang/ai/issues/416.

This changes the flow for connecting to DTD to require an extra tool call in most cases (list then connect), but also makes things a lot more explicit and also less confusing for the agents.

Eventually, this `listDtdUris` command should become just a skill or something like that, but given it is a new command agents won't know about it out of the box, and adding it as an MCP subcommand should make things much more reliable in general.

Also adds the application name if provided when listing apps, and fixes a bug where _all_ connected apps would be listed under each DTD URI, instead of only the apps relevant to that DTD instance.
12 files changed
tree: 64c01cef3846b68e76b006bcf3f9002ffef5af61
  1. .agents/
  2. .github/
  3. .vscode/
  4. mcp_examples/
  5. pkgs/
  6. .gitignore
  7. CONTRIBUTING.md
  8. GEMINI.md
  9. LICENSE
  10. README.md
README.md

Overview

A general repository for AI / GenAI packages and explorations.

Packages

PackageDescriptionIssuesVersion
dart_mcpA package for making MCP servers and clients.issuespub package
dart_mcp_serverAn MCP server for Dart projects, exposing various developer tools to AI models.issuesn/a