chore: align the hive tool names

This commit is contained in:
Richard Tang
2026-04-10 16:38:21 -07:00
parent f16cb0ea1f
commit 8ea3fb8cfe
26 changed files with 50 additions and 50 deletions
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../../tools",
"description": "Hive tools MCP server with provider-specific tools"
"description": "hive_tools MCP server with provider-specific tools"
}
}
@@ -1,3 +1,3 @@
{
"include": ["gcu-tools", "hive-tools"]
"include": ["gcu-tools", "hive_tools"]
}
+1 -1
View File
@@ -13,7 +13,7 @@
"cwd": "../../../../tools",
"description": "Browser automation tools (Playwright-based)"
},
"aden-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
@@ -207,8 +207,8 @@ _shared_building_knowledge = (
**Never use absolute paths** like `/mnt/data/...` or `/workspace/...` they fail.
The project root is implicit.
## Worker File Tools (hive-tools MCP)
Workers use a DIFFERENT MCP server (hive-tools) with DIFFERENT tool names. \
## Worker File Tools (hive_tools MCP)
Workers use a DIFFERENT MCP server (hive_tools) with DIFFERENT tool names. \
When designing worker nodes or writing worker system prompts, reference these \
tool names NOT the coder-tools names (read_file, write_file, etc.).
@@ -219,12 +219,12 @@ Worker data tools (from files-tools MCP server):
- list_files(path) list directory contents
- search_files(pattern, path) regex search in files
Worker data tools (from hive-tools MCP server):
Worker data tools (from hive_tools MCP server):
- csv_read, csv_write, csv_append CSV operations
- pdf_read read PDF files
All tools are registered in the global MCP registry (~/.hive/mcp_registry/). \
Workers get tools from: hive-tools, gcu-tools, files-tools.
Workers get tools from: hive_tools, gcu-tools, files-tools.
IMPORTANT: Do NOT tell workers to use read_file, write_file, edit_file, \
search_files, or list_directory those are YOUR tools, not theirs.
@@ -513,7 +513,7 @@ The agent.json must include ALL of these in one write:
- `edges` connecting all nodes with proper conditions
- `entry_node`, `terminal_nodes`
- `mcp_servers` REQUIRED. Always include all three: \
`[{"name": "hive-tools"}, {"name": "gcu-tools"}, {"name": "files-tools"}]`
`[{"name": "hive_tools"}, {"name": "gcu-tools"}, {"name": "files-tools"}]`
- `loop_config` `max_iterations`, `max_context_tokens`
**Write the COMPLETE config in one `write_file` call. No TODOs, no placeholders.** \
@@ -522,7 +522,7 @@ The queen writes final production-ready system prompts directly.
**There are NO Python files.** The framework loads agent.json directly.
MCP servers are loaded from the global registry by name. Available servers:
- `hive-tools` web search, email, CRM, calendar, 100+ integrations
- `hive_tools` web search, email, CRM, calendar, 100+ integrations
- `gcu-tools` browser automation (click, type, navigate, screenshot)
- `files-tools` file I/O (read, write, edit, search, list)
@@ -510,17 +510,17 @@ if __name__ == "__main__":
## mcp_servers.json
> **Auto-generated.** `initialize_and_build_agent` creates this file with hive-tools
> **Auto-generated.** `initialize_and_build_agent` creates this file with hive_tools
> as the default. Only edit manually to add additional MCP servers.
```json
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
```
@@ -41,7 +41,7 @@ loop_config:
# MCP servers to connect (resolved by name from ~/.hive/mcp_registry/)
mcp_servers:
- name: hive-tools
- name: hive_tools
- name: gcu-tools
nodes:
@@ -200,7 +200,7 @@ The `mcp_servers.json` file is still loaded automatically if present alongside
```yaml
mcp_servers:
- name: hive-tools
- name: hive_tools
- name: gcu-tools
```
@@ -36,7 +36,7 @@ If `agent.py` exists (legacy), it's loaded as a Python module instead.
"max_context_tokens": 32000
},
"mcp_servers": [
{"name": "hive-tools"},
{"name": "hive_tools"},
{"name": "gcu-tools"}
],
"variables": {
+1 -1
View File
@@ -372,7 +372,7 @@ class ToolRegistry:
"""Resolve cwd and script paths for MCP stdio config (Windows compatibility).
Use this when building MCPServerConfig from a config file (e.g. in
list_agent_tools, discover_mcp_tools) so hive-tools and other servers
list_agent_tools, discover_mcp_tools) so hive_tools and other servers
work on Windows. Call with base_dir = directory containing the config.
"""
registry = ToolRegistry()
@@ -1,5 +1,5 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": [
@@ -9,6 +9,6 @@
"--stdio"
],
"cwd": "../../../tools",
"description": "Hive tools MCP server providing web_search, web_scrape, github tools, and file utilities"
"description": "hive_tools MCP server providing web_search, web_scrape, github tools, and file utilities"
}
}
}
@@ -1,5 +1,5 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": [
@@ -9,6 +9,6 @@
"--stdio"
],
"cwd": "../../../tools",
"description": "Hive tools MCP server providing web_search, web_scrape, and write_to_file"
"description": "hive_tools MCP server providing web_search, web_scrape, and write_to_file"
}
}
}
@@ -86,7 +86,7 @@ intake → fetch-emails → classify-and-act → report
## MCP Tool Sources
### hive-tools (stdio)
### hive_tools (stdio)
Hive tools MCP server
**Configuration:**
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
+1 -1
View File
@@ -85,7 +85,7 @@ intake → job-search → job-review → customize
## MCP Tool Sources
### hive-tools (stdio)
### hive_tools (stdio)
Hive tools MCP server
**Configuration:**
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
@@ -1,5 +1,5 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
@@ -1,5 +1,5 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": [
@@ -9,6 +9,6 @@
"--stdio"
],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
}
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server providing web_search, web_scrape, save_data, and serve_file_to_user"
"description": "hive_tools MCP server providing web_search, web_scrape, save_data, and serve_file_to_user"
}
}
@@ -1,10 +1,10 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
},
"gcu-tools": {
"transport": "stdio",
@@ -1 +1 @@
{ "include": ["hive-tools"] }
{ "include": ["hive_tools"] }
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": "../../../tools",
"description": "Hive tools MCP server"
"description": "hive_tools MCP server"
}
}
+1 -1
View File
@@ -389,7 +389,7 @@ def list_agent_tools(
Args:
server_config_path: Path to mcp_servers.json. Default: tools/mcp_servers.json
(the standard hive-tools server). Can also point to an agent's config
(the standard hive_tools server). Can also point to an agent's config
to see what tools that specific agent has access to.
output_schema: Controls verbosity of the response.
"summary" (default) provider list with tool counts + credential status. Very compact.
+2 -2
View File
@@ -1,9 +1,9 @@
{
"hive-tools": {
"hive_tools": {
"transport": "stdio",
"command": "uv",
"args": ["run", "python", "mcp_server.py", "--stdio"],
"cwd": ".",
"description": "Hive tools MCP server providing web_search, web_scrape, send_email, and data tools"
"description": "hive_tools MCP server providing web_search, web_scrape, send_email, and data tools"
}
}
@@ -28,7 +28,7 @@ def _get_config() -> tuple[str, dict] | dict:
"Authorization": f"Bearer {token}",
"Content-Type": "application/json",
"Accept": "application/json",
"User-Agent": "aden-tools/1.0",
"User-Agent": "hive_tools/1.0",
"X-Snowflake-Authorization-Token-Type": os.getenv("SNOWFLAKE_TOKEN_TYPE", "OAUTH"),
}
return base_url, headers
+2 -2
View File
@@ -3,7 +3,7 @@ requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "aden-tools"
name = "hive_tools"
version = "0.0.1"
description = "Aden Tools package"
requires-python = ">=3.8"
@@ -11,4 +11,4 @@ dependencies = [] # add real deps here later if needed
[tool.setuptools.packages.find]
where = ["."]
namespaces = false
namespaces = false