Ask m' AI: desktop LLM chat application that can run as an MCP server

Ask m' AI: desktop LLM chat application that can run as an MCP server

ask-mai•byrainu

A scriptable desktop chat application for large language models that can also be started as an MCP server, exposing its file, system and HTTP tools to other MCP-capable applications.

License: Not specified•Runtime: Awaiting documentation review•Category: ai agents-models

WHAT IT DOES

  • •Runs as an MCP server started via the ask-mai-mcp-server argument, or by renaming the binary to ask-mai-mcp-server.
  • •Can serve MCP over streamable HTTP when the -http-address flag is supplied.
  • •Exposes built-in tools for system information, environment variables, system time, file and directory operations, command execution, and HTTP calls.
  • •Lets users define their own custom tools that can be called from the LLM and served through MCP.

BEST FOR

  • •Giving other MCP-capable applications access to ask-mai's file, system and HTTP tools.
  • •Using a chat application to connect to multiple LLM providers and to define tools, including custom ones.
  • •Scripting chat interactions by configuring all settings via YAML, environment variables or command line arguments.

ABOUT ASK-MAI

Ask m' AI: desktop LLM chat application that can run as an MCP server is cataloged as an MCP server attributed to rainu. A scriptable desktop chat application for large language models that can also be started as an MCP server, exposing its file, system and HTTP tools to other MCP-capable applications. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Ask m' AI: desktop LLM chat application that can run as an MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can other applications use ask-mai's own tools through MCP?

Yes; running ask-mai as an MCP server allows other MCP-supporting applications to use its tools, including user-defined custom tools.

Can the MCP server be reached over HTTP?

Yes, the -http-address flag makes the MCP server run as a streamable HTTP server.

Upstream README

View this exact version on GitHub

README.md · 612d85eac5c8 · Fetched 2026-11-13 10:29:33 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Ask m' AI

Ask m' AI (ask my ai -> ask m' ai) is a little Desktop-Chat-Application for LargeLanguageModels (e.g. OpenAI's GPT).

Unlike many chat applications out there, this application aims to be scriptable. Which means you can call it from you terminal and gave all necessary options as arguments. The conversations will also be printed out in the terminal, so you can use it in your scripts.

https://github.com/user-attachments/assets/a6d16332-55a1-4866-9f3e-31490a488935

Quickstart

LocalAI

ask-mai -b localai --llm.localai.base-url=http://localhost:8080/v1 --llm.localai.model=gpt-4

OpenAI

ask-mai -b openai --llm.openai.api-key.plain=YOUR_OPENAI_API_KEY

Ollama

ask-mai -b ollama --llm.ollama.server-url=http://localhost:11434 --llm.ollama.model=llama3.2

Anthropic

ask-mai -b anthropic --llm.anthropic.api-key.plain=YOUR_ANTHROPIC_API_KEY

Mistral

ask-mai -b mistral --llm.mistral.api-key.plain=YOUR_MISTRAL_API_KEY --llm.mistral.model=mistral-small-latest

DeepSeek

ask-mai -b deepseek --llm.deepseek.api-key.plain=YOUR_DEEPSEEK_API_KEY

Google Gemini

ask-mai -b google --llm.google.api-key.plain=YOUR_GOOGLE_API_KEY

Features

  • Support different LLM provider
  • Tool Support
    • You can define your own tools which can be called from the LLM
    • There are some built-in tools:
      • "getSystemInformation" - Get some information about the system
      • "getEnvironment" - Read environment variables from the system
      • "getSystemTime" - Get the current system time
      • "getStats" - Get stats of a file or directory
      • "changeMode" - Changes the mode of file or directory
      • "changeOwner" - Changes the owner of file or directory
      • "changeTimes" - Changes the access and/or modification time of file or directory
      • "createFile" - Create a file on the system
      • "createTempFile" - Create a temporary file on the system
      • "appendFile" - Append content to an existing file
      • "readTextFile" - Read a text file from the system
      • "deleteFile" - Delete a file from the system
      • "createDirectory" - Creates a new directory on the system
      • "createTempDirectory" - Creates a new temporary directory on the system
      • "deleteDirectory" - Delete a directory from the system
      • "executeCommand" - Execute a command on the system
      • "callHttp" - Do a http call
  • Run as MCP-Server (see below)
    • Which allows you to use ask-mai' tools (even your custom tools) for other applications which support MCP-Server
  • MCP-Server support
    • You can define multiple MCP-Servers which can be used by the LLM (currently only tools)
  • Scriptable
    • All settings can be set via:
      • yaml configuration file
      • environment variables
      • command line arguments
    • The users questions and models answers will be printed out in the terminal
  • Customizable
    • Choose between two themes (light and dark)
    • Choose between different languages (english, german)
    • Choose between different code themes (see help for all available themes)

Install this application

AUR (Arch Linux)

yay -S ask-mai

Download this application

You can download the latest version of this application from the releases page. There are many different versions for different operating systems, architectures and feature sets.

The file names are structured as follows:

ask-mai-${OS}-${ARCH}-${FEATURE}.${EXTENSION}

Available OS:

  • darwin - MacOS
  • linux - Linux
  • windows - Windows

Available Architectures:

  • amd64 - 64bit
  • 386 - 32bit
  • arm64 - ARM 64bit

Available Features:

  • compressed - The binary is compressed (can be problematic for some antivirus software - especially on windows)
  • console - The binary is console application (only for windows)
  • debug - The binary contains devtools (you can inspect the GUI-Sources)

Start this application as mcp-server

You can start this application as an MCP server by using the ask-mai-mcp-server as first positional argument:

ask-mai ask-mai-mcp-server

Or you can rename the binary to ask-mai-mcp-server and start it like this:

ask-mai-mcp-server

Do run the MCP server as a streamable HTTP server, you can use the -http-address flag:

ask-mai ask-mai-mcp-server --http-address=":8080"

How to build this application

  1. Install dependencies see wails documentation
  2. Build the application:
wails build

How to build and install this application (flatpak) by yourself

flatpak-builder .flatpak-build de.rainu.ask-mai.yml --repo=.flatpak-repo --install-deps-from=flathub --force-clean --default-branch=master --arch=x86_64 --ccache
flatpak build-bundle .flatpak-repo ask-mai.flatpak --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo --arch=x86_64 de.rainu.ask-mai master
sudo flatpak install --reinstall ask-mai.flatpak

Application starts not fast enough

If the application does not start fast enough for your needs, you can get the prompt by your own and use the -ui-prompt flag to start the application with that prompt. Here is an example with rofi:

#!/bin/sh

PROMPT=$(rofi -dmenu -p "Ask-mAI" -l 0 -location 2)
if [ $? -ne 0 ]; then
    exit 1
fi

ask-mai -ui-prompt "${PROMPT}"

Contributing

If you use nix, you can use nix develop to enter a shell with all dependencies you need for contributing. The flake also utilises treefmt to format all *.nix and *.go files. This can be done with nix fmt and checked with nix flake check.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Ask m' AI: desktop LLM chat application that can run as an MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/ask-mai)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related ai agents-models MCP Servers

Alternative and complementary servers in the same category

View all in ai agents-models →
Knowledge Graph Memory
@modelcontextprotocol/server-memory•Model Context Protocol

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

create_entitiescreate_relationsadd_observations+6 more
92K
AI & Multi-Agent
Sequential Thinking
@modelcontextprotocol/server-sequential-thinking•Model Context Protocol

Organize problem solving into revisable, branching thought steps through an MCP tool.

sequential_thinking
92K
AI & Multi-Agent

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.

146
AI & Multi-Agent