mirror of
https://github.com/hanzoai/python-sdk.git
synced 2026-10-23 20:23:00 +00:00
MCPServerConnection only spawned stdio servers, so an endpoint a process already serves - Next 16's /_next/mcp, vite-plugin-mcp's /__mcp/sse - had no client in this repo. MCPServerConfig now takes a url. connect lists the tools and call_tool calls one through the SDK's streamable HTTP or SSE client, a session per request, and returns the same JSON-RPC result the stdio path returns. A loopback URL skips TLS verification, since a local dev certificate is self-signed. A failed connect says why in .error. Claude-Session: https://claude.ai/code/session_01Dc8DXc3fEQCRHUa6XWK4Ku
34 lines
890 B
TOML
34 lines
890 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "hanzo-tools-mcp"
|
|
version = "0.3.1"
|
|
description = "MCP management tools for Hanzo AI - server management, dynamic proxy for external MCPs"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = { text = "MIT" }
|
|
authors = [{ name = "Hanzo Industries Inc", email = "[email protected]" }]
|
|
keywords = ["hanzo", "tools", "mcp", "ai", "proxy", "platform"]
|
|
dependencies = [
|
|
"hanzo-tools>=0.3.0",
|
|
"mcp>=1.25.0",
|
|
"fastmcp>=2.14.1",
|
|
"pydantic>=2.12.5",
|
|
"httpx>=0.27.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
platform = ["httpx>=0.27.0"]
|
|
|
|
[project.scripts]
|
|
hanzo-platform = "hanzo_tools.mcp_tools.platform_auth:cli"
|
|
|
|
[project.entry-points."hanzo.tools"]
|
|
mcp_tools = "hanzo_tools.mcp_tools:TOOLS"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["hanzo_tools*"]
|