Skip to main content
Glama

mitmproxy-mcp MCP Server

by lucasoeth

extract_json_fields

Extract specific fields from JSON content in HTTP requests or responses using JSONPath expressions. Specify session, flow index, and content type to retrieve targeted data efficiently.

Instructions

Extract specific fields from JSON content in a flow using JSONPath expressions

Input Schema

NameRequiredDescriptionDefault
content_typeYesWhether to extract from request or response content
flow_indexYesThe index of the flow
json_pathsYesJSONPath expressions to extract (e.g. ['$.data.users', '$.metadata.timestamp'])
session_idYesThe ID of the session

Input Schema (JSON Schema)

{ "properties": { "content_type": { "description": "Whether to extract from request or response content", "enum": [ "request", "response" ], "type": "string" }, "flow_index": { "description": "The index of the flow", "type": "integer" }, "json_paths": { "description": "JSONPath expressions to extract (e.g. ['$.data.users', '$.metadata.timestamp'])", "items": { "type": "string" }, "type": "array" }, "session_id": { "description": "The ID of the session", "type": "string" } }, "required": [ "session_id", "flow_index", "content_type", "json_paths" ], "type": "object" }

Other Tools from mitmproxy-mcp MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasoeth/mitmproxy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server