Skip to main content

Ailtir MCP server — upload, analyse, list, and chat with knowledge bases

Project description

ailtir-mcp

An MCP server that gives Claude direct access to Ailtir's Knowledge Base platform. Upload documents, build a Bedrock-powered knowledge base, and run RAG chat — all from within your AI assistant.

Prerequisites

  • Python 3.13+ (or uv — no separate Python install needed with uvx)
  • An Ailtir account
  • An AILTIR_MCP_SECRET — copy your MCP Key from the Ailtir app (see Getting your secret)

Installation

uvx runs the server in an isolated environment with no install step — it is the recommended approach. You need uv installed (curl -LsSf https://astral.sh/uv/install.sh | sh).

Claude Code

claude mcp add ailtir uvx ailtir-mcp \
  -e AILTIR_MCP_SECRET=your-secret-here

Or add manually to .claude/settings.json:

{
  "mcpServers": {
    "ailtir": {
      "command": "uvx",
      "args": ["ailtir-mcp"],
      "env": {
        "AILTIR_MCP_SECRET": "your-secret-here"
      }
    }
  }
}

Claude Desktop

Add the following to your claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, %APPDATA%\Claude\ on Windows):

{
  "mcpServers": {
    "ailtir": {
      "command": "uvx",
      "args": ["ailtir-mcp"],
      "env": {
        "AILTIR_MCP_SECRET": "your-secret-here"
      }
    }
  }
}

Replace your-secret-here with the secret you copied in Step 1, then restart Claude Desktop.

Persistent install (optional)

If you prefer ailtir-mcp installed as a persistent global tool:

uv tool install ailtir-mcp

Then use ailtir-mcp as the command instead of uvx ailtir-mcp. pip install is not recommended — it installs into the active Python environment and can cause dependency conflicts.

Tools

Once connected, your AI assistant has access to the following four tools.

upload

Uploads a ZIP archive of documents to Ailtir storage and returns a kb_id.

upload(file_path: string) → kb_id: string
Parameter Description
file_path Absolute path to the ZIP file on your local machine, e.g. /Users/alice/docs/tender.zip

Returns a kb_id that you pass to analyse, list, and chat.


analyse

Unzips the uploaded archive and builds an AWS Bedrock Knowledge Base from its contents. Triggers the full ingestion pipeline — this typically takes a few minutes.

analyse(kb_id: string) → status: string
Parameter Description
kb_id The ID returned by upload

list

Lists all knowledge bases associated with your Ailtir account.

list() → string

Returns a formatted list of knowledge bases, each showing name, kb_id, and status (e.g. ready, analysing, failed).


chat

Asks a question answered using documents in a given knowledge base (retrieval-augmented generation via AWS Bedrock).

chat(kb_id: string, question: string) → answer: string
Parameter Description
kb_id The knowledge base to query
question Your natural-language question

Getting your secret

  1. Sign in to the Ailtir app
  2. Click your avatar or name to open the Account page
  3. Find the Secrets cell and click Reveal
  4. Copy the MCP Key — it starts with amcp_
  5. Paste it as AILTIR_MCP_SECRET in your client config (see Installation)

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ailtir_mcp-1.4.1.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ailtir_mcp-1.4.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file ailtir_mcp-1.4.1.tar.gz.

File metadata

  • Download URL: ailtir_mcp-1.4.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ailtir_mcp-1.4.1.tar.gz
Algorithm Hash digest
SHA256 e95707d250f43130a46acb796809082171325261b7e9ec10273e77e2c6dce0a6
MD5 71280b5e087ec4f1fdd662a10e7cca85
BLAKE2b-256 044bd1ae901f0a51db92d0766407cfa8d525ce5c78fa2b4f381bccd733d5943a

See more details on using hashes here.

File details

Details for the file ailtir_mcp-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: ailtir_mcp-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"25.10","id":"questing","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for ailtir_mcp-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea82290732db7416e179d6004ed528646365d27a545076479671f51a06411279
MD5 61e219c77d1c481acc2d1c1a61754ae7
BLAKE2b-256 1202d81be0e22d219d701fff3b689b0197af05d5cd50ec9cefe04d4209199b21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page