Android Security Analyzer
What it does
MCP server for static security analysis of Android source code
- Connects クラウドで動く
- Account or key No key needed
- Category 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/5 合格 · 質問内容は提供元のサーバー(android-security-analyzer.ako-labs.workers.dev)を通ります
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげます · 約 2 分
キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加
Claude の Connectors ページを開く
CustomizeConnectors
「+ Add」→「Add custom connector」を押し、この 2 つを入力
ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します
Name · 名前Android Security AnalyzerRemote MCP server URL · アドレスhttps://android-security-analyzer.ako-labs.workers.dev/mcpAuthentication は Claude が検出したままにして Add を押します
チャットで有効にする
+ConnectorsAndroid Security Analyzer
試してみる
Android Security Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Android Security Analyzer を使っていると言うか、回答に Android Security Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT は法人向けプランのみ接続できます
Web 版 ChatGPT Business・Enterprise・Edu で、ワークスペースの管理者かオーナーが追加します · Free・Plus・Pro の場合:あなたの ChatGPT プランではまだ MCP を自分でつなげません
Web 版 ChatGPT で MCP の追加ページを開く
Plugins+Add custom MCP server
名前とアドレスを入力
名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します
Name · 名前Android Security AnalyzerConnection · アドレスhttps://android-security-analyzer.ako-labs.workers.dev/mcpチャットで Android Security Analyzer を選ぶ
新しいチャットを開き、入力前にプラグインの一覧から Android Security Analyzer を選びます
試してみる
Android Security Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ ChatGPT が Android Security Analyzer を使っていると言うか、回答に Android Security Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Claude Code につなげます · 約 2 分
キー不要、インストール不要
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --transport http --scope user android-security-analyzer https://android-security-analyzer.ako-labs.workers.dev/mcpClaude Code で /mcp と入力
Android Security Analyzer が一覧にあり、接続済みと表示されれば OK です
試してみる
Android Security Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Android Security Analyzer を使っていると言うか、回答に Android Security Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげます · 約 2 分
キー不要、インストール不要
Cursor の AI チャットを Agent モードで開く
試してみる
Android Security Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Android Security Analyzer を使っていると言うか、回答に Android Security Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげます · 約 2 分
キー不要、インストール不要
VS Code の AI チャットを Agent モードで開く
試してみる
Android Security Analyzer を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Android Security Analyzer を使っていると言うか、回答に Android Security Analyzer のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
Web 経由でつなぐアプリ用のアドレス
https://android-security-analyzer.ako-labs.workers.dev/mcpJSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
Web 経由
Claude Code
claude mcp add --transport http --scope user android-security-analyzer https://android-security-analyzer.ako-labs.workers.dev/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"android-security-analyzer": {
"url": "https://android-security-analyzer.ako-labs.workers.dev/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"android-security-analyzer": {
"type": "http",
"url": "https://android-security-analyzer.ako-labs.workers.dev/mcp"
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
インターネット経由でつなげるアプリ
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
できること
ツールの名前と説明は、サーバーが2026年11月11日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。
analyze_android_projectAnalyzes an Android project's source code for security vulnerabilities. Accepts project files (AndroidManifest.xml, build.gradle, Java/Kotlin sources, XML configs) and returns a structured security report with findings, severity scores, and recommendations.
list_android_security_checksReturns the list of all implemented security checks/rules with their IDs, categories, severity levels, and descriptions.
explain_findingExplains a specific security finding by its rule ID. Returns why it is a risk, how to fix it, and false positive considerations.
healthReturns the server health status, version, and rule engine statistics.
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5794件のうち81%よりスターが多い
- このカテゴリのほかの5794件のうち5%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5794件のうち10%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Android Security Analyzerは安全ですか?
当てはまる基本チェック5項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
作者のクラウドで動きます。インストール不要でインターネット経由でつながりますが、送った内容は作者のサーバーを通ります。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は8 か月前、最新バージョン(1.0.0)がレジストリに届いたのは8 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP に対応したアプリでも使えます(例:ChatGPT Business 以上)。
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
Android Security Analyzer
MCP server for static security analysis of Android application source code. Runs on Cloudflare Workers as a remote MCP server over Streamable HTTP.
What it does
Analyzes Android project source files — without building the project — and returns a structured security report. The analysis covers:
- Manifest analysis — exported components, dangerous permissions, cleartext traffic, debug flags, backup settings, SDK versions
- Gradle/build config — release build misconfigurations, outdated SDKs, suspicious dependencies, hardcoded secrets
- Source code (Java/Kotlin) — insecure WebView, SSL/TLS bypass, weak crypto, SQL injection patterns, process execution, insecure file storage, PendingIntent issues
- XML configuration — network security config weaknesses, overly broad file provider paths
- Secret scanning — API keys, tokens, passwords, private keys, cloud credentials, high-entropy strings
All analysis is regex/pattern-based and runs natively in the Workers runtime with no external tools, Java, or Android SDK required.
Architecture
POST /mcp ──► McpServer (JSON-RPC 2.0) ──► Tool Router
│ ┌───────────────────────────────┘ ▼ Orchestrator │ ┌─────────┼─────────┬─────────────┬──────────────┐ ▼ ▼ ▼ ▼ ▼ Manifest Gradle Source Code XML Config Secret Analyzer Analyzer Analyzer Analyzer Scanner │ │ │ │ │ └─────────┴─────────┴─────────────┴──────────────┘ │ ▼ Scoring + Deduplication ──► AnalysisReport
Key design decisions:
- Stateless — no sessions, no Durable Objects
- Minimal MCP JSON-RPC 2.0 implementation (no heavy SDK dependencies)
- Data-driven rule engine with extensible rule registry
- Independent analyzers with unified Finding type
- Lightweight XML parsing via
fast-xml-parser - Input validation via
zod - Bundle size: ~66KB gzipped
MCP Tools
| Tool | Description |
|---|---|
analyze_android_project | Full security analysis of project files |
list_android_security_checks | List all implemented security rules |
explain_finding | Detailed explanation of a specific rule |
health | Server status and rule engine stats |
Install
Hosted server (recommended for Cline / MCP clients): no local install needed. The server runs at:
https://android-security-analyzer.ako-labs.workers.dev/mcp
Add this URL to your MCP client configuration (see Connecting from an MCP client below).
Local development:
npm install
Development
npm run dev
This starts a local Wrangler dev server. The MCP endpoint is available at http://localhost:8787/mcp.
Deploy
npm run deploy
Deploys to Cloudflare Workers. Requires wrangler authentication (npx wrangler login).
Testing
npm test # Run all tests
npm run test:watch # Watch mode npm run typecheck # TypeScript type checking
Local MCP Testing
Initialize the connection
Unix:
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
Windows (PowerShell):
(Invoke-WebRequest -Method Post -Uri "http://localhost:8787/mcp" -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' -UseBasicParsing).Content
List available tools
Unix:
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
Windows (PowerShell): ответ приходит в result.tools; чтобы увидеть список как JSON, используйте сырой ответ:
(Invoke-WebRequest -Method Post -Uri "http://localhost:8787/mcp" -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' -UseBasicParsing).Content
Либо через объект: (Invoke-RestMethod ...).result.tools | ConvertTo-Json -Depth 5
Check health
Unix:
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"health","arguments":{}}}'
Windows (PowerShell):
(Invoke-WebRequest -Method Post -Uri "http://localhost:8787/mcp" -ContentType "application/json" -Body '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"health","arguments":{}}}' -UseBasicParsing).Content
Run analysis (minimal example)
Unix:
curl -X POST http://localhost:8787/mcp \
-H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 4, "method": "tools/call", "params": { "name": "analyze_android_project", "arguments": { "projectName": "TestApp", "files": [ { "path": "app/src/main/AndroidManifest.xml", "content": " " } ] } } }'
Windows (PowerShell):
$body = @{
jsonrpc = "2.0" id = 4 method = "tools/call" params = @{ name = "analyze_android_project" arguments = @{ projectName = "TestApp" files = @( @{ path = "app/src/main/AndroidManifest.xml" content = " " } ) } } } | ConvertTo-Json -Depth 10 (Invoke-WebRequest -Method Post -Uri "http://localhost:8787/mcp" -ContentType "application/json" -Body $body -UseBasicParsing).Content
Connecting from an MCP client
Add to your MCP client configuration:
{
"mcpServers": { "android-security-analyzer": { "url": "http://localhost:8787/mcp" } } }
For production (hosted):
{
"mcpServers": { "android-security-analyzer": { "url": "https://android-security-analyzer.ako-labs.workers.dev/mcp" } } }
Security Rules
The analyzer implements 53 security rules across 5 categories:
| Category | Prefix | Rules | Examples |
|---|---|---|---|
| Manifest | MAN-* | 17 | debuggable, allowBackup, exported components, permissions |
| Gradle | GRD-* | 9 | release config, SDK versions, dependencies, secrets |
| Source | SRC-* | 17 | WebView, SSL/TLS, crypto, injection, file storage |
| XML Config | XML-* | 4 | network security config, file provider paths |
| Secret | SEC-* | 7 | API keys, tokens, passwords, cloud credentials |
Each finding includes:
- Stable rule ID
- Severity (critical/high/medium/low/info) and confidence (high/medium/low)
- File path and line number (when determinable)
- Evidence snippet
- CWE and OWASP Mobile Top 10 mappings
- Actionable recommendation
Scoring
Risk score (0-100) is computed from finding severities:
- Critical: 9 points
- High: 6 points
- Medium: 3 points
- Low: 1 point
- Info: 0 points
The raw sum is normalized against an expected maximum of 50 points.
Limitations
- Not a SAST replacement — pattern/regex-based heuristics, not full AST/dataflow analysis
- No build required — analyzes raw source, so build-time transforms are not visible
- False positives possible — especially for secret scanning and some code patterns
- Workers constraints — 128MB memory limit, CPU time limits, no filesystem access
- No APK/AAB analysis — source code only
- No inter-procedural analysis — patterns are matched per-file, not across call graphs
Project Structure
src/
├── index.ts # Worker entry point ├── server/ │ ├── mcp.ts # MCP JSON-RPC 2.0 handler │ └── tools/ # MCP tool implementations │ ├── analyzeAndroidProject.ts │ ├── listAndroidSecurityChecks.ts │ ├── explainFinding.ts │ └── health.ts ├── core/ │ ├── types.ts # TypeScript types & Zod schemas │ ├── scoring.ts # Risk score computation │ ├── registry.ts # Rule registry │ └── orchestrator.ts # Analysis orchestrator ├── analyzers/ │ ├── manifestAnalyzer.ts │ ├── gradleAnalyzer.ts │ ├── sourceAnalyzer.ts │ ├── xmlConfigAnalyzer.ts │ └── secretScanner.ts ├── parsers/ │ ├── xml.ts # XML parser wrapper │ ├── gradle.ts # Gradle file parser │ ├── source.ts # Source code pattern matcher │ └── files.ts # File classifier ├── rules/ │ ├── manifestRules.ts │ ├── gradleRules.ts │ ├── sourceRules.ts │ ├── xmlRules.ts │ └── secretRules.ts ├── mappings/ │ ├── cwe.ts # CWE descriptions │ └── owaspMobile.ts # OWASP Mobile Top 10 └── utils/ ├── lines.ts # Line number utilities ├── paths.ts # Path classification └── text.ts # Text utilities test/ ├── fixtures/ # Sample Android project files ├── unit/ # Unit tests per module └── integration/ # Full analysis integration tests
Adding New Rules
- Define the rule in the appropriate file under
src/rules/ - Add detection logic in the corresponding analyzer under
src/analyzers/ - Add CWE mapping in
src/mappings/cwe.tsif needed - Add a test case
- The rule is automatically registered via
src/core/registry.ts
License
MIT