Skip to main content
Glama
Proofessor MCP Server

Proofessor MCP Server

by mtuckerb

MCP Roo - Proofessor AI Agent MCP Server

An MCP (Model Context Protocol) server that allows other AI agents to communicate with Proofessor, an expert AI agent specialized in code explanation, technical concepts, debugging, and architecture analysis.

Overview

This MCP server provides a standardized interface for AI agents to ask questions and get expert explanations from Proofessor. It's designed to work with Roo Cloud and can be easily integrated into any MCP-compatible environment.

Related MCP server: cms mcp

Features

The server provides five specialized tools for interacting with Proofessor:

1. ask_proofessor

Ask Proofessor any question about code, architecture, debugging, or technical concepts.

Parameters:

  • question (required): Your question for Proofessor

  • context (optional): Additional context like code snippets or project details

Example:

{
  "question": "What are the benefits of using TypeScript over JavaScript?",
  "context": "Working on a large-scale web application with multiple developers"
}

2. explain_code

Request detailed explanations of how specific code works.

Parameters:

  • code (required): The code snippet to explain

  • language (optional): Programming language (e.g., 'javascript', 'python')

  • focus (optional): Specific aspect to focus on (e.g., 'performance', 'security')

Example:

{
  "code": "const debounce = (fn, delay) => { let timer; return (...args) => { clearTimeout(timer); timer = setTimeout(() => fn(...args), delay); }; }",
  "language": "javascript",
  "focus": "performance"
}

3. analyze_architecture

Get architectural analysis and recommendations.

Parameters:

  • description (required): Description of the architecture or system design

  • concerns (optional): Specific concerns (e.g., 'scalability', 'security')

Example:

{
  "description": "Microservices architecture with event-driven communication using message queues",
  "concerns": "scalability and fault tolerance"
}

4. debug_help

Get assistance with debugging issues and understanding errors.

Parameters:

  • error_message (required): The error message or problem description

  • code_context (optional): Relevant code related to the error

  • attempted_solutions (optional): Solutions already tried

Example:

{
  "error_message": "TypeError: Cannot read property 'map' of undefined",
  "code_context": "const items = data.items.map(item => item.name);",
  "attempted_solutions": "Checked if data exists, but still getting the error"
}

5. best_practices

Ask about best practices for specific technologies or patterns.

Parameters:

  • topic (required): The technology or pattern to get best practices for

  • context (optional): Specific use case or context

Example:

{
  "topic": "React hooks",
  "context": "Building a complex form with multiple validation steps"
}

Installation

The easiest way to use this server is with npx:

npx @mtuckerb/mcp-roo

Global Installation

npm install -g @mtuckerb/mcp-roo

Local Installation

npm install @mtuckerb/mcp-roo

Configuration

For Roo Cloud

Add to your MCP settings file (~/.roo/mcp_settings.json or similar):

{
  "mcpServers": {
    "proofessor": {
      "command": "npx",
      "args": ["@mtuckerb/mcp-roo"],
      "disabled": false,
      "alwaysAllow": [],
      "disabledTools": []
    }
  }
}

For Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent on your OS:

{
  "mcpServers": {
    "proofessor": {
      "command": "npx",
      "args": ["@mtuckerb/mcp-roo"]
    }
  }
}

Using Local Build

If you've cloned and built the repository locally:

{
  "mcpServers": {
    "proofessor": {
      "command": "node",
      "args": ["/path/to/mcp_roo/build/index.js"]
    }
  }
}

Development

Prerequisites

  • Node.js 18 or higher

  • npm or yarn

Setup

  1. Clone the repository:

git clone https://github.com/mtuckerb/mcp_roo.git
cd mcp_roo
  1. Install dependencies:

npm install
  1. Build the project:

npm run build

Project Structure

