Quellcode durchsuchen

chore: change package name to scoped @cahaseler/wikijs-mcp

- Update package.json with scoped name
- Update all npx references in README
- Add SETUP_PUBLISHING.md guide
Test User vor 1 Jahr
Ursprung
Commit
6daaa766f5
3 geänderte Dateien mit 66 neuen und 7 gelöschten Zeilen
  1. 6 6
      README.md
  2. 59 0
      SETUP_PUBLISHING.md
  3. 1 1
      package.json

+ 6 - 6
README.md

@@ -15,7 +15,7 @@ This MCP server enables AI assistants to interact with WikiJS instances by provi
 
 ### Using npx (recommended)
 ```bash
-npx wikijs-mcp
+npx @cahaseler/wikijs-mcp
 ```
 
 ### From source
@@ -36,14 +36,14 @@ npm run build
 claude mcp add wikijs \
   -e WIKIJS_URL=https://your-wiki.example.com \
   -e WIKIJS_API_KEY=your-api-key \
-  -- npx wikijs-mcp
+  -- npx @cahaseler/wikijs-mcp
 
 # Or with edit functionality enabled
 claude mcp add wikijs \
   -e WIKIJS_URL=https://your-wiki.example.com \
   -e WIKIJS_API_KEY=your-api-key \
   -e WIKIJS_ENABLE_EDIT=true \
-  -- npx wikijs-mcp
+  -- npx @cahaseler/wikijs-mcp
 ```
 
 #### Method 2: Project-scoped configuration
@@ -53,7 +53,7 @@ Create a `.mcp.json` file in your project root:
   "mcpServers": {
     "wikijs": {
       "command": "npx",
-      "args": ["wikijs-mcp"],
+      "args": ["@cahaseler/wikijs-mcp"],
       "env": {
         "WIKIJS_URL": "https://your-wiki.example.com",
         "WIKIJS_API_KEY": "your-api-key",
@@ -71,7 +71,7 @@ Add to your Cursor settings (`.cursor/settings.json`):
   "mcpServers": {
     "wikijs-mcp": {
       "command": "npx",
-      "args": ["wikijs-mcp"],
+      "args": ["@cahaseler/wikijs-mcp"],
       "env": {
         "WIKIJS_URL": "https://your-wiki.example.com",
         "WIKIJS_API_KEY": "your-api-key",
@@ -93,7 +93,7 @@ Add to your Claude Desktop configuration:
   "mcpServers": {
     "wikijs-mcp": {
       "command": "npx",
-      "args": ["wikijs-mcp"],
+      "args": ["@cahaseler/wikijs-mcp"],
       "env": {
         "WIKIJS_URL": "https://your-wiki.example.com",
         "WIKIJS_API_KEY": "your-api-key",

+ 59 - 0
SETUP_PUBLISHING.md

@@ -0,0 +1,59 @@
+# Setup Publishing Guide
+
+## 1. Create NPM Token
+
+Since npm token creation requires interactive authentication, please run this manually:
+
+```bash
+npm token create --read-only false
+```
+
+When prompted, enter your npm password. Copy the generated token (it starts with `npm_`).
+
+## 2. Add NPM Token to GitHub
+
+Once you have the token, add it to your GitHub repository:
+
+```bash
+# Using GitHub CLI (replace YOUR_NPM_TOKEN with the actual token)
+gh secret set NPM_TOKEN --body "YOUR_NPM_TOKEN" --repo cahaseler/wikijs-mcp
+```
+
+Or manually:
+1. Go to https://github.com/cahaseler/wikijs-mcp/settings/secrets/actions
+2. Click "New repository secret"
+3. Name: `NPM_TOKEN`
+4. Value: Your npm token
+5. Click "Add secret"
+
+## 3. Create Initial Release
+
+To publish your first version:
+
+```bash
+# Create and push a tag
+git tag v1.0.1
+git push origin v1.0.1
+```
+
+This will trigger the release workflow which will:
+- Create a GitHub release
+- Publish to npm
+
+## 4. Future Releases
+
+Use the Version Bump workflow:
+1. Go to https://github.com/cahaseler/wikijs-mcp/actions/workflows/version-bump.yml
+2. Click "Run workflow"
+3. Select bump type (patch/minor/major)
+4. Merge the created PR
+5. The release will happen automatically
+
+## Package Name Availability
+
+Before publishing, check if 'wikijs-mcp' is available:
+```bash
+npm view wikijs-mcp
+```
+
+If it's taken, update the package name in package.json.

+ 1 - 1
package.json

@@ -1,5 +1,5 @@
 {
-	"name": "wikijs-mcp",
+	"name": "@cahaseler/wikijs-mcp",
 	"version": "1.0.1",
 	"description": "WikiJS MCP Server",
 	"main": "build/index.js",