We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kelvingao/ibkr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
__init__.py•840 B
"""
ibkr_mcp package.
The main MCP server entry point is exposed as `ibkr_mcp.main`, so you can use
it as a console script target or run with `python -m ibkr_mcp`.
"""
from .server import mcp, serve # noqa: F401
# Import tools module explicitly so its @mcp.tool() decorators are registered.
# This happens after the server (and its `mcp` instance) is fully initialised,
# which avoids circular imports between server and tools.
from .mcp import tools as _tools # noqa: F401
# Import resources module so its mcp.add_resource() calls are executed.
from .mcp import resources as _resources # noqa: F401
# Re-export modules for backward compatibility
from .mcp import tools # noqa: F401
from .mcp import resources # noqa: F401
def main() -> None:
import asyncio
asyncio.run(serve())
if __name__ == "__main__":
main()