MCP ExplorerExplorer

Mitmproxy Mcp

@lucasoethon 10 months ago
2 MIT
FreeCommunity
AI Systems
mitmproxy-mcp is a simple MCP server for note storage and summarization.

Overview

What is Mitmproxy Mcp

mitmproxy-mcp is a MCP server project that implements a simple note storage system, allowing users to create, access, and summarize notes using a custom URI scheme.

Use cases

Use cases for mitmproxy-mcp include creating personal notes, summarizing notes for quick reviews, and integrating with other applications that require note storage and retrieval functionalities.

How to use

To use mitmproxy-mcp, install it according to the provided configuration instructions, and utilize the ‘add-note’ tool to create notes. You can then use the ‘summarize-notes’ prompt to generate summaries of all stored notes.

Key features

Key features include a custom note:// URI scheme for accessing notes, the ability to create and summarize notes, and a notification system for clients upon resource changes.

Where to use

mitmproxy-mcp can be used in various fields such as personal note-taking applications, collaborative documentation systems, and any scenario requiring simple note management.

Content

mitmproxy-mcp MCP server

A MCP server project

Components

Resources

The server implements a simple note storage system with:

  • Custom note:// URI scheme for accessing individual notes
  • Each note resource has a name, description and text/plain mimetype

Prompts

The server provides a single prompt:

  • summarize-notes: Creates summaries of all stored notes
    • Optional “style” argument to control detail level (brief/detailed)
    • Generates prompt combining all current notes with style preference

Tools

The server implements one tool:

  • add-note: Adds a new note to the server
    • Takes “name” and “content” as required string arguments
    • Updates server state and notifies clients of resource changes

Configuration

[TODO: Add configuration details specific to your implementation]

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

Development/Unpublished Servers Configuration ``` "mcpServers": { "mitmproxy-mcp": { "command": "uv", "args": [ "--directory", "/Users/lucas/Coding/mitmproxy-mcp", "run", "mitmproxy-mcp" ] } } ```
Published Servers Configuration ``` "mcpServers": { "mitmproxy-mcp": { "command": "uvx", "args": [ "mitmproxy-mcp" ] } } ```

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You’ll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

npx @modelcontextprotocol/inspector uv --directory /Users/lucas/Coding/mitmproxy-mcp run mitmproxy-mcp

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers