Raindrop mcp publishing

From adeze/raindrop-mcp · View interactive version

Raindrop mcp publishing is an AI agent skill from the GitHub repository adeze/raindrop-mcp. Automates and manages the complete publishing workflow for @adeze/raindrop-mcp from version bumping through npm registry deployment.

How to use this skill

Skill file

Raindrop MCP Publishing Skill

Automates and manages the complete publishing workflow for @adeze/raindrop-mcp from version bumping through npm registry deployment.

Overview

This skill encapsulates the end-to-end publishing process, ensuring consistent version management, proper synchronization across configuration files, and reliable deployment via GitHub Actions with npm Trusted Publishers.

Publishing Workflow

1. Pre-Publication Checklist

Before publishing, verify:

2. Version Bump

Bump semantic version using Bun:

bun pm version <MAJOR.MINOR.PATCH>

Examples:

3. Sync All Version Files

Update version numbers in ALL four files to maintain consistency:

Files to update:

  1. package.json - Already updated by bun pm version
  2. manifest.json - DXT manifest version (lines 2-4)
  3. CLAUDE.md - Project guidelines (around line 8)
  4. README.md - User documentation (around line 278)

Version reference locations:

// manifest.json
{
  "dxt_version": "0.1",
  "name": "@adeze/raindrop-mcp",
  "version": "X.X.X",
// CLAUDE.md

### Version Information

- **Current version**: X.X.X
// README.md

## 📋 Recent Enhancements (vX.X.X)

4. Build & Commit

# Rebuild with new version
bun run build

# Stage all version updates
git add package.json manifest.json CLAUDE.md README.md

# Commit with semantic message
git commit -m "chore: bump version to X.X.X"

# Push to master
git push origin master

5. Create & Push Version Tag

# Create semantic version tag
git tag vX.X.X

# Push tag to trigger GitHub Actions
git push origin vX.X.X

Note: If tag already exists:

git tag -d vX.X.X
git tag vX.X.X
git push origin vX.X.X --force

6. GitHub Actions Automatic Steps

Once tag is pushed, GitHub Actions automatically:

  1. ✅ Checks out code
  2. ✅ Sets up Node.js & Bun
  3. ✅ Installs dependencies
  4. ✅ Runs type-check: bun run type-check
  5. ✅ Builds: bun run build
  6. ✅ Publishes to npm via Trusted Publishers (OIDC-based, no token needed)
  7. ✅ Deletes existing GitHub Release (if present)
  8. ✅ Creates new GitHub Release

npm Trusted Publishers Setup

One-time setup required:

  1. Go to: https://www.npmjs.com/settings/@adeze/packages
  2. Click raindrop-mcp package
  3. Go to Settings tab
  4. Scroll to Publishing access
  5. Click Configure trusted publishers
  6. Select GitHub Actions
  7. Fill in:
  1. Click Add

Benefits:

Workflow File

Location: .github/workflows/publish.yml

Key permissions:

permissions:
  id-token: write # Required for OIDC
  contents: write # For GitHub releases

Key steps:

Troubleshooting

Error: "cannot publish over previously published versions"

Cause: Version already exists on npm

Solution: Bump semantic version and retry

Error: "Release.tag_name already exists"

Cause: GitHub release already exists from previous publish attempt

Solution: Workflow automatically deletes existing release before creating a new one

Error: "need auth This command requires you to be logged in"

Cause: npm Trusted Publishers not configured

Solution: Complete one-time setup at https://www.npmjs.com/settings/@adeze/packages

Full Publishing Command Sequence

# 1. Verify all tests pass
bun run test
bun run type-check
bun run build

# 2. Bump version (example: 2.1.1 → 2.1.2)
bun pm version 2.1.2

# 3. Update all version files
# - manifest.json (line 3)
# - CLAUDE.md (line 9)
# - README.md (line 278)

# 4. Build & commit
bun run build
git add package.json manifest.json CLAUDE.md README.md
git commit -m "chore: bump version to 2.1.2"
git push origin master

# 5. Create & push tag (triggers workflow)
git tag v2.1.2
git push origin v2.1.2

# 6. Monitor workflow with GitHub CLI
gh run list --limit 1

# 7. Verify once workflow completes (✓ status)
npm view @adeze/raindrop-mcp@2.1.2
mcp_github_get_latest_release owner=adeze repo=raindrop-mcp

Monitoring Workflow Status

Using GitHub CLI

Check the latest workflow run:

gh run list --limit 1

Output statuses:

View detailed logs:

gh run view <run-id>

Using GitHub MCP Tools

Check latest release:

Call mcp_github_get_latest_release with:

This returns the most recent release and confirms:

Verification

After workflow completes (usually 30-60 seconds):

  1. Check workflow status with GitHub CLI:

```bash

gh run list --limit 1

# Should show ✓ status indicating success

```

  1. Verify latest GitHub release created:
  1. Verify npm publication:

```bash

npm view @adeze/raindrop-mcp@2.1.2

```

Should return package metadata confirming it's live

  1. Verify package installation:

```bash

npm install @adeze/raindrop-mcp@2.1.1

```

Important Notes

Related Resources

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.