Merged
Conversation
pontemonti
reviewed
Dec 8, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds a Mock MCP (Model Context Protocol) Server to the Agent365-dotnet repository. The server enables testing and development of MCP tools by providing mock implementations that simulate real tool behavior with configurable responses, delays, and error rates.
Key Changes
- Mock Server Infrastructure: New ASP.NET Core application (
MockToolingServer) with MCP support via SSE and HTTP transports - Tool Management System: File-based storage system for mock tool definitions with hot-reload capability
- Pre-configured Mock Tools: JSON files containing mock definitions for Mail and Calendar tools from Microsoft Graph API
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated 21 comments.
Show a summary per file
| File | Description |
|---|---|
| mcp/Program.cs | Main entry point configuring MCP server, admin endpoints, and tool execution routing |
| mcp/MockTools/MockToolModels.cs | Data models for mock tool definitions and configuration options |
| mcp/MockTools/MockToolExecutor.cs | Core logic for listing and executing mock tools with template rendering |
| mcp/MockTools/IMockToolStore.cs | Interface defining tool storage operations |
| mcp/MockTools/FileMockToolStore.cs | File-based implementation of tool storage with filesystem watching |
| mcp/mocks/mcp_MailTools.json | Mock tool definitions for Microsoft 365 mail operations |
| mcp/mocks/mcp_CalendarTools.json | Mock tool definitions for Microsoft 365 calendar operations |
| mcp/MockToolingServer.csproj | Project file defining dependencies and build configuration |
| mcp/MockToolingServer.sln | Solution file for Visual Studio |
| mcp/README.md | Documentation for using the mock server and managing mock tools |
| mcp/appsettings.json | Application configuration for logging |
| mcp/Properties/launchSettings.json | Development environment settings for debugging |
pontemonti
previously approved these changes
Dec 8, 2025
sellakumaran
previously approved these changes
Dec 9, 2025
456730b
…crosoft/Agent365-devTools into users/jterrazas/move-mock-mcp
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 12 out of 12 changed files in this pull request and generated 12 comments.
Comments suppressed due to low confidence (2)
mcp/MockTools/FileMockToolStore.cs:56
- Poor error handling: empty catch block.
catch (Exception ex)
{
Console.WriteLine($"Failed to initialize FileSystemWatcher: {ex.Message}");
mcp/MockTools/FileMockToolStore.cs:61
- Poor error handling: empty catch block.
{
added 2 commits
December 9, 2025 10:53
sellakumaran
approved these changes
Dec 10, 2025
pontemonti
approved these changes
Dec 11, 2025
sellakumaran
pushed a commit
that referenced
this pull request
Feb 27, 2026
* initial commit * remove non utf-8 chars * add copyright headers and fix endpoints * remove admin endpoints * updated mock mcps to use updated mcp descriptions * copilot comments * copilot comments * copilot comments 3x * Update tool defs * update to readme --------- Co-authored-by: Jesus Terrazas <jterrazas@microsoft.com> Co-authored-by: abdulanu0 <abdulanu0@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.