Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Locus

БесплатноНе проверен

MCP server for Locus, a local semantic dataspace manager powered by Ollama. It exposes all Locus HTTP endpoints as MCP tools to manage dataspaces, ingest docume

GitHubEmbed

Описание

MCP server for Locus, a local semantic dataspace manager powered by Ollama. It exposes all Locus HTTP endpoints as MCP tools to manage dataspaces, ingest documents, and perform semantic search.

README

MCP server for Locus — a local semantic dataspace manager powered by Ollama.

Exposes all Locus HTTP endpoints as MCP tools so any MCP-compatible client (Claude Desktop, Cursor, etc.) can manage dataspaces, ingest documents, and run semantic search.

Requirements

  • Locus running locally or remotely
  • Node.js 18+

Installation

npm install -g @miguelaperez/locus-mcp --registry=https://npm.pkg.github.com

Or run directly with npx (package is on GitHub, not the npm registry):

npx github:MiguelAPerez/locus-mcp

Note: @miguelaperez/locus-mcp is a GitHub Packages package, not published to the public npm registry. Using npx @miguelaperez/locus-mcp (without github:) will fail unless you've configured your npm registry. Use github:MiguelAPerez/locus-mcp instead.

Configuration

Environment variable Default Description
LOCUS_URL http://localhost:8000 Base URL of the Locus API

MCP client setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "locus": {
      "command": "npx",
      "args": ["-y", "github:MiguelAPerez/locus-mcp"],
      "env": {
        "LOCUS_URL": "http://localhost:8000"
      }
    }
  }
}

Cursor / other clients

{
  "locus": {
    "command": "npx",
    "args": ["-y", "github:MiguelAPerez/locus-mcp"],
    "env": {
      "LOCUS_URL": "http://localhost:8000"
    }
  }
}

mcpo (HTTP proxy)

{
  "mcpServers": {
    "locus": {
      "command": "npx",
      "args": ["-y", "github:MiguelAPerez/locus-mcp"],
      "env": {
        "LOCUS_URL": "http://locus:8000"
      }
    }
  }
}

Tools

Spaces

Tool Description
list_spaces List all dataspaces
create_space Create a new dataspace
delete_space Delete a dataspace and all its documents

Documents

Tool Description
list_documents List all documents in a dataspace
ingest_document Ingest text into a dataspace
get_document Retrieve full text of a document by ID
delete_document Delete a document by ID

Search

Tool Description
search Semantic search over a dataspace (query, k, full)

Settings & health

Tool Description
health_check Check if Locus is reachable
get_settings Get current Ollama URL and embedding model
update_settings Update Ollama URL and/or embedding model

Development

npm install
npm run dev      # watch mode
npm test         # run tests
npm run build    # compile to dist/

License

MIT

from github.com/MiguelAPerez/locus-mcp

Установка Locus

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/MiguelAPerez/locus-mcp

FAQ

Locus MCP бесплатный?

Да, Locus MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Locus?

Нет, Locus работает без API-ключей и переменных окружения.

Locus — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Locus в Claude Desktop, Claude Code или Cursor?

Открой Locus на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Locus with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development