diff --git a/.github/workflows/publish-mcp-registry.yml b/.github/workflows/publish-mcp-registry.yml new file mode 100644 index 0000000000..9e158dc52d --- /dev/null +++ b/.github/workflows/publish-mcp-registry.yml @@ -0,0 +1,40 @@ +name: Publish MCP Registry + +on: + workflow_dispatch: + push: + branches: + - main + paths: + - server.json + - .github/workflows/publish-mcp-registry.yml + +permissions: + contents: read + id-token: write + +concurrency: + group: publish-mcp-registry + cancel-in-progress: false + +jobs: + publish: + runs-on: ubuntu-latest + name: Publish server.json to MCP Registry + timeout-minutes: 10 + steps: + - name: Checkout + uses: actions/checkout@v6.0.2 + + - name: Install mcp-publisher + run: | + set -euo pipefail + curl -fsSL \ + "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" \ + | tar xz mcp-publisher + + - name: Authenticate with GitHub OIDC + run: ./mcp-publisher login github-oidc + + - name: Publish + run: ./mcp-publisher publish diff --git a/packages/worker/src/mcp/tools/execute.ts b/packages/worker/src/mcp/tools/execute.ts index 2c4dcb7f93..93c1e398cd 100644 --- a/packages/worker/src/mcp/tools/execute.ts +++ b/packages/worker/src/mcp/tools/execute.ts @@ -92,7 +92,9 @@ More context: https://github.com/kentcdodds/kody/blob/main/docs/use/execute.md `.trim(), annotations: { readOnlyHint: false, - destructiveHint: false, + // Execute can delete, overwrite, send, revoke, or otherwise make + // irreversible changes depending on the module and capabilities called. + destructiveHint: true, idempotentHint: false, openWorldHint: true, } satisfies ToolAnnotations, diff --git a/server.json b/server.json new file mode 100644 index 0000000000..d2ffc6a7d6 --- /dev/null +++ b/server.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", + "name": "io.github.kentcdodds/kody", + "title": "Kody", + "description": "Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.", + "version": "1.0.0", + "websiteUrl": "https://heykody.dev", + "repository": { + "url": "https://github.com/kentcdodds/kody", + "source": "github" + }, + "remotes": [ + { + "type": "streamable-http", + "url": "https://heykody.dev/mcp" + } + ] +}