msexchange-mcp
Version:
MCP server for Microsoft Exchange/Outlook email operations via Microsoft Graph API
23 lines • 573 B
JavaScript
import { FastMCP } from 'fastmcp';
import * as Tools from './tools/index.js';
const server = new FastMCP({
name: 'Exchange MCP',
version: '1.0.0',
});
// Register all tools
Object.values(Tools).forEach((tool) => {
server.addTool(tool);
});
export function start(transport = 'stdio') {
if (transport === 'stdio') {
server.start({ transportType: 'stdio' });
}
else {
server.start({
transportType: 'httpStream',
httpStream: { port: 3000 }
});
}
}
export { server };
//# sourceMappingURL=server.js.map