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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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**
|
||||
|
||||
---
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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",
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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+)
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user