Quartz Sharepoint
БесплатноНе проверенMirrors a SharePoint document library to disk and enables AI assistants to search it via natural language queries using opencode.
Описание
Mirrors a SharePoint document library to disk and enables AI assistants to search it via natural language queries using opencode.
README
An MCP server that mirrors a SharePoint document library to disk and lets AI assistants search it via the Model Context Protocol.
How it works
- On startup, all files under your configured SharePoint path are downloaded locally.
- A background thread polls Microsoft Graph for changes every
POLL_INTERVALseconds, keeping the mirror in sync. - A single MCP tool —
search_sharepoint(query)— runsopencodeagainst the local files and returns the result.
SharePoint (Graph API) → local mirror → opencode → MCP client
Prerequisites
- Python 3.11+
- opencode in your
PATH - An Azure AD App Registration with
Sites.Read.All(or equivalent) granted as an application permission
Setup
# 1. Install dependencies
pip install -r requirements.txt
# 2. Configure environment
cp .env.example .env
# Fill in your Azure and SharePoint credentials
# 3. Run
python server.py
The server starts on http://0.0.0.0:8001 by default.
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
AZURE_TENANT_ID |
✓ | — | Azure AD tenant ID |
AZURE_CLIENT_ID |
✓ | — | App registration client ID |
AZURE_CLIENT_SECRET |
✓ | — | App registration client secret |
SHAREPOINT_HOSTNAME |
✓ | — | e.g. yourorg.sharepoint.com |
SHAREPOINT_SITE_PATH |
✓ | — | e.g. /sites/YourSite |
SHAREPOINT_ROOT_PATH |
✓ | — | Folder path within the site |
AUTH_TOKENS |
✓ | — | Bootstrap tokens: label:token,... |
ADMIN_USERNAME |
✓ | — | Admin panel username |
ADMIN_PASSWORD |
✓ | — | Admin panel password |
ADMIN_JWT_SECRET |
✓ | — | Secret for admin JWT signing |
Endpoints
| Path | Description |
|---|---|
GET / |
Admin UI (token management) |
POST /mcp |
MCP streamable-HTTP endpoint (bearer auth required) |
/admin/api/* |
Admin REST API |
MCP tool
search_sharepoint — accepts a natural-language query, runs it against the local mirror via opencode, and returns the answer as plain text.
To connect from an MCP client:
{
"mcpServers": {
"sharepoint": {
"url": "http://localhost:8001/mcp",
"headers": { "Authorization": "Bearer <your-token>" }
}
}
}
Admin panel
Visit http://localhost:8001 to manage bearer tokens — create, enable/disable, or revoke access without restarting the server.
Установка Quartz Sharepoint
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/husnainsr/quartz-mcp-sharepointFAQ
Quartz Sharepoint MCP бесплатный?
Да, Quartz Sharepoint MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Quartz Sharepoint?
Нет, Quartz Sharepoint работает без API-ключей и переменных окружения.
Quartz Sharepoint — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Quartz Sharepoint в Claude Desktop, Claude Code или Cursor?
Открой Quartz Sharepoint на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Quartz Sharepoint with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
