Skip to content

Commit 314ab15

Browse files
committed
Remove Smithery.ai
1 parent 45e48ac commit 314ab15

File tree

5 files changed

+1
-74
lines changed

5 files changed

+1
-74
lines changed

Dockerfile.MCP-Server

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN pip install \
1313
'uv>=0.8.5' \
1414
'mcpo>=0.0.17' \
1515
'fastmcp>=2.12.3' \
16-
'aiohttp>=3.12.15' \
17-
'smithery>=0.2.4'
16+
'aiohttp>=3.12.15'
1817

1918
CMD ["/bin/bash", "/app/scripts/mcp-server-docker-cmd.sh"]

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ requires-python = ">=3.12"
1111
dependencies = [
1212
"aiohttp>=3.12.15",
1313
"fastmcp>=2.12.3",
14-
"smithery>=0.2.4",
1514
]
1615

1716
[project.scripts]
@@ -28,6 +27,3 @@ include-package-data = true
2827
# Ensure non-Python resource files ship inside the wheel
2928
# You can broaden to ["*.md"] if more markdown resources are added later.
3029
mcp_ambari_api = ["prompt_template.md"]
31-
32-
[tool.smithery]
33-
server = "mcp_ambari_api.mcp_main:create_server"

smithery.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/mcp_ambari_api/mcp_main.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import argparse
88
from fastmcp import FastMCP
99
from fastmcp.server.auth import StaticTokenVerifier
10-
from smithery.decorators import smithery
1110
import os
1211
import importlib.resources as pkg_resources
1312
import asyncio # Add this import at the top of the file to use asyncio.sleep
@@ -3241,9 +3240,3 @@ def main(argv: Optional[List[str]] = None):
32413240
else:
32423241
logger.info("Starting stdio transport for local usage")
32433242
mcp.run(transport='stdio')
3244-
3245-
### Smithery Server Integration ###
3246-
@smithery.server()
3247-
def create_server() -> FastMCP:
3248-
"""Return the configured FastMCP server for Smithery deployments."""
3249-
return mcp

uv.lock

Lines changed: 0 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)