From 1c8f6cbab93189954c0f6de62e7670ce57bfa944 Mon Sep 17 00:00:00 2001 From: Emanuel Almeida Date: Sat, 31 Jan 2026 18:27:13 +0000 Subject: [PATCH] fix: Shorten tool name exceeding 64 char limit - Renamed outline_bulk_remove_users_from_collection (41 chars) to outline_bulk_remove_collection_users (38 chars) - With MCP prefix (24 chars), total was 65 > 64 limit - Bumped version to 1.3.7 - Updated all version references in source files Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 8 ++++++++ CLAUDE.md | 2 +- CONTINUE.md | 2 +- TESTING-GUIDE.md | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/index-http.ts | 4 ++-- src/index.ts | 2 +- src/server/create-server.ts | 2 +- src/tools/bulk-operations.ts | 2 +- 10 files changed, 19 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d7ef11..157452f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. +## [1.3.7] - 2026-01-31 + +### Fixed + +- **Tool Name Length:** Shortened `outline_bulk_remove_users_from_collection` to `outline_bulk_remove_collection_users` + - MCP tool names with prefix `mcp__outline-postgresql__` were exceeding 64 character limit + - Claude API returns error 400 for tool names > 64 chars + ## [1.3.6] - 2026-01-31 ### Fixed diff --git a/CLAUDE.md b/CLAUDE.md index dc85a87..d9cffcb 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co MCP server for direct PostgreSQL access to Outline Wiki database. Follows patterns established by `mcp-desk-crm-sql-v3`. -**Version:** 1.3.6 +**Version:** 1.3.7 **Total Tools:** 164 tools across 33 modules **Production:** hub.descomplicar.pt (via SSH tunnel) diff --git a/CONTINUE.md b/CONTINUE.md index ec2f312..6c6a09b 100644 --- a/CONTINUE.md +++ b/CONTINUE.md @@ -1,7 +1,7 @@ # MCP Outline PostgreSQL - Continuacao de Testes **Ultima Sessao:** 2026-01-31 (actualizado) -**Versao Actual:** 1.3.6 +**Versao Actual:** 1.3.7 **Progresso:** ~95/164 tools testadas (58%) - **CÓDIGO VALIDADO** --- diff --git a/TESTING-GUIDE.md b/TESTING-GUIDE.md index 54d6774..ee996fb 100644 --- a/TESTING-GUIDE.md +++ b/TESTING-GUIDE.md @@ -340,7 +340,7 @@ Test error handling, invalid inputs, empty results. | `outline_bulk_move_documents` | 🔄 | | | `outline_bulk_restore_documents` | 🔄 | | | `outline_bulk_add_users_to_collection` | 🔄 | | -| `outline_bulk_remove_users_from_collection` | 🔄 | | +| `outline_bulk_remove_collection_users` | 🔄 | | ### 30. Advanced Search (6 tools) diff --git a/package-lock.json b/package-lock.json index c773d06..b43f879 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mcp-outline-postgresql", - "version": "1.3.6", + "version": "1.3.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mcp-outline-postgresql", - "version": "1.3.6", + "version": "1.3.7", "license": "MIT", "dependencies": { "@modelcontextprotocol/sdk": "^1.0.0", diff --git a/package.json b/package.json index 338aa2b..7817af8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mcp-outline-postgresql", - "version": "1.3.6", + "version": "1.3.7", "description": "MCP Server for Outline Wiki via PostgreSQL direct access", "main": "dist/index.js", "scripts": { diff --git a/src/index-http.ts b/src/index-http.ts index e784bb8..9d62425 100644 --- a/src/index-http.ts +++ b/src/index-http.ts @@ -68,7 +68,7 @@ async function main() { JSON.stringify({ status: 'ok', transport: 'streamable-http', - version: '1.3.1', + version: '1.3.7', sessions: sessions.size, stateful: STATEFUL, tools: allTools.length @@ -101,7 +101,7 @@ async function main() { // Create MCP server const server = createMcpServer(pgClient.getPool(), { name: 'mcp-outline-http', - version: '1.3.1' + version: '1.3.7' }); // Track session if stateful diff --git a/src/index.ts b/src/index.ts index 76e28cc..0ee2e44 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,7 +39,7 @@ async function main() { // Create MCP server with shared configuration const server = createMcpServer(pgClient.getPool(), { name: 'mcp-outline-postgresql', - version: '1.3.1' + version: '1.3.7' }); // Connect stdio transport diff --git a/src/server/create-server.ts b/src/server/create-server.ts index 7e66542..16d1b0f 100644 --- a/src/server/create-server.ts +++ b/src/server/create-server.ts @@ -122,7 +122,7 @@ export function createMcpServer( ): Server { const server = new Server({ name: config.name || 'mcp-outline-postgresql', - version: config.version || '1.3.1' + version: config.version || '1.3.7' }); // Set capabilities (required for MCP v2.2+) diff --git a/src/tools/bulk-operations.ts b/src/tools/bulk-operations.ts index ba3dce7..28e355c 100644 --- a/src/tools/bulk-operations.ts +++ b/src/tools/bulk-operations.ts @@ -263,7 +263,7 @@ const bulkAddUsersToCollection: BaseTool<{ user_ids: string[]; collection_id: st * bulk.remove_users_from_collection - Remove multiple users from collection */ const bulkRemoveUsersFromCollection: BaseTool<{ user_ids: string[]; collection_id: string }> = { - name: 'outline_bulk_remove_users_from_collection', + name: 'outline_bulk_remove_collection_users', description: 'Remove multiple users from a collection.', inputSchema: { type: 'object',