Skip to content

ryansatj/MCP-Python

Repository files navigation

MCP client using Ollama

This is a simple MCP client that uses the Ollama API to get the latest MCP data.

It follows the MCP Client docs, but swaps out the Claude specific code for Ollama.

Only supports stdio transport for now.

Usage

Install the package in development mode:

git clone https://github.com/8LWXpg/ollama-mcp-client
cd ollama-mcp-client
uv venv
uv pip install -e .

Run the Streamable HTTP Server before running the client (The Streamable HTTP Server should run before the client running, or else the client will return error)

uv run httpserver/server.py

Run the Client

uv run examples/ollama_example.py examples/server.json

About

A basic MCP Server and Client with Adding Some server in STDIO like RAG and Zabbix implementation, and Adding Streamable HTTP Server also with modifying the client and container so it can accept streamable HTTP Server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages