Skip to content

helgeso/M365-coding

Repository files navigation

M365 Coding Agent (oops, MCP server)

A TypeScript-based agent built with the Model Context Protocol (MCP) SDK for Microsoft 365 development.

Overview

This project implements an MCP server that provides agent capabilities for M365 development workflows. The agent is built using TypeScript and the @modelcontextprotocol/sdk.

Features

  • 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

Project Structure

├── 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

Installation

  1. Clone the repository:

    git clone https://github.com/[username]/M365-coding.git
    cd M365-coding
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build

Development

Building

To compile the TypeScript code:

npm run build

VS Code Integration

The project includes VS Code MCP configuration in .vscode/mcp.json. This allows you to debug and test the MCP server directly within VS Code.

Adding New Tools

To add new tools to the agent:

  1. Open src/index.ts
  2. Add your tool definition using the MCP SDK
  3. Implement the tool handler
  4. Rebuild the project

Dependencies

  • @modelcontextprotocol/sdk: Core MCP SDK for server implementation
  • zod: Schema validation
  • TypeScript: Type checking and compilation
  • @types/node: Node.js type definitions

License

This project is open source and available under the MIT License.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A TypeScript-based agent built with the Model Context Protocol (MCP) SDK for Microsoft 365 development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors