Skip to main content
Glama

Xero MCP Server

Official
MIT License
293
128
  • Apple
  • Linux
create-xero-tool.ts571 B
import { ZodRawShape } from "zod"; import { ToolCallback } from "@modelcontextprotocol/sdk/server/mcp.js"; import { ToolDefinition } from "../types/tool-definition.js"; export const CreateXeroTool = // eslint-disable-next-line @typescript-eslint/no-explicit-any <Args extends undefined | ZodRawShape = any>( name: string, description: string, schema: Args, handler: ToolCallback<Args>, ): (() => ToolDefinition<Args>) => () => ({ name: name, description: description, schema: schema, handler: handler, });

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/XeroAPI/xero-mcp-server'

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