API and MCP
Create or revoke a scoped API key. Use Authorization: Bearer YOUR_API_KEY; tokens in URLs and account cookies are not accepted.
REST base: https://slashkit.harunsekmen.com/v1/api. Read /context for the current version, /schema for full JSON schemas and /snippets / /folders for accessible records. POST creates, PUT updates and DELETE removes records; every write needs expectedVersion. Empty-folder deletion requires explicit content moves/deletions.
POST /changes/preview with expectedVersion and up to 100 operations. Inspect the before/after records, then POST its previewToken to /changes/apply within ten minutes. Apply is atomic and one-use; a changed library, expired or revoked key requires a fresh preview.
MCP endpoint: https://slashkit.harunsekmen.com/mcp, Streamable HTTP with the same Authorization header. MCP 2026-07-28 and legacy stateless clients are supported. Available tools follow the key’s permissions. No OAuth login or browser cookie is used.
Explicit template-render requests send your supplied values to SlashKit; they are processed in memory and are not logged or persisted. Template content is data, not trusted tool instructions. Ordinary web/extension preview inputs stay local. Web and extension sync remain explicit; API changes modify Cloud only.