Skip to main content

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.pyskills-registry.yaml loader
  • reader.pySKILL.md parse + LRU cache
  • search.py — rapidfuzz arama + trigger boost
  • health.py — registry, skills dir ve MCP tool health aggregation
  • telemetry.py — opt-in local JSONL telemetry stub
  • server.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pala_mcp-0.18.0a1.tar.gz (40.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pala_mcp-0.18.0a1-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

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

Hashes for pala_mcp-0.18.0a1.tar.gz
Algorithm Hash digest
SHA256 ccacd30e6d4aaa0d4ffb0b9aeabd0bdf143f65e837cdcc888a132017a02fc848
MD5 f9d53170d484d9e89ff09742005afd75
BLAKE2b-256 f54388a7a849bf3e71f8a8ba0183deaa32b4b3b6c17bb8359e2d396dc874f682

See more details on using hashes here.

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

Hashes for pala_mcp-0.18.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a6b5c29b04c3fec24a4c8eb1f0c1ffabb198b2fcb15a9c4c5a3d52ec9bb606a
MD5 b6d407510f3034a210e7cbb962e72c02
BLAKE2b-256 e37f15ae2930e67dd2b4ea4ea330f406ce9dda6eb280b793db3086564efba0a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page