debug_test
Verify the FluentBoards MCP Server connection and functionality to ensure proper integration with project management operations.
Instructions
Test if MCP server is working
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/debug.ts:8-29 (handler)The handler function for the "debug_test" tool. It tests the MCP server by making an API call to "/projects/list-of-boards", counts the boards, and returns a formatted success response or error if the call fails.server.tool("debug_test", "Test if MCP server is working", {}, async () => { try { // Try to make a simple API call to test connectivity const response = await api.get("/projects/list-of-boards"); const result = { status: "success", message: "MCP server is working correctly", api_status: "connected", timestamp: new Date().toISOString(), boards_count: response.data.boards ? response.data.boards.length : 0, }; return formatResponse(result); } catch (error: any) { const result = { status: "error", message: "MCP server test failed", error: error.message, timestamp: new Date().toISOString(), }; return formatResponse(result); } });
- src/tools/debug.ts:8-29 (registration)Registration of the "debug_test" tool via server.tool(), with empty schema {} and inline handler.server.tool("debug_test", "Test if MCP server is working", {}, async () => { try { // Try to make a simple API call to test connectivity const response = await api.get("/projects/list-of-boards"); const result = { status: "success", message: "MCP server is working correctly", api_status: "connected", timestamp: new Date().toISOString(), boards_count: response.data.boards ? response.data.boards.length : 0, }; return formatResponse(result); } catch (error: any) { const result = { status: "error", message: "MCP server test failed", error: error.message, timestamp: new Date().toISOString(), }; return formatResponse(result); } });