Skip to content

Commit 5f1d5e3

Browse files
committed
fixed greet to keep it out of onboarding scenario
1 parent 026c9b9 commit 5f1d5e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/mcp_server/services/general_service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
General purpose MCP tools service.
33
"""
44

5-
from core.factory import MCPToolBase, Domain
6-
from utils.formatters import format_success_response, format_error_response
5+
from core.factory import Domain, MCPToolBase
76
from utils.date_utils import get_current_timestamp
7+
from utils.formatters import format_error_response, format_success_response
88

99

1010
class GeneralService(MCPToolBase):
@@ -17,8 +17,8 @@ def register_tools(self, mcp) -> None:
1717
"""Register general tools with the MCP server."""
1818

1919
@mcp.tool(tags={self.domain.value})
20-
def greet(name: str) -> str:
21-
"""Greets the user with the provided name."""
20+
def greet_test(name: str) -> str:
21+
"""Test for MCP - Greets the user with the provided name."""
2222
try:
2323
details = {
2424
"name": name,

0 commit comments

Comments
 (0)