Skip to main content
Glama

debug_test

Verify the MCP server connection and functionality to ensure proper integration with FluentBoards project management system.

Instructions

Test if MCP server is working

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The inline async handler function that implements the core logic of the "debug_test" tool. It attempts an API call to verify connectivity, constructs a status result, and returns a formatted response.
    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); } });
  • The registerDebugTools function that registers the "debug_test" tool on the provided MCP server instance, including its schema (empty) and handler.
    export function registerDebugTools(server: McpServer) { // Test if MCP server is working 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/index.ts:21-21 (registration)
    The call to registerDebugTools on the main MCP server instance, which triggers the registration of the "debug_test" tool.
    registerDebugTools(server);

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/danieliser/fluent-boards-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server