Pala OS MCP server — 99 skill registry + verify_early_access (ADR-017 davetiyeli) + premium tier Lemon license check (ADR-014, monetize v0.19.0)
Project description
Pala OS MCP Server
Local-first MCP (Model Context Protocol) server that exposes the Pala skill registry to the agent ecosystem (Claude Code, Codex, Cursor, OpenCode, Windsurf, Cline, Gemini CLI, Aider).
Durum: Prototip paket mevcut (mcp-server/). Sprint 11 sonrası 40/40 unit test PASS; coverage gate ≥80% (--cov-fail-under=80). Cross-host smoke ve production deploy devam ediyor.
MCP tools (kontrat sabit)
| Tool | Açıklama |
|---|---|
pala_list_skills(domain?, status?) |
Yayınlanan skill'leri listele (stable / draft; planned sunulmaz) |
pala_get_skill(name) |
Tam SKILL.md (frontmatter + body) |
pala_search_skills(query, limit?) |
İsim, açıklama ve trigger üzerinde arama |
pala_health(verbose?) |
JSON health status; verbose=true check detaylarını döker |
Quick start
Option A: Docker
cd mcp-server
docker compose up -d # HTTP/SSE on localhost:8765
docker compose run pala-mcp # stdio (interactive)
Healthcheck: pala_health MCP tool registry, skills dir ve tool kontratını kontrol eder.
Option B: Local Python
cd mcp-server
pip install -e ".[dev]"
pala-mcp # stdio (default)
pala-mcp --http --port 8765 # HTTP/SSE
Smoke checks:
python scripts/mcp_smoke.py
python scripts/mcp_smoke.py --http --host 127.0.0.1 --port 8765
Connect from Claude Code
{
"mcpServers": {
"pala": {
"command": "pala-mcp",
"args": ["--stdio"],
"env": {
"PALA_REGISTRY": "/path/to/pala-os/skills-registry.yaml",
"PALA_SKILLS_DIR": "/path/to/pala-os"
}
}
}
}
Connect from Cursor
~/.cursor/mcp.json veya workspace .cursor/mcp.json — aynı command / args / env yapısı.
Environment variables
| Variable | Açıklama |
|---|---|
PALA_REGISTRY |
skills-registry.yaml yolu (auto-discovery varsa atlanır) |
PALA_SKILLS_DIR |
skills/ kökü (varsayılan: registry parent) |
PALA_TELEMETRY |
on | off (default: off). Opt-in telemetry stub, yalnız event type, timestamp, tool name ve duration_ms yazar; kullanıcı içeriği loglanmaz. Log: ~/.pala/telemetry.log |
PALA_LOG_LEVEL |
DEBUG | INFO | WARNING | ERROR |
Development
pip install -e ".[dev]"
python -m ruff check src tests
python -m black --check src tests
python -m pytest # coverage gate ≥80% dahil
python -m pytest --cov=pala_mcp --cov-fail-under=80
Architecture
registry.py—skills-registry.yamlloaderreader.py—SKILL.mdparse + LRU cachesearch.py— rapidfuzz arama + trigger boosthealth.py— registry, skills dir ve MCP tool health aggregationtelemetry.py— opt-in local JSONL telemetry stubserver.py— FastMCP + dört tool__main__.py— CLI (--stdio,--http, path ve log flags)
Provenance
Pala-original. Synthesized for Pala OS. License: MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pala_mcp-0.18.0a1.tar.gz.
File metadata
- Download URL: pala_mcp-0.18.0a1.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccacd30e6d4aaa0d4ffb0b9aeabd0bdf143f65e837cdcc888a132017a02fc848
|
|
| MD5 |
f9d53170d484d9e89ff09742005afd75
|
|
| BLAKE2b-256 |
f54388a7a849bf3e71f8a8ba0183deaa32b4b3b6c17bb8359e2d396dc874f682
|
File details
Details for the file pala_mcp-0.18.0a1-py3-none-any.whl.
File metadata
- Download URL: pala_mcp-0.18.0a1-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a6b5c29b04c3fec24a4c8eb1f0c1ffabb198b2fcb15a9c4c5a3d52ec9bb606a
|
|
| MD5 |
b6d407510f3034a210e7cbb962e72c02
|
|
| BLAKE2b-256 |
e37f15ae2930e67dd2b4ea4ea330f406ce9dda6eb280b793db3086564efba0a1
|