A TypeScript-based agent built with the Model Context Protocol (MCP) SDK for Microsoft 365 development.
This project implements an MCP server that provides agent capabilities for M365 development workflows. The agent is built using TypeScript and the @modelcontextprotocol/sdk.
- MCP Server: Built with the Model Context Protocol SDK
- TypeScript: Fully typed implementation
- VS Code Integration: Configured for debugging with VS Code MCP extension
- Extensible: Easy to add new tools and capabilities
├── src/
│ └── index.ts # Main agent implementation
├── build/ # Compiled JavaScript output
├── .vscode/
│ └── mcp.json # VS Code MCP server configuration
├── package.json # NPM configuration and dependencies
├── tsconfig.json # TypeScript configuration
└── README.md # This file
-
Clone the repository:
git clone https://github.com/[username]/M365-coding.git cd M365-coding -
Install dependencies:
npm install
-
Build the project:
npm run build
To compile the TypeScript code:
npm run buildThe project includes VS Code MCP configuration in .vscode/mcp.json. This allows you to debug and test the MCP server directly within VS Code.
To add new tools to the agent:
- Open
src/index.ts - Add your tool definition using the MCP SDK
- Implement the tool handler
- Rebuild the project
- @modelcontextprotocol/sdk: Core MCP SDK for server implementation
- zod: Schema validation
- TypeScript: Type checking and compilation
- @types/node: Node.js type definitions
This project is open source and available under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.