Mobile Core Generator does not embed a language model. What it does offer, since 1.6.0, is a local MCP server built into the same Go core as the GUI and the CLI: gtpcore mcp. Your own assistant — Claude Desktop, Cursor, or another MCP client — calls deterministic tools. Every fact about a capture still comes from the session tracker, so the answer can cite session IDs, frame numbers and 3GPP references.
This article is a practical setup and a map of the tools as of 1.19.4. The program works fully without any AI. The browser Community edition does not include the MCP server; this is a desktop workflow. Keep live tools on an authorized, isolated lab network. Never point them at a production or third-party system.
Start the server from Claude Desktop
Nothing extra has to be installed. Point the client at gtpcore-1.19.4.exe in the folder where you unpacked the package, and at a captures folder you control:
- Note the path of
gtpcore-1.19.4.exeand choose a working folder, for exampleC:\Captures. - In Claude Desktop open Settings > Developer > Edit Config. That opens
claude_desktop_config.json. The usual location is%APPDATA%\Claude\. The Microsoft Store build keeps it under%LOCALAPPDATA%\Packages\Claude_…\LocalCache\Roaming\Claude\. - Add a
loosha-mobile-coreentry undermcpServers. Use\\in JSON paths. Changecommandto your unpackedgtpcore-1.19.4.exeand-rootto your captures folder. Iflicense.licis not next to gtpcore, setLOOSHA_LICENSEinenv. A packaged example isclaude_desktop_config.example.jsonin the AI folder of the release. - Quit Claude Desktop completely (tray icon > Quit; closing the window is not enough) and start it again.
- In a new chat the tools icon lists the
loosha-mobile-coretools. Prompt templates appear in the attachment menu.
{
"mcpServers": {
"loosha-mobile-core": {
"command": "C:\\path\\to\\gtpcore-1.19.4.exe",
"args": ["mcp", "-root", "C:\\Captures"]
}
}
}
Add "-read-only" to args if the assistant must not write files or start live runs. Cursor uses the same command / args block. Relative capture names are resolved inside -root; paths outside that folder are refused. Every tool call is appended to an audit log (%AppData%\Loosha\mcp-audit.jsonl by default; -audit none disables it).
What you can ask for, and which edition it needs
Community Edition lists only the reading tools and analyses the first 100 sessions in detail (the tools say so in a note). Full Edition lists the writing and live tools as well. A writing tool is two-step: the first call returns confirmation_required, a summary and a one-time confirm_token (valid five minutes, bound to the exact arguments). The client must show you the plan and repeat the identical call with the token before anything is written.
| Tool | Edition | Role |
|---|---|---|
sessions_list, session_details, violations, flow_graph | Community | Session summary, one session's bearers and frames, violations with a 3GPP ref, message ladder |
ie_query | Community | Messages and sessions that carry — or lack — a PFCP or GTPv2-C IE (since 1.19.2) |
kpi_report | Community | Per-procedure success rate, causes, latency p50/p95/p99 |
scenario_catalog | Community | Generator scenarios with interfaces, required fields, options; since 1.19.4 also toggles, defaults and search (for example search=LBI or search=CHID) |
export_session, generate_pcap, generate_scenario, kpi_report_export, generate_sbi_e2e | Full, confirmation | Write a PCAP or a report inside -root |
pfcp_live, gtpv2_live, ngap_live | Full, confirm=true plus confirmation | Live SMF→UPF, MME→SGW-C, or gNB→AMF (ngap_live needs the Linux/WSL core) |
Prompt templates investigate_session, summarize_violations, compare_handover and kpi_latency tell the model which tools to call and to cite frames and clauses. Calls time out (two minutes, or 30 minutes for generation) and results are capped at 2 MiB. Strings taken from a capture are untrusted data; the server tells the model not to follow instructions found in them.
A practical workflow
- Put a capture in the
-rootfolder, or generate one first from the GUI / CLI if you are on Community Edition. - Ask, for example: "Use loosha-mobile-core: list the sessions in C:\\Captures\\core.pcap and explain why any failed. Cite frames and 3GPP clauses."
- For IE-level questions: "Which PFCP sessions in n4.pcap have no User ID (IE 141) in the Session Establishment Request?" That should call
ie_query. - For catalogue questions: "Search the scenario catalog for LBI and tell me how to generate and then verify a multi-PDN dedicated bearer." Since 1.19.4,
scenario_catalogreturns matching scenarios and edge-case toggles, including how to see each one inviolationsorie_query. - Only with Full Edition, and only after you have read the plan: generate a scenario or export one session. A live run also needs
confirm=true, and a non-loopback peer needsallow_remote=true. The assistant must not start or repeat a live run on its own.
HTTP mode, and clients that cannot start a local program
Claude Desktop and Cursor start gtpcore mcp themselves over stdio. Clients that only accept a remote HTTPS MCP server can use gtpcore mcp -http 127.0.0.1:8765 -root C:\\Captures -read-only (endpoint /mcp). A bearer token is created in %AppData%\Loosha\mcp-token and is never printed. The server listens on loopback unless you pass -allow-remote. A public HTTPS tunnel puts the tools on the internet behind that token — do it only deliberately, and prefer -read-only.
Editions
Mobile Core Generator has a Community Edition, free for non-commercial evaluation, learning and compact lab scenarios (up to 100 subscribers/sessions, with send-to-network capped at 1000 packets/s). The Full Edition is a one-time $89 license. It removes those limits and adds response matching (probe) and a conformance suite with HTML/JSON reports. The current release is 1.19.4. It runs on Windows 10/11 64-bit, and a Linux build is available upon request. Session tracking in Community reports the first 100 sessions in detail.
Explore Mobile Core Generator →
FAQ
Does Community Edition work with Claude?
Yes, for reading. You can list sessions, inspect violations, query IEs, read the scenario catalog and ask for a KPI report. Generating a PCAP through generate_scenario or starting pfcp_live needs the Full Edition and your confirmation.
Why does Claude not show the tools?
The usual causes are a wrong command path, a config that was not reloaded (the app was not fully quit from the tray), or the Microsoft Store config path being edited while you looked at a different claude_desktop_config.json.
Will the assistant send my captures to a cloud API?
The MCP server runs locally and does not upload the PCAP. The chat client may still send the conversation, including tool results, to its own service. Use -read-only, a dedicated -root, and avoid pasting production identifiers into the prompt.
Is this available in the browser edition?
No. The Web Community edition runs the same packet core in WebAssembly but does not expose gtpcore mcp. Use the desktop package for this workflow.