1. Conduid
  2. AI
  3. LLM Tool Consumer
MCP server · AI

LLM Tool Consumer

Deterministic MCP Server & LLM Tool Consumer A robust implementation of the Model Context Protocol (MCP) using Python.

Unclaimed last commit 8 months ago ai
48Fair

Scored 5 months ago · breakdown

About LLM Tool Consumer

LLM Tool Consumer is an MCP server published by rashmip2102 in the AI category: deterministic MCP Server & LLM Tool Consumer A robust implementation of the Model Context Protocol (MCP) using Python.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/rashmip2102/MCP-Server-LLM-Tool-Consumer

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about LLM Tool Consumer

Powered by Claude · Grounded in docs

I know everything about LLM Tool Consumer. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

MCP-Server-LLM-Tool-Consumer

This project implements a robust bridge between a Deterministic Core (Python logic) and a Probabilistic Brain (Gemini LLM) using the Model Context Protocol (MCP) logic.

1. Technical Objective

The goal is to build a reliable microservice (the MCP Server) that performs logic without AI interference, while a smart but erratic LLM (the Client) identifies when to call those functions based on natural language input.


2. Architecture & Data Flow

The system follows a strict decoupling of responsibilities:

  1. Discovery: The Client queries the Server for available tools and resources via stdio.
  2. Planning: The Client passes the user's prompt and the tool's JSON schema to Gemini.
  3. Execution: Gemini returns a tool request; the Client executes it against the Server's deterministic logic.
  4. Final Response: The Client returns the raw tool result to the LLM for a natural language summary.

3. Tool & Resource Definitions

Tool: get_word_stats

  • Description: Analyzes a string to return word count, character count, and complexity.
  • Input Schema:
    {
      "text": "string"
    }
    
  • Deterministic Logic: Pure Python code; no AI calls inside.

Resource: mcp://config/info

  • Description: A static, read-only JSON data source containing system metadata.
  • Data: Versioning, author (Rashmi Priya), and system status.

4. Setup and Execution

Prerequisites

  • Python 3.10+
  • Google Generative AI SDK
    python -m pip install -U google-generativeai
    

Run Commands

  1. Deterministic Test (The "Remove the LLM" Test): Proves the server runs successfully without the LLM.
    python test_server.py
    
  2. Full System Run: Starts the bridge between the LLM and the Server logic.
    python client.py
    

5. Engineering Maturity Features

  • Defensive Validation: The server validates input types (e.g., ensuring text is a string) and returns structured JSON error messages if the LLM hallucinates arguments.
  • Boundary Logging: Full transparency of data moving between the Client and Server using INFO: and SERVER_LOG: markers.
  • Decoupled Logic: The server logic is completely usable without an LLM interface.

Developed by: Rashmi Priya (24BCE10054) Round: AI Club’s Tech Team Task Round

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About LLM Tool Consumer

How do I install LLM Tool Consumer?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is LLM Tool Consumer safe to use with an AI agent?

Its trust score is 48 out of 100 (fair). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is LLM Tool Consumer still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.