Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions frappe_mcp/server/server.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import json
import functools
from collections import OrderedDict
from collections.abc import Callable

Expand Down Expand Up @@ -102,6 +103,7 @@ def decorator(fn):

self._mcp_entry_fn = fn

@functools.wraps(fn)
def wrapper() -> Response:
# Runs wrapped dummy mcp handler before handling the request.
# This should import all the files with the registered mcp
Expand Down