Skip to main content
Glama

mcp-angular-cli

by talzach
requestHandler.ts598 B
import { Server } from "@modelcontextprotocol/sdk/server/index.js"; import { ListToolsRequestSchema, CallToolRequestSchema, Tool, } from "@modelcontextprotocol/sdk/types.js"; import { handleToolCall } from "./toolHandler.js"; export function setupRequestHandlers(server: Server, tools: Tool[]) { // List tools handler server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: tools, })); // Call tool handler server.setRequestHandler(CallToolRequestSchema, async (request) => handleToolCall(request.params.name, request.params.arguments ?? {}, server) ); }

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/talzach/mcp-angular-cli'

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