ObjectLens MCP Server

ObjectLens MCP Server

Connects LLMs to the ObjectLens REST API, enabling browsing S3-compatible buckets, searching indexed object metadata, and previewing object contents.

Category
Visit Server

README

ObjectLens MCP Server

A Model Context Protocol (MCP) server that connects Large Language Models (LLMs) to the ObjectLens REST API. This allows AI assistants to browse S3-compatible buckets, search indexed S3 object metadata, and preview object contents directly.

Configuration

The server is configured using environment variables:

Environment Variable Description Default
OBJECTLENS_API_URL Base URL of the ObjectLens REST API http://localhost:8000
OBJECTLENS_USERNAME Username for HTTP Basic Authentication None
OBJECTLENS_PASSWORD Password for HTTP Basic Authentication None

Exposed Tools

The server exposes the following tools to the LLM:

  • list_providers: List configured S3 storage providers.
  • get_default_provider: Get connection details of the default/active provider.
  • list_buckets: List S3 buckets for a specific provider.
  • list_bucket_objects: List or search objects in a specific bucket with prefix and pagination.
  • get_object_metadata: Retrieve detailed metadata (size, content-type, ETag, etc.) of an object.
  • get_object_preview: Read the content/preview of an object (supports text, JSON, CSV, code, etc.).
  • search_objects: Query indexed metadata globally or scoped to a bucket.
  • scan_bucket: Trigger S3 bucket metadata scanning to sync metadata into ObjectLens database.
  • list_activities: Fetch recent activity logs/operations from ObjectLens.

Installation and Run

Run with UV

You can run the server directly using uv:

# From this directory
uv run python server.py

Or run it remotely:

uv run --path /path/to/objectlens/mcp-server/server.py

Docker

Build locally:

Build the Docker image:

docker build -t objectlens-mcp-server .

Run the container:

docker run -i --rm \
  -e OBJECTLENS_API_URL="http://host.docker.internal:8000" \
  objectlens-mcp-server

Pull from GHCR:

The image is automatically built and published to GitHub Container Registry (GHCR) on every push to the main branch or when a release tag (e.g., v1.0.0) is published.

To pull and run the pre-built image directly from GHCR:

docker run -i --rm \
  -e OBJECTLENS_API_URL="http://host.docker.internal:8000" \
  ghcr.io/<github-owner-or-org>/mcp-server:latest

(The -i flag is required because the MCP server communicates over standard input/output).

Integration

Claude Desktop

To integrate this server with Claude Desktop, add it to your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "objectlens": {
      "command": "uv",
      "args": [
        "run",
        "--path",
        "/path/to/objectlens/mcp-server/server.py"
      ],
      "env": {
        "OBJECTLENS_API_URL": "http://localhost:8000"
      }
    }
  }
}

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured