Skip to content

Commit ebf4660

Browse files
committed
Remove Smithery.ai
1 parent 3f77935 commit ebf4660

File tree

5 files changed

+177
-408
lines changed

5 files changed

+177
-408
lines changed

Dockerfile.MCP-Server

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ RUN pip install \
1515
'fastmcp>=2.12.3' \
1616
'aiohttp>=3.12.0' \
1717
'openstacksdk>=3.3.0' \
18-
'python-dotenv>=1.0.0' \
19-
'smithery>=0.2.4'
18+
'python-dotenv>=1.0.0'
2019

2120
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
@@ -9,7 +9,6 @@ dependencies = [
99
"fastmcp>=2.12.3",
1010
"openstacksdk>=4.1.0,<=4.7.1",
1111
"python-dotenv>=1.1.1",
12-
"smithery>=0.2.4",
1312
]
1413

1514
[project.optional-dependencies]
@@ -30,6 +29,3 @@ where = ["src"]
3029

3130
[tool.setuptools.package-dir]
3231
"" = "src"
33-
34-
[tool.smithery]
35-
server = "mcp_openstack_ops.mcp_main:create_server"

smithery.yaml

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

src/mcp_openstack_ops/mcp_main.py

Lines changed: 0 additions & 190 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing import Any, Optional, Dict, List
66
from fastmcp import FastMCP
77
from fastmcp.server.auth import StaticTokenVerifier
8-
from smithery.decorators import smithery
98

109
# Add the current directory to sys.path for imports
1110
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
@@ -514,87 +513,6 @@ def main(argv: Optional[List[str]] = None) -> None:
514513
logger.error(f"Failed to start server: {e}")
515514
sys.exit(1)
516515

517-
518-
# =============================================================================
519-
# Additional MCP Tools - Enhanced Functionality
520-
# =============================================================================
521-
522-
# Identity (Keystone) Tools
523-
524-
525-
526-
527-
# Compute (Nova) Enhanced Tools
528-
529-
530-
531-
532-
533-
534-
# Network (Neutron) Enhanced Tools
535-
536-
537-
538-
539-
540-
541-
542-
543-
544-
545-
# Block Storage (Cinder) Enhanced Tools
546-
547-
548-
549-
550-
551-
552-
# Image Service (Glance) Enhanced Tools
553-
554-
555-
# Heat Stack Tools
556-
557-
558-
559-
560-
# =============================================================================
561-
# Read-only Tools (Always Available - Extracted from set_* functions)
562-
# =============================================================================
563-
564-
565-
566-
567-
568-
569-
570-
571-
572-
573-
574-
575-
576-
577-
578-
579-
580-
581-
582-
583-
584-
585-
586-
587-
588-
589-
590-
591-
592-
593-
594-
# =============================================================================
595-
# Main execution
596-
# =============================================================================
597-
598516
if __name__ == "__main__":
599517
import asyncio
600518

@@ -657,111 +575,3 @@ def main(argv: Optional[List[str]] = None) -> None:
657575
else:
658576
logger.error(f"Unknown transport type: {args.type}")
659577
sys.exit(1)
660-
661-
662-
663-
664-
665-
666-
667-
668-
669-
670-
671-
672-
673-
674-
675-
676-
677-
678-
679-
680-
681-
682-
683-
684-
685-
686-
687-
688-
689-
690-
691-
692-
693-
694-
695-
696-
697-
698-
699-
700-
# =============================================================================
701-
# LOAD BALANCER (OCTAVIA) TOOLS
702-
# =============================================================================
703-
704-
705-
706-
707-
708-
709-
710-
711-
712-
713-
714-
715-
716-
717-
718-
719-
720-
721-
722-
723-
724-
725-
726-
# ===== LOAD BALANCER L7 POLICY TOOLS =====
727-
728-
729-
730-
731-
732-
# ===== LOAD BALANCER AMPHORA TOOLS =====
733-
734-
735-
736-
737-
738-
# ===== LOAD BALANCER ADVANCED INFO TOOLS =====
739-
740-
741-
742-
743-
744-
745-
746-
747-
748-
# ===== LOAD BALANCER L7 RULE TOOLS =====
749-
750-
751-
752-
753-
754-
# ===== ADVANCED LOADBALANCER MANAGEMENT TOOLS =====
755-
756-
757-
758-
759-
760-
761-
### Smithery Server Integration ###
762-
@smithery.server()
763-
def create_server() -> FastMCP:
764-
"""Return the configured FastMCP server for Smithery deployments."""
765-
return mcp
766-
767-
# ===== MCP SERVER STARTUP =====

0 commit comments

Comments
 (0)