DumboDhruvi/ModelFit-MCP

v0.1.1
github
github Python analyzed 42d7d1a

Hardware-Aware Hugging Face Discovery, Memory Fitting, Empirical Benchmarking & Swappable Local Model Gateway for AI Agents

maintainer
DumboDhruvi
licence
MIT
first seen
2026-09-24
last seen
2026-09-24
releases · 30d
0
github stars
1 reported
short id

drift

No drift recorded — single capability capture; advisories appear once its surface changes.

inferred · capture-to-capture

capabilities

9 tools
transport stdio counts 9 tools · 0 res · 0 prompts permission surface via code analysis

tools

  • benchmark_models
  • ensemble_predict
  • find_ensemble_models
  • get_active_model_status
  • get_hardware_specs
  • get_integration_code
  • recommend_and_scaffold
  • search_compatible_models
  • swap_active_model

skills & danger signals

github-tarball
prompt-surface shipped agent-instruction files + hidden-content / dangerous-code findings — quoted from the analyzed source

analyzed commit 42d7d1a · analyzer v37 · 19h ago

skills & prompt files 1

code evidence

v0.1.1 · github-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

code files: 25

filesystem 1

  • fs src/modelfit/hardware.py :5 import shutil

shell / exec 1

  • shell src/modelfit/hardware.py :68 import subprocess

network 3

  • net src/modelfit/cli.py :6 import urllib.request
  • net src/modelfit/hf_client.py :4 import urllib.parse
  • net (weak) tests/test_hf_client.py :24 @patch("urllib.request.urlopen")

tool registrations 9

  • get_hardware_specs src/modelfit/server.py :165
  • search_compatible_models src/modelfit/server.py :173
  • swap_active_model src/modelfit/server.py :185
  • get_active_model_status src/modelfit/server.py :198
  • get_integration_code src/modelfit/server.py :206
  • recommend_and_scaffold src/modelfit/server.py :219
  • benchmark_models src/modelfit/server.py :230
  • find_ensemble_models src/modelfit/server.py :243
  • ensemble_predict src/modelfit/server.py :255

tool lists with unreadable names 1

  • py-tools-list-dispatch named:9 src/modelfit/server.py :300 elif method == "tools/list":

self-description: says it is an MCP server 1

  • smithery smithery.yaml startCommand:

server hint (code evidence, not proof) 1

  • hand-rolled src/modelfit/server.py :300 elif method == "tools/list":

declared dependencies 4

  • psutil@>=5.9.0
  • torch@>=2.0.0
  • transformers@>=4.36.0
  • pytest@>=7.0.0

perm:untrusted 2

  • untrusted src/modelfit/cli.py :115 data = json.loads(resp.read().decode("utf-8"))
  • untrusted src/modelfit/hf_client.py :39 data = json.loads(resp.read().decode("utf-8"))