mcp-otzaria-server

by Sivan22
Verified
2024-12-19 14:42:58,486 - jewish_library - ERROR - Server error: unhandled errors in a TaskGroup (1 sub-exception) + Exception Group Traceback (most recent call last): | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\server\stdio.py", line 83, in stdio_server | yield read_stream, write_stream | File "C:\dev\mcp-otzaria-server\src\jewish_library\server.py", line 169, in main | await server.run( | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\server\__init__.py", line 423, in run | async with ServerSession( | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\shared\session.py", line 122, in __aexit__ | return await self._task_group.__aexit__(exc_type, exc_val, exc_tb) | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\anyio\_backends\_asyncio.py", line 815, in __aexit__ | raise BaseExceptionGroup( | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\shared\session.py", line 235, in _receive_loop | notification = self._receive_notification_type.model_validate( | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\pydantic\main.py", line 627, in model_validate | return cls.__pydantic_validator__.validate_python( | pydantic_core._pydantic_core.ValidationError: 5 validation errors for ClientNotification | ProgressNotification.method | Input should be 'notifications/progress' [type=literal_error, input_value='cancelled', input_type=str] | For further information visit https://errors.pydantic.dev/2.10/v/literal_error | ProgressNotification.params.progressToken | Field required [type=missing, input_value={'requestId': 5, 'reason'... -2: Request timed out'}, input_type=dict] | For further information visit https://errors.pydantic.dev/2.10/v/missing | ProgressNotification.params.progress | Field required [type=missing, input_value={'requestId': 5, 'reason'... -2: Request timed out'}, input_type=dict] | For further information visit https://errors.pydantic.dev/2.10/v/missing | InitializedNotification.method | Input should be 'notifications/initialized' [type=literal_error, input_value='cancelled', input_type=str] | For further information visit https://errors.pydantic.dev/2.10/v/literal_error | RootsListChangedNotification.method | Input should be 'notifications/roots/list_changed' [type=literal_error, input_value='cancelled', input_type=str] | For further information visit https://errors.pydantic.dev/2.10/v/literal_error +------------------------------------ During handling of the above exception, another exception occurred: + Exception Group Traceback (most recent call last): | File "C:\dev\mcp-otzaria-server\src\jewish_library\server.py", line 168, in main | async with mcp.server.stdio.stdio_server() as (read_stream, write_stream): | File "C:\Users\Goldman\AppData\Roaming\uv\python\cpython-3.10.16-windows-x86_64-none\lib\contextlib.py", line 217, in __aexit__ | await self.gen.athrow(typ, value, traceback) | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\server\stdio.py", line 80, in stdio_server | async with anyio.create_task_group() as tg: | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\anyio\_backends\_asyncio.py", line 815, in __aexit__ | raise BaseExceptionGroup( | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Exception Group Traceback (most recent call last): | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\server\stdio.py", line 83, in stdio_server | yield read_stream, write_stream | File "C:\dev\mcp-otzaria-server\src\jewish_library\server.py", line 169, in main | await server.run( | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\server\__init__.py", line 423, in run | async with ServerSession( | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\shared\session.py", line 122, in __aexit__ | return await self._task_group.__aexit__(exc_type, exc_val, exc_tb) | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\anyio\_backends\_asyncio.py", line 815, in __aexit__ | raise BaseExceptionGroup( | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception) +-+---------------- 1 ---------------- | Traceback (most recent call last): | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\mcp\shared\session.py", line 235, in _receive_loop | notification = self._receive_notification_type.model_validate( | File "C:\dev\mcp-otzaria-server\.venv\lib\site-packages\pydantic\main.py", line 627, in model_validate | return cls.__pydantic_validator__.validate_python( | pydantic_core._pydantic_core.ValidationError: 5 validation errors for ClientNotification | ProgressNotification.method | Input should be 'notifications/progress' [type=literal_error, input_value='cancelled', input_type=str] | For further information visit https://errors.pydantic.dev/2.10/v/literal_error | ProgressNotification.params.progressToken | Field required [type=missing, input_value={'requestId': 5, 'reason'... -2: Request timed out'}, input_type=dict] | For further information visit https://errors.pydantic.dev/2.10/v/missing | ProgressNotification.params.progress | Field required [type=missing, input_value={'requestId': 5, 'reason'... -2: Request timed out'}, input_type=dict] | For further information visit https://errors.pydantic.dev/2.10/v/missing | InitializedNotification.method | Input should be 'notifications/initialized' [type=literal_error, input_value='cancelled', input_type=str] | For further information visit https://errors.pydantic.dev/2.10/v/literal_error | RootsListChangedNotification.method | Input should be 'notifications/roots/list_changed' [type=literal_error, input_value='cancelled', input_type=str] | For further information visit https://errors.pydantic.dev/2.10/v/literal_error +------------------------------------ 2024-12-19 14:43:05,665 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-19 14:43:05,666 - jewish_library - INFO - Search agent initialized 2024-12-19 14:43:05,666 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-19 14:43:05,667 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-19 14:43:05,667 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-19 14:43:05,668 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-19 14:43:05,669 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-19 14:45:42,337 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-19 14:45:42,337 - jewish_library - INFO - Search agent initialized 2024-12-19 14:45:42,337 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-19 14:45:42,337 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-19 14:45:42,338 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-19 14:45:42,338 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-19 14:45:42,340 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-19 14:45:42,355 - mcp.server - DEBUG - Received message: root=InitializedNotification(method='notifications/initialized', params=None, jsonrpc='2.0') 2024-12-19 14:45:42,356 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x00000160F0BADC60> 2024-12-19 14:45:42,356 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-19 14:45:42,356 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-19 14:45:42,357 - jewish_library - DEBUG - Handling list_tools request 2024-12-19 14:45:42,357 - mcp.server - DEBUG - Response sent 2024-12-19 14:45:42,358 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x00000160F0BADDE0> 2024-12-19 14:45:42,359 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-19 14:45:42,359 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-19 14:45:42,359 - jewish_library - DEBUG - Handling list_tools request 2024-12-19 14:45:42,360 - mcp.server - DEBUG - Response sent 2024-12-19 14:49:31,098 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-19 14:49:31,099 - jewish_library - INFO - Search agent initialized 2024-12-19 14:49:31,099 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-19 14:49:31,100 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-19 14:49:31,100 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-19 14:49:31,102 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-19 14:49:31,104 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-19 14:49:31,212 - mcp.server - DEBUG - Received message: root=InitializedNotification(method='notifications/initialized', params=None, jsonrpc='2.0') 2024-12-19 14:49:31,252 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000002BC6E91DC60> 2024-12-19 14:49:31,252 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-19 14:49:31,253 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-19 14:49:31,253 - jewish_library - DEBUG - Handling list_tools request 2024-12-19 14:49:31,255 - mcp.server - DEBUG - Response sent 2024-12-19 14:49:31,280 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000002BC6E91DDE0> 2024-12-19 14:49:31,281 - mcp.server - INFO - Processing request of type ListResourcesRequest 2024-12-19 14:49:31,282 - mcp.server - DEBUG - Response sent 2024-12-19 14:49:31,296 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000002BC6E91C820> 2024-12-19 14:49:31,296 - mcp.server - INFO - Processing request of type ListResourceTemplatesRequest 2024-12-19 14:49:31,297 - mcp.server - DEBUG - Response sent 2024-12-20 00:43:39,285 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-20 00:43:39,286 - jewish_library - INFO - Search agent initialized 2024-12-20 00:43:39,286 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-20 00:43:39,286 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-20 00:43:39,286 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-20 00:43:39,287 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-20 00:43:39,289 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-20 00:43:39,324 - mcp.server - DEBUG - Received message: root=InitializedNotification(method='notifications/initialized', params=None, jsonrpc='2.0') 2024-12-20 00:43:39,325 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001B0F0FBDCC0> 2024-12-20 00:43:39,325 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-20 00:43:39,325 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-20 00:43:39,326 - jewish_library - DEBUG - Handling list_tools request 2024-12-20 00:43:39,327 - mcp.server - DEBUG - Response sent 2024-12-20 00:43:39,330 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001B0F0FBDE40> 2024-12-20 00:43:39,331 - mcp.server - INFO - Processing request of type ListResourcesRequest 2024-12-20 00:43:39,331 - mcp.server - DEBUG - Response sent 2024-12-20 00:43:39,334 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001B0F0FBC880> 2024-12-20 00:43:39,334 - mcp.server - INFO - Processing request of type ListResourceTemplatesRequest 2024-12-20 00:43:39,334 - mcp.server - DEBUG - Response sent 2024-12-20 00:43:44,387 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-20 00:43:44,387 - jewish_library - INFO - Search agent initialized 2024-12-20 00:43:44,389 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-20 00:43:44,389 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-20 00:43:44,389 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-20 00:43:44,389 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-20 00:43:44,391 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-20 00:43:44,405 - mcp.server - DEBUG - Received message: root=InitializedNotification(method='notifications/initialized', params=None, jsonrpc='2.0') 2024-12-20 00:43:44,406 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001D36AC3DC60> 2024-12-20 00:43:44,406 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-20 00:43:44,406 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-20 00:43:44,406 - jewish_library - DEBUG - Handling list_tools request 2024-12-20 00:43:44,407 - mcp.server - DEBUG - Response sent 2024-12-20 00:43:44,409 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001D36AC3DDE0> 2024-12-20 00:43:44,409 - mcp.server - INFO - Processing request of type ListResourcesRequest 2024-12-20 00:43:44,410 - mcp.server - DEBUG - Response sent 2024-12-20 00:43:44,411 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001D36AC3C820> 2024-12-20 00:43:44,412 - mcp.server - INFO - Processing request of type ListResourceTemplatesRequest 2024-12-20 00:43:44,412 - mcp.server - DEBUG - Response sent 2024-12-20 00:44:24,023 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001D36AC3DB70> 2024-12-20 00:44:24,024 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:44:24,024 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:44:24,024 - jewish_library - DEBUG - Handling call_tool request for hello with arguments {'name': 'sivan'} 2024-12-20 00:44:24,025 - mcp.server - DEBUG - Response sent 2024-12-20 00:44:48,691 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001D36AC3D270> 2024-12-20 00:44:48,691 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:44:48,692 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:44:48,692 - jewish_library - DEBUG - Handling call_tool request for hello with arguments {'name': 'סיון'} 2024-12-20 00:44:48,692 - mcp.server - DEBUG - Response sent 2024-12-20 00:48:31,387 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-20 00:48:31,387 - jewish_library - INFO - Search agent initialized 2024-12-20 00:48:31,388 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-20 00:48:31,388 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-20 00:48:31,388 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-20 00:48:31,389 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-20 00:48:31,392 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-20 00:48:31,406 - mcp.server - DEBUG - Received message: root=InitializedNotification(method='notifications/initialized', params=None, jsonrpc='2.0') 2024-12-20 00:48:31,407 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FDC60> 2024-12-20 00:48:31,408 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-20 00:48:31,408 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-20 00:48:31,408 - jewish_library - DEBUG - Handling list_tools request 2024-12-20 00:48:31,409 - mcp.server - DEBUG - Response sent 2024-12-20 00:48:31,412 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FDDE0> 2024-12-20 00:48:31,412 - mcp.server - INFO - Processing request of type ListResourcesRequest 2024-12-20 00:48:31,412 - mcp.server - DEBUG - Response sent 2024-12-20 00:48:31,416 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FC820> 2024-12-20 00:48:31,416 - mcp.server - INFO - Processing request of type ListResourceTemplatesRequest 2024-12-20 00:48:31,416 - mcp.server - DEBUG - Response sent 2024-12-20 00:48:56,108 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FDB70> 2024-12-20 00:48:56,108 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:48:56,108 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:48:56,108 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'Shulchan Aruch סימן א'} 2024-12-20 00:48:56,109 - jewish_library - INFO - Searching with query: Shulchan Aruch סימן א 2024-12-20 00:48:56,109 - jewish_library - DEBUG - Executing search with query: Shulchan Aruch סימן א 2024-12-20 00:48:56,367 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: Shulchan Aruch סימן א 2024-12-20 00:48:56,367 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:48:56,367 - jewish_library - INFO - Found 1 results 2024-12-20 00:48:56,367 - jewish_library - DEBUG - Response text: Text: הן אמת שדעת הרמב"ם שצריך שיכרוך מטלית על הפרשות קודם שיתנם בבתים כמבואר בדבריו בפ"ג הלכה א' והל' ח' ע"ש38הלכות תפילין ס"ת ומזוזה ג:אשמונה הלכות יש במעשה התפילין כולן הלכה למשה מסיני ולפיכך כולן מעכבות ואם שינה באחת מהן פסל ואלו הם: שיהיו מרובעות וכן תפירתן ברבוע ואלכסונן ברבוע עד שיהיה להן ארבע זויות שוות ושיהיה בעור של ראש צורת שי"ן מימין ומשמאל ושיכרוך הפרשיות במטלית ושיכרוך אותן בשיער מעל המטלית ואח"כ מכניסן בבתיהן ושיהיו תופרין אותן בגידין ושעושין להן מעבורת מעור החפוי שתכנס בה הרצועה עד שתהא עוברת והולכת בתוך תובר שלה ושיהיו הרצועות שחורות ושיהיה הקשר שלהן קשר ידוע כצורת דל"ת:There are eight requirements in the making of tefillin. All of them are halachot transmitted to Moses on Mount Sinai - In Chapter 1:3, the Rambam mentioned that there were ten requirements for tefillin that were communicated as "halachot transmitted to Moses on Mount Sinai." The first two involve the actual composition of the tefillin. They, and the other laws involving that subject, were discussed in the first two chapters. Now the Rambam discusses the requirements involved in making the tefillin's compartments and straps. and, therefore, it is necessary to fulfill them all. If one deviates with regard to any of them, the [tefillin] are unacceptable. - Though a "halachah transmitted to Moses on Mount Sinai" is not written in the Torah itself, it is as binding upon us as those laws which are stated explicitly.They are: a) The tefillin must be square - There is a homiletic dimension to this requirement. Nothing is naturally square. Thus, this shape alludes to man's power of achievement. Wearing tefillin on our heads and opposite our hearts implies that we should exercise our powers of achievement when our minds and hearts are tied to God's mitzvot.The base of the tefillin must also be square. The Shulchan Aruch (Orach Chayim 32:39) states that this is also a halachah transmitted to Moses on Mount Sinai. Note Shulchan Aruch HaRav 32:59 and the Mishnah Berurah 32:181, which state that since the squareness of tefillin is a halachah transmitted to Moses on Mount Sinai, the tefillin must remain square at all times. If over the course of time, their shape changes, they may no longer be used. and must be sewn closed in a square. - See Halachah 10. [Both] diagonals - of the square on the top and the base of the tefillin must be equal - The commentaries cite Sukkah 8a, which states that the diagonal of a square is approximately 1.4 times the length of one of its sides. and thus all four angles will be equal. - Each one being 90 degrees. b) The leather of the head [tefillin] should have a shin embossed on both its right and left sides. - The passages should be wrapped in fabric. - d) A hair should be wound around that fabric. Afterwards, they should be placed in their compartment. e) They should be sewn [closed] with the sinews [of an animal]. f) The leather compartment in which they are placed should have a place for the straps to pass through so that they can be moved through the [tefillin's] handle. g) The straps should be black. h) The knot with which they are tied should be the renowned knot that is formed like a dalet. Note Shabbat 62a, which states that the knot of the arm tefillin, which is shaped like a yud, is also a halachah transmitted to Moses on Mount Sinaiהלכות תפילין ס"ת ומזוזה ג:חוכשמכניסין את הפרשיות בבתים שלהם כורכין אותן במטלית ועל המטלית שיער ואח"כ מכניסין אותן בבתיהן ושיער זה צריך להיות שיער בהמה או של חיה טהורה ואפילו מנבילות וטריפות שלהן וכבר נהגו כל העם לבורכן בשיער זנב העגלים: Before the passages are placed in their compartments, they should be wrapped in a fabric - The present custom is to use a piece of parchment (Shulchan Aruch, Orach Chayim 32:44). Although the Rambam considers this requirement to be a halachah transmitted to Moses on Mount Sinai, the Ashkenazic authorities do not agree. Accordingly, they maintain that, after the fact, if the passages are not wrapped in this parchment, the tefillin may still be used (Shulchan Aruch HaRav 32:68; Mishnah Berurah 32:205). The difference between the Rambam and the Ashkenazic authorities depends on their interpretation of a passage from the Jerusalem Talmud (Megilah, Chapter 1). This difference in interpretation is also reflected in the laws regarding correcting a torn Torah scroll. See Chapter 9, Halachah 15. and hair should be wound around them. Afterwards, they may be placed in their compartments. - All authorities agree that this is a halachah transmitted to Moses on Mount Sinai. The difference of opinion of whether it is necessary to wrap the tefillin in parchment has created a difficulty with regard to this obligation. The opinions which do not require that the tefillin be wrapped in parchment require that this hair be wrapped around the passages themselves. In contrast, the Rambam, who maintains that it is necessary to wrap them, obligates the hair to be placed around that wrapping.In practice, it is customary to satisfy both opinions and wrap the hair around the passages, cover them with a parchment, and then wrap the same hair around the parchment as well (Shulchan Aruch HaRav 32:69, Mishnah Berurah 32:209).This hair should be from a kosher species of animal or beast. - As explained in Chapter 1:10, all the elements required for tefillin must be made from species which may be eaten. Even when these animals died without being ritually slaughtered or were treifah, - wounded or possessing an illness that will cause them to die within a year. The meat of such an animal may not be eaten. [their hair is nevertheless acceptable]. - As explained in the commentary on the above-mentioned halachah, although these animals themselves may not be eaten, since they come from a kosher species, they are not disqualified. It has already become a universally accepted custom to wind hair from the tail - The hair from the tail is longer and easier to tie than the hair from the other portions of the body. of a calf - To recall the sin of the Golden Calf (Shimusha Rabbah). [around these parchments]. - Based on the Zohar (Parashat Bo), it is customary that the hair which is wound around the passage, V'hayah im shamo'a, be extended and protrude from the compartments slightly (Ramah, Orach Chayim 32:44).. Reference: נודע ביהודה מהדורא קמא , אורח חיים , א 2024-12-20 00:48:56,370 - mcp.server - DEBUG - Response sent 2024-12-20 00:49:02,764 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FD360> 2024-12-20 00:49:02,764 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:49:02,764 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:49:02,765 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'Shulchan Aruch סימן א הלכות'} 2024-12-20 00:49:02,765 - jewish_library - INFO - Searching with query: Shulchan Aruch סימן א הלכות 2024-12-20 00:49:02,765 - jewish_library - DEBUG - Executing search with query: Shulchan Aruch סימן א הלכות 2024-12-20 00:49:02,880 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: Shulchan Aruch סימן א הלכות 2024-12-20 00:49:02,881 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:49:02,881 - jewish_library - INFO - Found 1 results 2024-12-20 00:49:02,881 - jewish_library - DEBUG - Response text: Text: תוספות ד"ה אי ר' יוסי. שנות חיים צ"א. פנים מאירת חלק נ' סימן ויו. שונה הלכות ד' ע"ד. דבר שמואל סימן שמ"ח ידי משה קנ"ה ע"ג. גופי הלכות ק"י ע"א, מלך שלום ח"ב ד' ע"ב: Reference: ספר יד דוד , א , ברכות , טו , א 2024-12-20 00:49:02,881 - mcp.server - DEBUG - Response sent 2024-12-20 00:49:06,603 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FC5B0> 2024-12-20 00:49:06,603 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:49:06,603 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:49:06,604 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'שולחן ערוך אורח חיים סימן א'} 2024-12-20 00:49:06,604 - jewish_library - INFO - Searching with query: שולחן ערוך אורח חיים סימן א 2024-12-20 00:49:06,605 - jewish_library - DEBUG - Executing search with query: שולחן ערוך אורח חיים סימן א 2024-12-20 00:49:06,756 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: שולחן ערוך אורח חיים סימן א 2024-12-20 00:49:06,757 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:49:06,757 - jewish_library - INFO - Found 1 results 2024-12-20 00:49:06,757 - jewish_library - DEBUG - Response text: Text: (י) [י] בראש מגולה וכו'. כן כתב בית יוסף על מה שכתב אורח חיים שהר"מ מוחה לילך בסכין ארוך או עם כיסו לבית הכנסת וכו'. זה לשונו, והגיה עליו הרי"ף דאין לחוש כי אם בגילוי ראש, עד כאן. והוא תמוה דלא נזכר מידי בדברי ארחות חיים מגילוי ראש, ועיינתי בכלבו דף י' שהעתיקו בזה הלשון, מיהו אין לחוש כי אם בגילוי, עד כאן, וכן הוא בתשב"ץ סימן ר"ב. ופשוט לדעתי דקאי על סכין וכיסו דדוקא כשהם בגלוי אבל כשהם מכוסה מותר ולא איירי כלל מגילוי ראש, וזה תימא על בעלי שולחן ערוך ולבוש ואחרונים: Reference: אליה רבה על שלחן ערוך אורח חיים , סימן קנא 2024-12-20 00:49:06,758 - mcp.server - DEBUG - Response sent 2024-12-20 00:49:10,256 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FCA90> 2024-12-20 00:49:10,256 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:49:10,257 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:49:10,257 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'שולחן ערוך אורח חיים סימן א הלכה א'} 2024-12-20 00:49:10,257 - jewish_library - INFO - Searching with query: שולחן ערוך אורח חיים סימן א הלכה א 2024-12-20 00:49:10,257 - jewish_library - DEBUG - Executing search with query: שולחן ערוך אורח חיים סימן א הלכה א 2024-12-20 00:49:10,405 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: שולחן ערוך אורח חיים סימן א הלכה א 2024-12-20 00:49:10,405 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:49:10,405 - jewish_library - INFO - Found 1 results 2024-12-20 00:49:10,405 - jewish_library - DEBUG - Response text: Text: (א) [א] [לבוש] כאילו שואב וכו'. ולרמב"ם שיטה אחרת בסימן זה והסכים עמו בספר תורת חיים דף נ"ט ונחלת צבי סותר דבריו והסכים לשיטת שולחן ערוך ולבוש עיין שם: Reference: אליה רבה על שלחן ערוך אורח חיים , סימן שנא 2024-12-20 00:49:10,407 - mcp.server - DEBUG - Response sent 2024-12-20 00:49:14,256 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FD0F0> 2024-12-20 00:49:14,256 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:49:14,256 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:49:14,257 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'יתגבר כארי לעמוד בבוקר לעבודת בוראו'} 2024-12-20 00:49:14,257 - jewish_library - INFO - Searching with query: יתגבר כארי לעמוד בבוקר לעבודת בוראו 2024-12-20 00:49:14,257 - jewish_library - DEBUG - Executing search with query: יתגבר כארי לעמוד בבוקר לעבודת בוראו 2024-12-20 00:49:14,359 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: יתגבר כארי לעמוד בבוקר לעבודת בוראו 2024-12-20 00:49:14,359 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:49:14,359 - jewish_library - INFO - Found 1 results 2024-12-20 00:49:14,359 - jewish_library - DEBUG - Response text: Text: ולי נראה, דכ' באורח חיים סימן א': יתגבר כארי לעמוד בבוקר לעבודת בוראו, שיהיה הוא מעורר השחר. והקשה הט"ז, מה שייכות יש לזה, שהוא זריזות בפני עצמו, וביאר שם, יעו"ש. Reference: כתונת פסים , קדושים 2024-12-20 00:49:14,359 - mcp.server - DEBUG - Response sent 2024-12-20 00:49:19,053 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FD960> 2024-12-20 00:49:19,053 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:49:19,053 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:49:19,054 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'שולחן ערוך אורח חיים'} 2024-12-20 00:49:19,054 - jewish_library - INFO - Searching with query: שולחן ערוך אורח חיים 2024-12-20 00:49:19,054 - jewish_library - DEBUG - Executing search with query: שולחן ערוך אורח חיים 2024-12-20 00:49:19,083 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: שולחן ערוך אורח חיים 2024-12-20 00:49:19,084 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:49:19,084 - jewish_library - INFO - Found 1 results 2024-12-20 00:49:19,084 - jewish_library - DEBUG - Response text: Text: (א) [א] [לבוש] כאילו שואב וכו'. ולרמב"ם שיטה אחרת בסימן זה והסכים עמו בספר תורת חיים דף נ"ט ונחלת צבי סותר דבריו והסכים לשיטת שולחן ערוך ולבוש עיין שם: Reference: אליה רבה על שלחן ערוך אורח חיים , סימן שנא 2024-12-20 00:49:19,084 - mcp.server - DEBUG - Response sent 2024-12-20 00:53:59,176 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x000001AE6E8FC760> 2024-12-20 00:53:59,181 - mcp.server - INFO - Processing request of type CallToolRequest 2024-12-20 00:53:59,182 - mcp.server - DEBUG - Dispatching request of type CallToolRequest 2024-12-20 00:53:59,183 - jewish_library - DEBUG - Handling call_tool request for full_text_search with arguments {'query': 'שולחן ערוך אורח חיים סימן א'} 2024-12-20 00:53:59,183 - jewish_library - INFO - Searching with query: שולחן ערוך אורח חיים סימן א 2024-12-20 00:53:59,183 - jewish_library - DEBUG - Executing search with query: שולחן ערוך אורח חיים סימן א 2024-12-20 00:53:59,306 - jewish_library.tantivy_search_agent - INFO - Found 1 results for query: שולחן ערוך אורח חיים סימן א 2024-12-20 00:53:59,306 - jewish_library - DEBUG - Search completed: 1 results 2024-12-20 00:53:59,306 - jewish_library - INFO - Found 1 results 2024-12-20 00:53:59,306 - jewish_library - DEBUG - Response text: Text: (י) [י] בראש מגולה וכו'. כן כתב בית יוסף על מה שכתב אורח חיים שהר"מ מוחה לילך בסכין ארוך או עם כיסו לבית הכנסת וכו'. זה לשונו, והגיה עליו הרי"ף דאין לחוש כי אם בגילוי ראש, עד כאן. והוא תמוה דלא נזכר מידי בדברי ארחות חיים מגילוי ראש, ועיינתי בכלבו דף י' שהעתיקו בזה הלשון, מיהו אין לחוש כי אם בגילוי, עד כאן, וכן הוא בתשב"ץ סימן ר"ב. ופשוט לדעתי דקאי על סכין וכיסו דדוקא כשהם בגלוי אבל כשהם מכוסה מותר ולא איירי כלל מגילוי ראש, וזה תימא על בעלי שולחן ערוך ולבוש ואחרונים: Reference: אליה רבה על שלחן ערוך אורח חיים , סימן קנא 2024-12-20 00:53:59,313 - mcp.server - DEBUG - Response sent 2024-12-20 01:02:38,486 - jewish_library.tantivy_search_agent - INFO - Successfully opened Tantivy index at C:\dev\mcp-otzaria-server\index 2024-12-20 01:02:38,486 - jewish_library - INFO - Search agent initialized 2024-12-20 01:02:38,486 - mcp.server - DEBUG - Initializing server 'jewish_library' 2024-12-20 01:02:38,486 - mcp.server - DEBUG - Registering handler for ListToolsRequest 2024-12-20 01:02:38,486 - mcp.server - DEBUG - Registering handler for CallToolRequest 2024-12-20 01:02:38,487 - asyncio - DEBUG - Using proactor: IocpProactor 2024-12-20 01:02:38,489 - jewish_library - INFO - Starting Jewish Library MCP server... 2024-12-20 01:02:38,507 - mcp.server - DEBUG - Received message: root=InitializedNotification(method='notifications/initialized', params=None, jsonrpc='2.0') 2024-12-20 01:02:38,507 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x00000291E3D0DCC0> 2024-12-20 01:02:38,508 - mcp.server - INFO - Processing request of type ListToolsRequest 2024-12-20 01:02:38,508 - mcp.server - DEBUG - Dispatching request of type ListToolsRequest 2024-12-20 01:02:38,508 - jewish_library - DEBUG - Handling list_tools request 2024-12-20 01:02:38,509 - mcp.server - DEBUG - Response sent 2024-12-20 01:02:38,512 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x00000291E3D0DE40> 2024-12-20 01:02:38,512 - mcp.server - INFO - Processing request of type ListResourcesRequest 2024-12-20 01:02:38,512 - mcp.server - DEBUG - Response sent 2024-12-20 01:02:38,515 - mcp.server - DEBUG - Received message: <mcp.shared.session.RequestResponder object at 0x00000291E3D0C880> 2024-12-20 01:02:38,516 - mcp.server - INFO - Processing request of type ListResourceTemplatesRequest 2024-12-20 01:02:38,516 - mcp.server - DEBUG - Response sent 2024-12-23 14:38:18,906 - jewish_library - ERROR - Tool execution error: Unknown tool: get_text Traceback (most recent call last): File "C:\dev\mcp-otzaria-server\src\jewish_library\server.py", line 142, in handle_call_tool raise ValueError(f"Unknown tool: {name}") ValueError: Unknown tool: get_text 2024-12-24 00:25:10,456 - jewish_library - ERROR - Tool execution error: Missing arguments Traceback (most recent call last): File "C:\dev\mcp-otzaria-server\src\jewish_library\server.py", line 137, in handle_call_tool raise ValueError("Missing arguments") ValueError: Missing arguments