getConfiguration
Retrieve enterprise and client configuration settings for the Mews platform using the Mews MCP API, enabling streamlined access to essential operational data.
Instructions
Returns configuration of the enterprise and the client
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The execute handler function that performs the tool logic: makes an HTTP request to the Mews API endpoint '/api/connector/v1/configuration/get' and returns the JSON stringified result.async execute(config: MewsAuthConfig, args: unknown): Promise<ToolResult> { const result = await mewsRequest(config, '/api/connector/v1/configuration/get', {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; }
- Input schema definition: empty object (no parameters required).inputSchema: { type: 'object', properties: {}, additionalProperties: false },
- src/tools/index.ts:112-112 (registration)The tool is registered by including getConfigurationTool in the allTools array, which is used for MCP server tool definitions.getConfigurationTool,
- src/tools/index.ts:27-27 (registration)Import of the getConfigurationTool for registration in the tools index.import { getConfigurationTool } from './configuration/getConfiguration.js';