We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/phuihock/mcp-talib'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
base.py•458 B
"""Base transport abstraction layer."""
from abc import ABC, abstractmethod
from typing import Any
from mcp.server import Server
class BaseTransport(ABC):
"""Abstract base class for transport implementations."""
def __init__(self, server: Server, debug: bool = False):
self.server = server
self.debug = debug
@abstractmethod
async def run(self) -> None:
"""Start the transport and server."""
pass