mcp-ollama-agent

Ollama Agent MCP Server

mcp-ollama-agent connects Ollama chat to filesystem tools through a TypeScript MCP client. It serves developers exploring tool-calling agents that inspect and modify local files from an interactive terminal session.

Server facts

mcp-ollama-agent

Project

Author
ausboss
License
Not specified

Tech

Runtime / language
Not specified
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
30
Last commit
Data as of

Tags

  • Ollama
  • agent
  • mcp agent
  • mcp client
  • mcp server
  • ollama tools

Overview

Local file exploration becomes a conversational workflow in mcp-ollama-agent, a TypeScript example connecting Ollama with the Filesystem MCP Server through the official MCP SDK. At startup, the application launches the configured server, establishes a connection, retrieves its tools, and makes them available to the agent before opening terminal chat. The demonstrated interaction moves from asking about a folder to reading a file inside it. Developers can use this project to study how prompts lead to filesystem tool requests rather than treating it as a standalone model service.

The supplied tool set covers text and media reading, batch reads, directory listings with sizes, recursive trees, pattern searches, and file metadata. Modification tools support creating directories, writing files, replacing matching lines, and moving or renaming paths. File writes can overwrite existing content, while edits return a diff. Configuration selects the server launch details, accessible directory path, Ollama host, and model. The model must support tool calling, and filesystem operations remain restricted to allowed directories; a separate tool reports those accessible locations.

mcp-ollama-agent setup notes

  • mcp-ollama-agent records stdio only; confirm a network transport upstream before planning remote access.
  • mcp-ollama-agent has no recorded license; confirm reuse terms in its repository.

Related MCP servers