Weclapp Api Knowledge
БесплатноНе проверенA standalone MCP server for exploring the weclapp REST API v2, providing offline knowledge about entities, endpoints, and relationships, plus optional live GET
Описание
A standalone MCP server for exploring the weclapp REST API v2, providing offline knowledge about entities, endpoints, and relationships, plus optional live GET probes against a tenant.
README
A standalone Model Context Protocol server for researching the weclapp REST API v2. Use it from Cursor, Claude Desktop, or any MCP-compatible client to explore entities, endpoints, relationships, and filter syntax — and optionally validate read patterns against your own tenant.
Not affiliated with weclapp. This is an independent open-source project maintained by the community.
What it does
It combines:
- Offline API knowledge from
data/openapi_v2.json: entities, endpoints, fields, cross-schema relationships, filter syntax, and efficient read plans. - Bounded live probes against one weclapp tenant: read-only GET requests that validate plans, inspect real response structure, and diagnose API errors.
This is not a CRUD wrapper. Its main job is to answer: how should I communicate with the weclapp API, where does data live, and how do I fetch cross-schema data efficiently?
Knowledge tools work without credentials. Live probe tools require a read-only weclapp API token.
Tool groups
Knowledge tools:
search_knowledgeexplain_entityexplain_endpointget_relationshipsplan_cross_entity_readexplain_filter_syntaxcompare_approaches
Live probe tools (GET-only and bounded):
execute_read_planprobe_entity_sampleprobe_list_query
Analysis and validation tools:
analyze_response_structurecompare_to_schemavalidate_read_planvalidate_filterdiagnose_api_errorcheck_field_presence
See docs/TOOLS.md for parameter details and usage notes.
Requirements
- Python 3.11+
- uv (recommended) or pip
- Optional: Docker, for SSE transport via
mcp-remote - Optional: weclapp API credentials for live probes
Quick start
1. Clone and install
git clone https://github.com/serenmind/weclapp-api-knowledgebase-mcp.git
cd weclapp-api-knowledgebase-mcp
uv sync
2. Configure credentials (optional)
Live probe tools need a read-only weclapp token:
cp .env.example .env
# Edit .env and set WECLAPP_BASE_URL and WECLAPP_API_KEY
3. Run tests (optional)
uv run pytest
4. Connect your MCP client
Recommended — stdio with Cursor
Add to your Cursor MCP settings (.cursor/mcp.json or Cursor Settings → MCP):
{
"mcpServers": {
"weclapp-api-knowledge": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/weclapp-api-knowledgebase-mcp",
"run",
"weclapp-api-knowledge-mcp"
],
"env": {
"MCP_TRANSPORT": "stdio"
}
}
}
}
Add WECLAPP_BASE_URL and WECLAPP_API_KEY to env if you want live probes.
Alternative — Docker + SSE
cp .env.example .env
docker compose up --build
Then connect via mcp-remote:
{
"mcpServers": {
"weclapp-api-knowledge": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://localhost:8080/sse",
"--transport",
"sse-first"
]
}
}
}
More client examples: docs/CLIENT_SETUP.md.
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
WECLAPP_BASE_URL |
For live probes | — | Tenant API base, e.g. https://your-tenant.weclapp.com/webapp/api/v2 |
WECLAPP_API_KEY |
For live probes | — | Read-only API token |
WECLAPP_AUTH_HEADER |
No | AuthenticationToken |
Auth header name |
WECLAPP_OPENAPI_PATH |
No | data/openapi_v2.json |
Path to OpenAPI spec |
MCP_TRANSPORT |
No | stdio |
stdio or sse |
MCP_HOST |
No | 0.0.0.0 |
SSE bind host |
MCP_PORT |
No | 8080 |
SSE bind port |
WECLAPP_MAX_PAGE_SIZE |
No | 10 |
Max rows for list probes |
WECLAPP_REQUEST_TIMEOUT_SECONDS |
No | 30 |
HTTP timeout for live probes |
Safety model
- No write tools are exposed.
- Live probes only issue GET requests.
- List probes cap
pageSizewithWECLAPP_MAX_PAGE_SIZE(default: 10). - Credentials are read from environment only.
- The bundled OpenAPI file can be refreshed when weclapp updates v2.
Refreshing the OpenAPI spec
Replace data/openapi_v2.json with an updated weclapp v2 OpenAPI export, then restart the server. The MCP server reads and caches the spec directly at runtime.
Development
uv sync
uv run pytest
uv run ruff check src tests
MCP_TRANSPORT=stdio uv run weclapp-api-knowledge-mcp
License
MIT — see LICENSE.
Установка Weclapp Api Knowledge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/serenmind/weclapp-api-knowledgebase-mcpFAQ
Weclapp Api Knowledge MCP бесплатный?
Да, Weclapp Api Knowledge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Weclapp Api Knowledge?
Нет, Weclapp Api Knowledge работает без API-ключей и переменных окружения.
Weclapp Api Knowledge — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Weclapp Api Knowledge в Claude Desktop, Claude Code или Cursor?
Открой Weclapp Api Knowledge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Weclapp Api Knowledge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