mcp_roo/
├── src/
│   └── index.ts          # Main server implementation
├── build/                # Compiled JavaScript output
├── package.json          # Project configuration
├── tsconfig.json         # TypeScript configuration
└── README.md            # This file

Scripts

  • npm run build - Compile TypeScript to JavaScript

  • npm run watch - Watch mode for development

  • npm run prepare - Automatically runs on install

Usage Examples

From Another AI Agent

When configured in an MCP-compatible environment, other agents can use these tools:

// Ask a general question
await use_mcp_tool("proofessor", "ask_proofessor", {
  question: "What is the difference between async/await and Promises?",
  context: "I'm refactoring callback-based code"
});

// Get code explanation
await use_mcp_tool("proofessor", "explain_code", {
  code: "function* fibonacci() { let [a, b] = [0, 1]; while (true) { yield a; [a, b] = [b, a + b]; } }",
  language: "javascript"
});

// Analyze architecture
await use_mcp_tool("proofessor", "analyze_architecture", {
  description: "REST API with JWT authentication and PostgreSQL database",
  concerns: "security and performance"
});

Testing Locally

You can test the server using the MCP inspector or by integrating it into your development environment.

How It Works

This MCP server acts as a bridge between other AI agents and Proofessor's expertise. When a tool is called:

  1. The agent sends a request through the MCP protocol

  2. The server receives and validates the request

  3. The request is formatted for Proofessor's analysis

  4. A response is generated and returned through MCP

Note: The current implementation provides simulated responses. In a production environment, this would connect to Proofessor's actual AI system for real-time expert analysis.

Contributing

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

License

MIT

Author

mtuckerb

Changelog

1.0.0 (2025-11-19)

  • Initial release

  • Five specialized tools for interacting with Proofessor

  • Support for npx usage

  • Comprehensive documentation

Available Tools

5 tools
analyze_architectureC

Ask Proofessor to analyze system architecture, design patterns, or project structure and provide insights and recommendations.

Inputs: description (required), concerns.

ask_proofessorC

Ask Proofessor (an AI expert in code explanation and technical concepts) a question about code, architecture, debugging, or technical concepts. Proofessor will provide clear, comprehensive explanations.

Inputs: question (required), context.

best_practicesB

Ask Proofessor about best practices for a specific technology, pattern, or development approach.

Inputs: topic (required), context.

debug_helpA

Get Proofessor's help with debugging issues, understanding error messages, or troubleshooting problems.

Inputs: error_message (required), code_context, attempted_solutions.

explain_codeB

Request Proofessor to explain how specific code works, including its purpose, logic flow, patterns used, and design decisions.

Inputs: code (required), focus, language.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 5 tools

    Disambiguation3/5

    The four specialized tools (explain_code, analyze_architecture, debug_help, best_practices) have reasonably distinct intents, but ask_proofessor is a generic catch-all that overlaps with every one of them, so an agent can rarely be sure whether to use the generic or the specialized entry point.

    Naming Consistency3/5

    Most names follow a verb_noun shape (explain_code, analyze_architecture, debug_help), but ask_proofessor encodes the product name, and best_practices is a bare noun phrase with no verb, so the pattern breaks down in places.

    Tool Count5/5

    Five tools is a well-scoped set for what is fundamentally a single Q&A capability with a handful of prompt specializations; nothing feels padded or missing.

    Completeness4/5

    The surface covers general questions, code explanation, architecture review, debugging, and best practices, which spans the stated purpose well; a code-review or refactoring-suggestion mode would round it out, but agents can reach those via ask_proofessor.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Exposes codebase memory as native tools for AI agents, enabling queries, feature tracing, impact analysis, and alignment verification.
      5
      AGPL 3.0
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to submit code snippets for review and receive structured quality reports covering correctness, security, performance, maintainability, and best practices.
      2
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI assistants to save, retrieve, and semantically search code snippets, generate language-specific style guides, and produce comprehensive documentation through discoverable MCP tools and multi-agent workflows.
      -