msexchange-mcp
Version:
MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API
20 lines • 586 B
JavaScript
import { z } from 'zod';
export const helloWorldTool = {
name: 'hello_world',
description: 'A simple hello world tool to test the MCP server',
parameters: z.object({
name: z.string().optional().describe('Name to greet'),
}),
execute: async (params) => {
const greeting = params.name ? `Hello, ${params.name}!` : 'Hello, World!';
return {
content: [
{
type: 'text',
text: greeting,
},
],
};
},
};
//# sourceMappingURL=helloWorld.js.map