Skip to content
Back to search

zin-mcp-client

MCP Client which serves as bridge between mcp servers and local LLMs running on Ollama, Created for MCP Servers Developed by Me, However other MCP Servers may run as well

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/zinja-coder--zin-mcp-client/badge.svg)](/listings/zinja-coder--zin-mcp-client)

HTML

<a href="/listings/zinja-coder--zin-mcp-client"><img src="/api/listings/zinja-coder--zin-mcp-client/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

These steps run a script from the network that findsafeskills does not scan.

1. Downlaod from Releases: https://github.com/zinja-coder/zin-mcp-client/releases

# 1. 
unzip zin-mcp-client-<version>.zip

├zin-mcp-client/
  ├── zin_mcp_client.py
  ├── web_client.py
  ├── mcp_proxy.py
  ├── static/
  ├── src/
  ├── mcp-config.json
  ├── README.md
  ├── LICENSE

# 2. Navigate to zin-mcp-client directory
cd zin-mcp-client

# 3. This project uses uv (recommended) - https://github.com/astral-sh/uv instead of pip for dependency management.
    ## a. Install uv (if you dont have it yet) - (Only Required Step)
curl -LsSf https://astral.sh/uv/install.sh | sh

# All below steps are not required.
    ## b. OPTIONAL, if for any reasons, you get dependecy errors in jadx-mcp-server, Set up the environment
uv venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
    ## c. OPTIONAL Install dependencies
uv pip install -r requirements.txt

# 4. Not recommended, you can also use pip for this.
pip install -r requirements.txt
or
pip install -r requirements.txt --break-system-packages

