
Mirror Mcp
This server gives LLMs a way to ask themselves questions through a single reflect tool that uses MCP's sampling capabilities to generate responses. You pass in a question, optional context, and sampling parameters like temperature and max tokens, and it returns a self-assessment response. Useful when you want the model to validate its own reasoning, check confidence levels, or catch logical gaps before committing to an answer. You can also pass custom system and user prompts to steer the reflection style, like asking it to think as a critical reviewer or focus on specific weaknesses. It's a metacognitive loop built on top of the standard MCP sampling interface.
- GitHub stars
- 14
- tool
- 1
- transport
- STDIO
- last updated
- Oct 2, 2025
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
reflectEnables the LLM to ask itself a question and receive a response through MCP sampling.
Enables the LLM to ask itself a question and receive a response through MCP sampling.
No parameter schema in public metadata yet.
Sponsors
Readme
mirror-mcp
A Model Context Protocol (MCP) server that provides a reflect tool, enabling LLMs to engage in self-reflection and introspection through recursive questioning and MCP sampling.
Overview
mirror-mcp allows AI models to "look at themselves" by providing a reflection mechanism. When an LLM uses the reflect tool, it can pose questions to itself and receive answers through the Model Context Protocol's sampling capabilities. This creates a powerful feedback loop for self-analysis, reasoning validation, and iterative problem-solving.
Features
- πͺ Self-Reflection Tool: Enables LLMs to ask themselves questions and receive computed responses
- π MCP Sampling Integration: Uses the Model Context Protocol's sampling mechanism for responses
- π¦ npm Installable: Easy installation and deployment
- β‘ Lightweight: Minimal dependencies and fast startup
- π§ Configurable: Customizable reflection parameters and sampling options
Installation
Details
- Repository
- github.com/toby/mirror-mcp
- Package
mirror-mcp- Transport
- STDIO
- Registry
- MCP registry, active