Skip to content
Back to skills

Litserve

ASecurity

"Serve custom AI APIs with LitServe, including general LitAPI and

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
devopspythongodockerapi

Works with

  • cli
  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill litserve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Litserve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Litserve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-litserve/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-litserve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: litserve
description: "Serve custom AI APIs with LitServe, including general LitAPI and
  LitServer workflows, OpenAI-compatible endpoints, MCP tools, and deployment
  helpers."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# LitServe

Use this skill when a request mentions LitServe, LitAPI, LitServer, /predict,
/v1/chat/completions, /v1/embeddings, /mcp/, client.py, dockerize, health/info/
shutdown routes, batching, streaming, auth, or multi-endpoint serving.

## Quick install

- Install the package with `pip install litserve`.
- Add optional extras only for the workflow you need: `fastmcp`, `Pillow`,
  `numpy`, `openai`, `httpx`, `asgi-lifespan`, `requests`, `python-multipart`,
  and `psutil`.
- Verify the installation with `scripts/smoke_import.py` or a clean
  `python -I -c "import litserve as ls; print(ls.__version__)"` check.

## Route map

| Task family | Read first |
| --- | --- |
| General serving, deployment, payloads, auth, middleware, clients, Docker | `sub-skills/server-basics/SKILL.md` |
| OpenAI-compatible chat completions and embeddings | `sub-skills/openai-specs/SKILL.md` |
| MCP tool exposure and streamable HTTP mounting | `sub-skills/mcp/SKILL.md` |

## Reference map

- [references/installation.md](references/installation.md): read for install
  options, optional extras, and smoke checks.
- [references/troubleshooting.md](references/troubleshooting.md): read for
  package-wide import, CLI, payload, auth, and deployment failures.
- [references/repo-provenance.md](references/repo-provenance.md): read when you
  need the source snapshot and staleness baseline.
- [references/repo-routing-metadata.json](references/repo-routing-metadata.json):
  structured metadata for repo-skills-router import.
- [scripts/smoke_import.py](scripts/smoke_import.py): run to print the import
  smoke report and core signatures.
- [scripts/smoke_server.py](scripts/smoke_server.py): run to launch the bundled
  minimal server and verify one request end to end.

## Shared notes

- The root skill is a router. Detailed workflows, validation tables, and
  troubleshooting belong in the subskills and bundled references.
- Do not point runtime instructions back to source-checkout paths.
- Prefer the root smoke script and the bundled subskill scripts before reopening
  the original repository.

## Good starting questions

- How do I serve a custom model or pipeline?
- How do I add batching, streaming, auth, or middleware?
- How do I expose an OpenAI-compatible chat or embedding endpoint?
- How do I expose an MCP tool from a LitAPI?
- How do I package a LitServe app for Docker or local deployment?

Files in this skill

  • SKILL.md2.6 KB
  • references/installation.md1.3 KB
  • references/repo-provenance.md976 B
  • references/repo-routing-metadata.json428 B
  • references/troubleshooting.md2.7 KB
  • scripts/smoke_import.py1.5 KB
  • scripts/smoke_server.py3.2 KB
  • sub-skills/mcp/SKILL.md3.8 KB
  • sub-skills/mcp/references/api-reference.md9.5 KB
  • sub-skills/mcp/references/troubleshooting.md8.4 KB
  • sub-skills/mcp/references/workflows.md7.6 KB
  • sub-skills/mcp/scripts/mcp_server.py3.2 KB
  • sub-skills/openai-specs/SKILL.md5.6 KB
  • sub-skills/openai-specs/references/api-reference.md10.1 KB
  • sub-skills/openai-specs/references/troubleshooting.md9.9 KB
  • sub-skills/openai-specs/references/workflows.md10.3 KB
  • sub-skills/openai-specs/scripts/openai_chat_server.py6.1 KB
  • sub-skills/openai-specs/scripts/openai_embedding_server.py3.8 KB
  • sub-skills/server-basics/SKILL.md3.5 KB
  • sub-skills/server-basics/references/api-reference.md14.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.