What dependencies does MCPLite require?
Core dependencies are `pydantic` and `rich`. For web functionality, install `requests`, `beautifulsoup4`, and `markdownify`. The `chain-of-thought` package is recommended for stdio transport.
@acesanderson
基本情報
MCP client/server framework from scratch
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"MCPLite": {
"command": "python",
"args": [
"my_server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
MCPLite is a lightweight, pythonic implementation of the Model Context Protocol (MCP) for integrating external tools and data sources into LLM applications. It provides a decorator-based API inspired by FastAPI to turn any Python function into an MCP tool, resource, or prompt. It is designed for Python developers building MCP servers or connecting LLMs to external capabilities.
Install core dependencies (pydantic, rich) and optional ones for web functionality. Create an MCP server by instantiating MCPLite(transport="stdio") and decorating functions with @mcp.tool, @mcp.resource, or @mcp.prompt. Run the server with mcp.run(). For client orchestration, use the Host class; for interactive chat, use MCPChat. Built-in servers (e.g., fetch, obsidian) can be started via python -m MCPLite.servers.<name>.
Core dependencies are `pydantic` and `rich`. For web functionality, install `requests`, `beautifulsoup4`, and `markdownify`. The `chain-of-thought` package is recommended for stdio transport.
MCPLite supports stdio (production), direct (development), and SSE (web) transports. You specify the transport when creating the server: `MCPLite(transport="stdio")`.
Set the `OBSIDIAN_PATH` environment variable to your vault’s path. The server then runs sandboxed filesystem operations, searches, and metadata extraction within that vault.
Yes. Create a new Python file, instantiate `MCPLite`, and use the decorator pattern (`@mcp.tool`, etc.) to add tools, resources, or prompts. The server can then be run or imported.
Logging is configurable via the `MCPLITE_LOG_LEVEL` environment variable (e.g., `DEBUG`). By default, it logs at the configured level to standard output.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Painless E2E Automation for Mobile and Web
A search tool helps dev to solve the naming things problem.
🚀 The fast, Pythonic way to build MCP servers and clients.
YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
コメント