// src/toolRegistry.ts
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { SharePointConfig } from './config';
import { registerAllToolGroups } from './toolGroups';
/**
* Register all SharePoint tools with the MCP server
* @param server The MCP server instance
* @param config SharePoint configuration
* @returns void
*/
export function registerTools(server: McpServer, config: SharePointConfig): void {
console.error("✅ SharePoint credentials are valid. Registering tools...");
// Register all tool groups
registerAllToolGroups(server, config);
}
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/Zerg00s/server-sharepoint'
If you have feedback or need assistance with the MCP directory API, please join our Discord server