-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Sai Sravan Kathi edited this page Jun 6, 2026
·
4 revisions
Welcome to the MCP Explorer developer documentation!
MCP Explorer is a state-of-the-art, local-first agentic query interface built with Python and LangChain. It uses a ReAct (Reasoning and Acting) loop powered by local large language models (such as gemma4:e4b via Ollama) to autonomously invoke tools, query external APIs, search databases, and format results.
The system is equipped with Model Context Protocol (MCP) clients to connect to remote or local MCP servers dynamically and query resources in real time.
-
Local-First Agent Core: Run LLMs locally using Ollama (defaulting to the
gemma4:e4bmodel) with zero latency or remote API dependency. -
Dynamic Model Context Protocol (MCP) Loader: Automatically discover, load, and authenticate tools from multiple MCP servers dynamically using configurations in
mcpConfig.json. -
Standard Tools Extension: Load and dynamically configure parameters (like custom user agents or endpoints) for classic tools (Wikipedia, Arxiv) defined dynamically in
toolsConfig.json. - Interactive Chat UI: A responsive, real-time streaming web dashboard built using Chainlit for developer conversations.
- Observability Pipeline: Automatic tracking of every message, prompt, LLM invocation, tool execution, token usage, and error boundary using Langfuse.
-
Dockerized Stack: Run the entire systemβincluding database backends, workers, and visualization dashboardsβusing a simple
./docker-run.shscript.
The workflow follows a standard ReAct loop:
[User Inputs Query]
β
βΌ
[Chainlit App Session]
β
βΌ
[ReAct Agent] <βββ(Reads Configs: env / toolsConfig.json)
β
βββββββββ΄ββββββββ
βΌ βΌ
[Run Standard] [Run MCP Server]
[Tools] [Tools]
β β
βββββββββ¬ββββββββ
βΌ
[Agent Formulates] βββ(Callback)ββββΊ [Langfuse Traces Logged]
[Response]
β
βΌ
[Stream to UI]