mcp
Use liter-llm mcp reference documentation.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 266
- Forks
- 27
01 前言 Front Matter
- name
- mcp
- description
- Use liter-llm mcp reference documentation.
03 SKILL.md 正文
<!-- This file is auto-generated by alef — DO NOT EDIT. --> <!-- alef:hash:b284de2d4d7b58d2c9fabcd28373994279620f54d91dce8009d4c2c18921ff8c --> <!-- To regenerate: alef docs --> <!-- To verify freshness: alef verify -->
liter-llm MCP Reference
Use this skill when integrating liter-llm through Model Context Protocol tools, prompts, or resources.
cancel_batch: Cancel an in-progress batch processing jobcancel_response: Cancel an in-progress response (Responses API)chat: Send a chat completion request to an LLMcreate_batch: Create a new batch processing jobcreate_file: Upload a file to the LLM providercreate_response: Create a new response (Responses API)delete_file: Delete an uploaded fileembed: Generate text embeddings for the given inputfile_content: Retrieve the raw content of an uploaded filegenerate_image: Generate images from a text promptlist_batches: List batch processing jobslist_files: List uploaded fileslist_models: List available models from configured providersmoderate: Check content against moderation policiesocr: Extract text from an image or document via OCRrerank: Rerank documents by relevance to a queryretrieve_batch: Retrieve a batch processing job by IDretrieve_file: Retrieve metadata for an uploaded fileretrieve_response: Retrieve a response by ID (Responses API)search: Perform a web or document searchspeech: Generate speech audio from text (text-to-speech)transcribe: Transcribe audio to text (speech-to-text)
04 同仓库更多 Skills
liter-llm
Universal LLM API client for 174 providers with native bindings for 14 languages. Use when writing code that calls LLM APIs via liter-llm in Python, TypeScript, Rust, Go, Java, C#, Ruby, PHP, Elixir, WASM, or C, when running the OpenAI-compatible proxy, or when calling LLMs through the MCP server. Covers chat, streaming, tool calling, embeddings, image generation, speech, transcription, moderation, web search, OCR, reranking, provider routing, middleware, and configuration.
liter-llm-using-the-mcp-server
Use when calling LLM APIs through the liter-llm MCP server's 22 tools, and to decide when MCP beats the CLI or SDK. Covers the tool surface, the auto-installing launcher, and authentication.
liter-llm-tool-calling
Use when defining functions/tools for an LLM to call through liter-llm, or requesting structured JSON outputs. Covers tool schemas, tool_calls handling, and response formats.
liter-llm-streaming-responses
Use when streaming tokens incrementally from an LLM via liter-llm over SSE or async iterators. Covers chat_stream, delta handling, and null-content chunks.
liter-llm-running-the-proxy
Use when running the `liter-llm api` OpenAI-compatible gateway — virtual keys, per-key rate limits, budgets, cost tracking, and model routing. Covers the TOML config and the 22 REST endpoints.
liter-llm-embeddings-and-search
Use when generating embeddings, calling the 12 web-search providers, or running OCR over documents with the 4 OCR providers through liter-llm. Covers embed, search, and ocr methods plus reranking.