Repository navigation
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Approval should be deferred because the 58-tool snapshot and validation rely on manually transcribed external documentation while the hosted sync endpoint returns 404, preventing independent verification against the live server.
No open issues 🎉
What changed in this PR
Adds repository-level validation ensuring Taskade skills only cite hosted MCP tools present in a checked-in snapshot, with tooling to maintain the snapshot and CI coverage.
Changes:
- Adds
hosted-tools.jsonandscripts/hosted-tools.mjsfor validating and synchronizing the hosted tool list. - Extends
scripts/check.mjsto reject unknown backticked snake_case tool citations. - Documents snapshot maintenance and runs the hosted tool reader self-test in CI.
| File | Description |
|---|---|
| scripts/hosted-tools.mjs | Validates, formats, self-tests, and synchronizes the hosted MCP tool snapshot. |
| scripts/check.mjs | Checks cited skill tool names against the hosted snapshot and adds related validation cases. |
| hosted-tools.json | Provides the initial snapshot of 58 hosted MCP tools and their read/write metadata. |
| CONTRIBUTING.md | Documents hosted tool snapshot maintenance and validation procedures. |
| .github/workflows/check.yml | Runs the hosted tool reader self-test in CI. |
Review effort: Lite
Member
Author
|
@deanzaka impact and QA notes for this PR. The PR is open. These notes describe the current head ( Impact
Release order: a merge starts no release, no tag and no sync to taskade/mcp. Rollback is a revert. Before and afterNo visible change for users. How to QA
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
hosted-tools.jsonis a new snapshot of the tool list of the hosted serverhttps://www.taskade.com/mcp. The first snapshot comes from the hosted tool table in the README of taskade/mcp: 58 names, and the read-only or write column of each. That table states no title and no other hint, so the snapshot leaves those fields out.scripts/check.mjshas a new rule. A skill cites a tool as a snake_case word in backticks, for example`list_spaces`. Each such word in a.mdfile of a skill must be a tool in the snapshot, or a word inNOT_TOOL_NAMES. That list holds the 6 such words that the skills use today and that are not tools: thestr_replacecommand ofwrite_file, and 5 refusal codes. On failure, the check prints the file and the unknown name.scripts/hosted-tools.mjs syncfetches the public tool list filehttps://www.taskade.com/.well-known/mcp/tools.jsonand writes the snapshot. Today the file answers 404, so the script stops and changes nothing.--self-testgives the reader a bad list for each case, and CI runs it.CONTRIBUTING.mdtells how to run the sync, and how to edit the snapshot by hand until the public file is available.plugins/taskade/.scripts/sync-mcp.shdoes not copyhosted-tools.jsonorscripts/hosted-tools.mjsto taskade/mcp, on purpose. Its list of output paths does not name them, and taskade/mcp keeps its own snapshot. A sync of this branch into a clone of taskade/mcpmainchanged 0 files.How to test
To see a failure, add
Call `list_everything`.to a skill and runnode scripts/check.mjs. It exits 1 and prints the path of the skill file and the namelist_everything.What a merge triggers
main.taskade--v*tag, a release or a manual run. A merge starts none of them, so no sync pull request opens in taskade/mcp.Closes #5