Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions hummingbot_mcp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ async def manage_gateway_clmm(
return f"Gateway CLMM Position Management Result: {result}"


async def main():
async def _run():
"""Run the MCP server"""
# Setup logging once at application start
logger.info("Starting Hummingbot MCP Server")
Expand All @@ -1158,5 +1158,10 @@ async def main():
await hummingbot_client.close()


def main():
"""Entry point for uvx/pip console_scripts."""
asyncio.run(_run())


if __name__ == "__main__":
asyncio.run(main())
main()
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "hummingbot_mcp"
version = "0.1.0"
version = "0.1.1"
description = "MCP server for Hummingbot API integration - manage crypto trading across multiple exchanges"
readme = "README.md"
requires-python = ">=3.11"
Expand Down Expand Up @@ -28,6 +28,7 @@ Repository = "https://github.com/hummingbot/mcp"
Issues = "https://github.com/hummingbot/mcp/issues"

[project.scripts]
hummingbot-mcp = "hummingbot_mcp:main"
mcp-hummingbot = "hummingbot_mcp:main"

[build-system]
Expand Down
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"url": "https://github.com/hummingbot/mcp",
"source": "github"
},
"version": "0.1.0",
"version": "0.1.1",
"packages": [
{
"registryType": "oci",
"registryBaseUrl": "https://docker.io",
"identifier": "hummingbot/hummingbot-mcp",
"version": "0.1.0",
"version": "0.1.1",
"transport": { "type": "stdio" },
"environmentVariables": [
{
Expand Down