From 6a0d649d30e90eb1be2291d349d180f96e543ccc Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Mon, 31 Mar 2025 11:43:56 -0400 Subject: [PATCH] fix: settings propagation (#19) Fixes: https://github.com/langchain-ai/mcpdoc/issues/17 --- mcpdoc/main.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mcpdoc/main.py b/mcpdoc/main.py index cc0bac7..278f99e 100644 --- a/mcpdoc/main.py +++ b/mcpdoc/main.py @@ -114,6 +114,7 @@ def create_server( Returns: A FastMCP server instance configured with documentation tools """ + settings = settings or {} server = FastMCP( name="llms-txt", instructions=( diff --git a/pyproject.toml b/pyproject.toml index aebcb84..27f7712 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "mcpdoc" -version = "0.0.7" +version = "0.0.8" description = "Server llms-txt documentation over MCP" readme = "README.md" license = "MIT"