Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion jadx_mcp_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import httpx
import logging
import argparse
import json

from typing import List, Union
from mcp.server.fastmcp import FastMCP
Expand Down Expand Up @@ -238,7 +239,10 @@ async def get_android_manifest() -> dict:
Returns:
Dictionary containing content of AndroidManifest.xml file.
"""
return await get_from_jadx("manifest")
manifest = await get_from_jadx("manifest")
if isinstance(manifest, str):
return json.loads(manifest)
return manifest

@mcp.tool(name="get_strings", description="Retrieve contents of strings.xml files that exists in application.")
async def get_strings() -> dict:
Expand Down