Skip to content

Commit b80a4ca

Browse files
chore: daily sync of plugin metadata and READMEs [automated]
1 parent 2009fee commit b80a4ca

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

plugins/advanced-alchemy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ compatibility:
1616
litestar: '>=2.0.0'
1717
icon: advanced-alchemy.png
1818
stars: 777
19-
monthly_downloads: 426758
19+
monthly_downloads: 412824
2020
latest_version: 1.11.0
2121
updated_at: '2026-05-31T18:14:26'
2222
created_at: '2023-09-17T17:39:42'

plugins/litestar-htmx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ compatibility:
1616
litestar: '>=2.0.0'
1717
icon: litestar-htmx.svg
1818
stars: 12
19-
monthly_downloads: 1608248
19+
monthly_downloads: 1590604
2020
latest_version: 0.5.0
2121
updated_at: '2025-06-11T21:19:45'
2222
created_at: '2024-10-20T17:49:03'

plugins/litestar-vite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ compatibility:
1616
litestar: '>=2.0.0'
1717
icon: litestar-vite.svg
1818
stars: 34
19-
monthly_downloads: 64987
19+
monthly_downloads: 64926
2020
latest_version: 0.15.0
2121
updated_at: '2026-04-18T23:15:31'
2222
created_at: '2023-10-02T01:42:04'

readmes/litestar-mcp.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
# Litestar MCP Plugin
22

3-
A lightweight plugin that integrates Litestar web applications with the Model Context Protocol (MCP) by exposing marked routes as MCP tools and resources over MCP Streamable HTTP and JSON-RPC.
3+
A lightweight plugin that integrates Litestar web applications with the Model Context Protocol (MCP) by exposing marked routes as MCP tools, resources, and prompts over MCP Streamable HTTP and JSON-RPC.
44

55
[![PyPI - Version](https://img.shields.io/pypi/v/litestar-mcp)](https://pypi.org/project/litestar-mcp/)
66
[![Python Version](https://img.shields.io/pypi/pyversions/litestar-mcp)](https://pypi.org/project/litestar-mcp/)
77
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
88

99
## Overview
1010

11-
This plugin automatically discovers Litestar routes marked for MCP and exposes them through an MCP-native transport surface. Pass `mcp_tool="name"` or `mcp_resource="name"` straight through to `@get` / `@post` / etc. — Litestar funnels unknown kwargs into `handler.opt`, so no second decorator or `opt={...}` wrapper is needed.
11+
This plugin automatically discovers Litestar routes marked for MCP and exposes them through an MCP-native transport surface. Pass `mcp_tool="name"`, `mcp_resource="name"`, or `mcp_prompt="name"` straight through to `@get` / `@post` / etc. — Litestar funnels unknown kwargs into `handler.opt`, so no second decorator or `opt={...}` wrapper is needed. Standalone prompt callables that are not bound to an HTTP route can be registered through `LitestarMCP(prompts=[...])`.
1212

1313
## Features
1414

1515
- **Protocol-Native Transport** — MCP Streamable HTTP with JSON-RPC requests and SSE streams.
16-
- **Simple Route Marking** — pass `mcp_tool` / `mcp_resource` kwargs straight through to Litestar's route decorators.
16+
- **Three MCP Primitives** — tools, resources, *and* prompts, with `prompts/list` and `prompts/get` driven by the same handler discovery as the rest of the surface.
17+
- **Simple Route Marking** — pass `mcp_tool` / `mcp_resource` / `mcp_prompt` kwargs straight through to Litestar's route decorators, or register standalone prompts via `LitestarMCP(prompts=[...])`.
1718
- **RFC 6570 URI Templates**`mcp_resource_template="app://…/{var}"` dispatches concrete URIs to handlers with extracted vars.
1819
- **First-Class Descriptions** — structured `mcp_description`, `mcp_agent_instructions`, `mcp_when_to_use`, `mcp_returns` kwargs.
1920
- **Type Safe** — full type hints with dataclasses; `msgspec`-powered tool-argument validation.

0 commit comments

Comments
 (0)