# The setup for zin-mcp-client is done.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 336 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Archive note:
  2. **First of all thanks to everyone who supported this project. But I have to make it Read-Only and drop future developments due to below mentioned reasons:**
  3. - **Other Projects: I have to work on the other projects which are much more usefull**
  4. - **Resource Limitation: Due to limited time and resources, I am not able to add more features in it**
  5. - **Better Alternatives: Even if I work on this project and add many more features, the end result will not make sesnse as such features related to MCP client and all is already implemented in other alternatives, So I want to spend that time into other projects such Jadx AI MCP**
  6. - **Goal Achieved: The initial goal for this project is to make cli based lightweight MCP Client so I can test my MCP Servers. Adding more features will just make it something it is not intended to become. For example, the web ui update that I implemented but they are out of place as there already exist much better alternatives.**
  7. <div align="center">
  8. # ZIN-MCP-CLIENT (Part of Zin's MCP Suite)
  9. ⚡ Lightweight, Fast, Simple, Cross Platform, CLI, Web UI and Open Web UI based MCP Client for STDIO MCP Servers, to fill the gap and provide bridge between your local LLMs running Ollama and MCP Servers.
  10. ![GitHub contributors JADX-AI-MCP](https://img.shields.io/github/contributors/zinja-coder/zin-mcp-client)
  11. ![GitHub contributors JADX-MCP-SERVER](https://img.shields.io/github/contributors/zinja-coder/zin-mcp-client)
  12. ![GitHub all releases](https://img.shields.io/github/downloads/zinja-coder/zin-mcp-client/total)
  13. ![GitHub release (latest by SemVer)](https://img.shields.io/github/downloads/zinja-coder/zin-mcp-client/latest/total)
  14. ![Latest release](https://img.shields.io/github/release/zinja-coder/zin-mcp-client.svg)
  15. ![Python 3.10+](https://img.shields.io/badge/python-3%2E10%2B-blue)
  16. [![License](http://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
  17. </div>
  18. <!-- It is a still in early stage of development, so expects bugs, crashes and logical erros.-->
  19. <div align="center">
  20. <img alt="banner" height="480px" widht="620px" src="https://github.com/user-attachments/assets/0e8e0ecd-0520-422e-a007-03dc62c4118e">
  21. </div>
  22. Image generated using AI tools.
  23. ---
  24. ## 🤖 What is ZIN MCP Client?
  25. A powerful yet lightweight, fast, simple and flexible client for interacting with MCP (Model Context Protocol) servers through local LLMs. This tool allows you to connect to and utilize various tools from multiple MCP servers through an easy-to-use command-line interface.
  26. Watch the demos!
  27. - **Rich CLI interaction**
  28. https://github.com/user-attachments/assets/fad3d994-8113-47df-b10c-54541a5c3aec
  29. - **Perform Code Review to Find Vulnerabilities locally**
  30. https://github.com/user-attachments/assets/4cd26715-b5e6-4b4b-95e4-054de6789f42
  31. - **Plug n Play support for Open Web UI**
  32. https://github.com/user-attachments/assets/94e1ff33-0c88-40a8-8447-d9c3278a1d50
  33. - **Supports Multiple Servers - [GhidraMCP Server](https://github.com/LaurieWired/GhidraMCP)**
  34. https://github.com/user-attachments/assets/759f7138-1cc5-400f-b7e2-a6a7f0dca894
  35. - **Light Weight Web UI**
  36. https://github.com/user-attachments/assets/704c214b-0ebb-4da9-971c-5f04446e9646
  37. # Features
  38. - **Multi-Server Support:** Connect to multiple MCP servers simultaneously
  39. - **Local LLM Integration:** Use local LLMs via Ollama for privacy and control
  40. - **Interactive CLI:** Clean, intuitive command-line interface with rich formatting
  41. - **Minimal Light Weight Web UI:** Clean, minimal, lightweight web ui for ease of use
  42. - **Open Web UI Integration:** Plug n Play integration with [Open Web UI](https://github.com/open-webui/open-webui) to get rich features of [Open Web UI](https://github.com/open-webui/open-webui) with strong MCP Client
  43. - **Comprehensive Logging:** Detailed logs for debugging and troubleshooting
  44. - **ReAct Agent Framework:** Utilizes LangChain's ReAct agent pattern to intelligently invoke tools
  45. - **Cross Platform:** Cross Platform Support
  46. - **Simple, Fast, Lightweight:** It is simple, it is fast, it is lightweight
  47. ---
  48. # Check the Zin MCP Suite
  49. > [!NOTE]
  50. >
  51. > **This project is in active development**. Expect breaking changes with releases. Review the release changelog before updating.
  52. > |:--------------------------------|
  53. > This project is primarily built to used with local llm for personal small scale use only. Exposing this on network may pose security risk and thus not encouraged.
  54. > |:--------------------------------|
  55. > This project is mainly developed for Zin MCP Servers which are below mentioned MCP Servers, But support for other MCP Servers is there and testing is also done on other MCP Servers such as Ghidra
  56. - **[APKTool-MCP-Server](https://github.com/zinja-coder/apktool-mcp-server)**
  57. - **[JADX-MCP-Server](https://github.com/zinja-coder/jadx-mcp-server)**
  58. ## 🛠️ Getting Started
  59. ### 1. Downlaod from Releases: https://github.com/zinja-coder/zin-mcp-client/releases
  60. ```bash
  61. # 1.
  62. unzip zin-mcp-client-<version>.zip
  63. ├zin-mcp-client/
  64. ├── zin_mcp_client.py
  65. ├── web_client.py
  66. ├── mcp_proxy.py
  67. ├── static/
  68. ├── src/
  69. ├── mcp-config.json
  70. ├── README.md
  71. ├── LICENSE
  72. # 2. Navigate to zin-mcp-client directory
  73. cd zin-mcp-client
  74. # 3. This project uses uv (recommended) - https://github.com/astral-sh/uv instead of pip for dependency management.
  75. ## a. Install uv (if you dont have it yet) - (Only Required Step)
  76. curl -LsSf https://astral.sh/uv/install.sh | sh
  77. # All below steps are not required.
  78. ## b. OPTIONAL, if for any reasons, you get dependecy errors in jadx-mcp-server, Set up the environment
  79. uv venv
  80. source .venv/bin/activate # or .venv\Scripts\activate on Windows
  81. ## c. OPTIONAL Install dependencies
  82. uv pip install -r requirements.txt
  83. # 4. Not recommended, you can also use pip for this.
  84. pip install -r requirements.txt
  85. or
  86. pip install -r requirements.txt --break-system-packages
  87. # The setup for zin-mcp-client is done.
  88. ```
  89. ## 🤖 2. Ollama Setup
  90. <div align="center">
  91.   <a href="https://ollama.com">
  92. <img alt="ollama" height="200px" src="https://github.com/ollama/ollama/assets/3325447/0d0b44e2-8f4a-4e99-9b52-a5c1c741c8f7">
  93. </a>
  94. </div>
  95. ```bash
  96. 1. Download and Install ollama: https://ollama.com/download
  97. If you are on linux you can directly run below command to install it:
  98. > curl -fsSL https://ollama.com/install.sh | sh
  99. 2. Download and run any LLM that has capability to invoke tool.
  100. For example, the llama 3.1 has capability to invoke the tool.
  101. You can run it using following command:
  102. > ollama run llama3.1:8b
  103. [Note]: Kindly note the above command will fetch the model with 4b parameters. If you have stronger hardware kindly fetch higher parameter model for better performance.
  104. 3. Serve the Ollama on API server using following command
  105. > ollama serve
  106. This will serve the ollama api on port 1134, you can confirm that it running using `curl` command as following:
  107. > curl http://localhost:11434/ 18:54:00
  108. `Ollama is running`
  109. ```
  110. ## ⚙️ 3. Config File Setup
  111. The config file is the MCP Server configuration file that tells zin mcp client how to start the MCP Servers.
  112. It follows the same style as Claude's configuration file.
  113. Below is the sample configuration file for Zin MCP Suite Servers:
  114. ```json
  115. {
  116. "mcpServers": {
  117. "jadx-mcp-server": {
  118. "command": "/path/to/uv",
  119. "args": [
  120. "--directory",
  121. "/path/to/jadx-mcp-server/",
  122. "run",
  123. "jadx_mcp_server.py"
  124. ]
  125. },
  126. "apktool-mcp-server": {
  127. "command": "/path/to/uv",
  128. "args": [
  129. "--directory",
  130. "/path/to/apktool-mcp-server/",
  131. "run",
  132. "apktool_mcp_server.py"
  133. ]
  134. }
  135. }
  136. }
  137. ```
  138. Replace:
  139. - `path/to/uv` with the actual path to your `uv` executable
  140. - `path/to/jadx-mcp-server` with the absolute path to where you have stored the jadx-mcp-server
  141. > [!NOTE]
  142. >
  143. > The default location of config file is inside zin-mcp-client directory named `mcp-config.json`, however you can provide path to your own config file using `--config` option such as
  144. ```bash
  145. uv run zin_mcp_client.py --server jadx-mcp-server --model llama3.1:8b --config /home/zinjacoder/mcp-config.json
  146. ```
  147. ## Give it a shot
  148. 1. Run zin_mcp_client.py
  149. ```bash
  150. uv run zin_mcp_client.py
  151. ```
  152. 2. Use `--server` option to specify server of your choice, use `--config` option to provide path to your config file, use `--model` option to use specific model, use `--debug` to enable verbose output
  153. ## If something went wrong - DEBUG and Troubleshooting
  154. > [!NOTE]
  155. >
  156. > For low spec systems, use only one server at a time to avoid LLM hallucinations.
  157. 1. Look the logs:
  158. - All the logs and debug information and raw traffic and interactions are stored in logs in easy to read way, If anything goes wrong check the logs.
  159. 2. Debug Mode:
  160. - You can also use the `--debug` flag to enable debug to print each and every detail on console on runtime to help you find the issue.
  161. https://github.com/user-attachments/assets/ee478917-c4f5-46fb-9f0e-ad31d7c33ee0
  162. 3. Open Issue:
  163. - If you can not resolve the error on you own, use the logs and debug mode's output and provide them to us by opening an issue at https://github.com/zinja-coder/zin-mcp-client/issues
  164. ## Web Client
  165. 1. Done configuration mentioned above
  166. 2. Run web client using following:
  167. ```bash
  168. uv run web_client.py
  169. ```
  170. 3. Demo of the web client is shown in video at [top](https://github.com/zinja-coder/zin-mcp-client?tab=readme-ov-file#-what-is-zin-mcp-client)
  171. ## Setting up with Open Web UI
  172. ![openwebuilogo](https://avatars.githubusercontent.com/u/158137808?s=200&v=4)
  173. 1. Done configuration mentioned above.
  174. 2. Run the MCP Proxy using following:
  175. ```bash
  176. uv run mcp_proxy.py
  177. ```
  178. 3. Go to Open Web Ui portal.
  179. 4. In Open Web UI -> Settings -> Connection -> add new connection as shown in below image
  180. ![image](https://github.com/user-attachments/assets/07b49e4c-9818-4441-a9ee-4a7597749499)
  181. Add the URL for MCP Proxy running on port 8000 with localhost if running locally as shown in image. You can put anything in API key.
  182. 5. Now prompt and utilize the MCP client, Plug n Play setup.
  183. ![image](https://github.com/user-attachments/assets/51ca111e-7e57-4a30-baf9-e989faedf630)
  184. ---
  185. ## Current State Of Local LLM and MCPs:
  186. Currently, proprietary API-based models like Anthropic’s Claude tend to be more proficient proficient at tool calling.
  187. However, the open-source world is advancing rapidly! Models specifically fine-tuned on function calling datasets are becoming increasingly available through Ollama. Researching models tagged with `function calling` or `tool use` on platforms like Hugging Face or [checking discussions on communities like r/LocalLLaMA is key to finding capable local options.](https://www.reddit.com/r/LocalLLaMA/search/?q=Best+open+source+LLM+for+function+calling+mcp&cId=c72f65d2-d327-41b0-8e6d-73e889385cda&iId=795a5a92-245d-42d2-ae60-47dfff7dbef0)
  188. ---
  189. ## 🛣️ Future Roadmap
  190. - [x] Web UI
  191. - [x] Integrate with Open Web UI
  192. - [x] Add Support HTTP based MCP Servers - Because a lot servers provide a way to make their servers act as a STDIO based.
  193. - [x] Add support exposing this client on network as well, Indirectly for network access - done indirectly via open web ui integration
  194. - [x] Store chat locally and provide chat history - done indirectly via open web ui integration
  195. - [ ] **END-GOAL** : Make all reverse engineering MCP Servers, bring them together, to make reverse engineering as easy as possible purely from vibes.
  196. ## To report bugs, issues, feature suggestion, Performance issue, general question, Documentation issue.
  197. - Kindly open an issue with respective template.
  198. - Tested on Mac OS and Linux environment with jadx-mcp-server, Ghidra MCP Server
  199. ## 🙏 Credits
  200. This project is a possible due to [ollama](https://ollama.com/), an amazing utility to rung local LLMs. The [langchain](https://www.langchain.com/) project,
  201. And in last thanks to [@anthropics](https://github.com/anthropics) for developing the Model Context Protocol and [@FastMCP](https://github.com/modelcontextprotocol/python-sdk) team.
  202. Apart from this, huge thanks to all open source projects which serve as a dependencies for this project and which made this possible.
  203. ## 📄 License
  204. ZIN MCP Client and all related projects inherits the Apache 2.0 License.
  205. ## ⚖️ Legal Warning
  206. **Disclaimer**
  207. The tools `zin-mcp-client` and `zin mcp suite` are intended strictly for educational, research, and ethical security assessment purposes. They are provided "as-is" without any warranties, expressed or implied. Users are solely responsible for ensuring that their use of these tools complies with all applicable laws, regulations, and ethical guidelines.
  208. By using `zin-mcp-client` or `zin mcp suite`, you agree to use them only in environments you are authorized to test, such as applications you own or have explicit permission to analyze. Any misuse of these tools for unauthorized reverse engineering, infringement of intellectual property rights, or malicious activity is strictly prohibited.
  209. The developers of `zin-mcp-client` and `zin mcp suite` shall not be held liable for any damage, data loss, legal consequences, or other consequences resulting from the use or misuse of these tools. Users assume full responsibility for their actions and any impact caused by their usage.
  210. Use responsibly. Respect intellectual property. Follow ethical hacking practices.
  211. ---
  212. ## 🙌 Contribute or Support
  213. - Found it useful? Give it a ⭐️
  214. - Got ideas? Open an [issue](https://github.com/zinja-coder/zin-mcp-client/issues) or submit a PR
  215. - Built something on top? DM me or mention me — I’ll add it to the README!
  216. - Do you like my work and keep it going? Sponsor this project.
  217. ---
  218. Built with ❤️ for the reverse engineering and AI communities and all the awesome hackers and open source contributors around the world.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.