Skip to main content
Glama

SQL Server MCP

by cwilby
base.ts288 B
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; /** * Base class for all tools. */ export class BaseTools { constructor() {} protected toResult(content: string): CallToolResult { return { content: [{ type: "text", text: content }] }; } }

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/cwilby/mcp-node-mssql'

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