Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BOWTIE_HOSTNoController HTTPS endpoint (e.g., https://bt0.example.com).
BOWTIE_MCP_HOMENoOverride the state directory (default is ~/.bowtie-mcp).
BOWTIE_PASSWORDNoA local admin's password.
BOWTIE_USERNAMENoA local admin's email address.
BOWTIE_API_KEY_IDNoAn API key ID, used instead of a password. Today's controllers accept API keys only for device approval, so most tools need the password.
BOWTIE_MCP_SECRETSNoSet to "file" to keep secrets out of the keychain.
BOWTIE_API_KEY_SECRETNoAn API key secret, used instead of a password. Today's controllers accept API keys only for device approval, so most tools need the password.
BOWTIE_MCP_DEPLOYMENTNoThe name of a stored deployment to use, when more than one is set up.
BOWTIE_MCP_SKIP_CONFIRMATIONNoSet to "true" to carry out single-object changes at once. propose_change and deployments stay two steps.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Bowtie is a private network access product that customers host themselves: a "controller" VM in their cloud, and a client on each device. These tools deploy a controller, connect this computer to it, and manage who can reach what.

Ground rules:

  • Anything that creates cloud resources or changes the controller is two steps. The first call changes nothing: it returns a plan, or a change_id with exactly what would happen. Show that to the user in full and get a clear yes. Then call the apply tool: apply_deployment for a plan, apply_change for a change_id.

  • For access rules, destinations, resources, user groups and device approval, use propose_change. It takes names instead of ids and checks the whole change.

  • Never guess a hostname, region or admin email. Ask.

  • Passwords and keys are never returned by these tools. Do not ask the user to paste one into the chat.

  • Rules are default-deny. Removing or narrowing a rule cuts people off at once.

  • install_client and enroll_this_device act on the computer these tools run on: f738b1683fbe (Linux). If the user means a different computer, say so before installing; the tools have to run on the computer being connected.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
health_checkA

Check that the Bowtie controller is reachable and responding. Use this first to verify connectivity before running other tools.

list_usersA

List all users in the Bowtie organization. Returns a map of user IDs to user objects with name, email, role, and status. Use this to find user IDs needed by other tools.

get_userA

Get details for a specific user by their UUID. Returns name, email, role (Owner/FullAdministrator/LimitedAdministrator/User), status, and permissions.

get_current_userA

Get information about the currently authenticated user and their devices. Useful for verifying who you're acting as.

list_user_groupsA

List all user groups. Returns a map of group IDs to group objects. User groups are used in policy source predicates to control which users can access resources.

get_user_groupA

Get a user group by ID, including its name and metadata.

list_users_in_groupB

List all user IDs that are members of a specific user group.

get_deviceB

Get full details for a specific device including its state, assigned user, OS, last seen time, IPv4/IPv6 addresses, and posture information.

get_auth_decisionsA

List pre-configured device auth decisions (pre-approvals or pre-rejections by serial number). Useful for MDM workflows where devices are approved before they first check in.

get_device_groupC

Get a device group by ID. Device groups are used in policy source predicates to control which devices can access resources.

list_devices_in_groupC

List all devices that are members of a specific device group.

get_policyA

Get the complete network policy document. Returns three sections:

  • resources: network objects (IP/CIDR/DNS targets with protocol and ports)

  • resource_groups: named groups of resources used as policy destinations

  • policies: rules mapping source (who) to destination (what) with an action (Accept/Reject/Drop)

This is the core of Bowtie's zero-trust model. Read this first when auditing or troubleshooting access.

list_dns_configsB

List all DNS configurations. DNS configs define how Bowtie resolves internal domain names, including upstream servers, DNS64 strategy, resolver strategy (overlay/exclusive/drop), and site bindings.

get_dns_configC

Get a specific DNS configuration by ID.

get_organizationA

Get organization details including name, domain, DNS configs, IPv6 ranges, and sites. This is the top-level view of your Bowtie deployment.

get_org_configA

Get the organization configuration including device approval settings, session timeouts, telemetry preferences, version strategy, and security settings.

list_sitesA

List all sites. A site represents a physical or virtual location (e.g., an office or VPC) with its own controllers and routable IP ranges.

get_siteC

Get details for a specific site by ID.

list_collectionsB

List all collections. Collections are named groups of network locations (IPs, CIDRs, DNS names) that can be referenced by resources, route exclusions, and other objects.

get_collectionB

Get a collection by ID, including all its members (network locations).

list_dns_block_listsA

List all DNS block lists configured in the organization. Block lists prevent resolution of known-bad domains.

list_threat_categoriesB

List all threat intelligence categories with their enabled/disabled state. Categories group domains by threat type (malware, phishing, etc.).

categorize_domainA

Check which threat categories a domain belongs to. Walks parent domains, so sub.malware.example.com also matches example.com.

get_threat_feed_configA

Get the current threat feed configuration including sync interval, last sync status, and whether block event logging is enabled.

list_api_keysA

List all API keys in the organization. Shows key name, permissions, creation date, and last used info.

list_controllersB

List all controllers in the Bowtie cluster. Controllers are the enforcement points that handle WireGuard tunnels, DNS, and policy evaluation.

get_controllerC

Get details for a specific controller including its status, public address, version, features, and site assignment.

list_route_exclusionsA

List all route exclusions. Route exclusions define CIDRs that should bypass the Bowtie tunnel, typically for local network or split-tunnel scenarios.

get_verdict_logging_statusA

Check which controllers have policy verdict logging enabled. Verdict logging must be enabled per-controller before verdict logs will appear in queries. Returns the status of each controller.

If logging is not enabled, the admin needs to enable track_policy_verdict_logs on each controller via the Bowtie UI or API before traffic analysis tools will return data.

query_verdict_logsA

Query policy verdict logs over a time range. Returns raw firewall decisions showing what traffic was accepted, rejected, or dropped and why.

Requires track_policy_verdict_logs to be enabled on the controller.

Args: start: Start time — RFC3339 (e.g., "2026-04-06T00:00:00Z") or relative (e.g., "7d" for 7 days ago). end: End time — RFC3339 or "now". device_id: Filter to a specific device UUID. user_id: Filter to a specific user UUID. verdict: Filter by verdict: "Accept", "Reject", or "Drop". destination: Filter by destination IP or CIDR substring. protocol: Filter by protocol: "tcp", "udp", "icmp". limit: Max entries to return (default 500).

get_verdict_summaryA

Get an aggregated summary of policy verdicts over a time range. Groups traffic by destination, verdict, device, and user to identify patterns.

Use this to understand traffic flows before creating or modifying policies. Particularly useful for finding:

  • Frequently dropped traffic that may need a new Allow policy

  • Overly broad Accept rules that could be tightened

  • Unusual traffic patterns from specific devices

Args: start: Start time — RFC3339 or relative (e.g., "7d", "24h"). end: End time — RFC3339 or "now". limit: Max raw entries to analyze (default 5000).

query_dns_logsA

Query DNS block/audit logs over a time range. Shows DNS queries that were blocked by threat categories or block lists, including the domain, category, and which device/user triggered it.

Args: start: Start time — RFC3339 or relative (e.g., "7d", "24h"). end: End time — RFC3339 or "now". domain: Filter by domain name substring. device_id: Filter to a specific device UUID. category: Filter by threat category (e.g., "malware/callhome"). limit: Max entries to return (default 500).

upsert_userA

Create or update a user. Provide user_id to update an existing user. Returns a change_id; nothing changes until apply_change.

Args: name: The user's display name. email: Email address (used for login with password auth). role: One of Owner, FullAdministrator, LimitedAdministrator, User. status: One of Active, Disabled. user_id: UUID to update an existing user; omit to create a new one. username: Optional login username.

delete_userA

Delete a user by ID. The user must be Disabled first. Only Owner or FullAdministrator roles can delete users. Returns a change_id; nothing changes until apply_change.

Args: user_id: UUID of the user to delete.

delete_deviceA

Delete a rejected device for cleanup after decommissioning. The device must be in 'rejected' state first. Returns a change_id; nothing changes until apply_change.

Args: device_id: UUID of the device to delete.

assign_deviceA

Assign or reassign a device to a user. This normally happens at authentication time, but admins can override it here. Controllers are refused. Returns a change_id; nothing changes until apply_change.

Args: device_id: The device to assign. user_id: The user UUID to assign to. Omit to unassign.

update_auth_decisionsA

Create or update device auth decisions (pre-approve or pre-reject by serial number). Each decision needs: serial (string), enforce_state ('accepted'/'rejected'/'retain').

Use this for MDM integration — approve devices by serial before they check in. Returns a change_id; nothing changes until apply_change.

Args: decisions: List of {serial, enforce_state} dicts. Optionally include device_id.

upsert_device_groupA

Create or update a device group. Device groups are used in policy source predicates to control access by device membership. Returns a change_id; nothing changes until apply_change.

Args: name: Human-readable group name. group_id: UUID to update an existing group; omit to create. description: Optional group description.

add_devices_to_groupA

Add devices to a device group. Returns a change_id; nothing changes until apply_change.

Args: group_id: The group to add devices to. device_ids: List of device UUIDs to add.

remove_devices_from_groupA

Remove devices from a device group. Returns a change_id; nothing changes until apply_change.

Args: group_id: The group to remove devices from. device_ids: List of device UUIDs to remove.

delete_device_groupA

Delete a device group. Policies referencing this group will need to be updated. Returns a change_id; nothing changes until apply_change.

Args: group_id: UUID of the group to delete.

upsert_dns_configA

Create or update a DNS configuration for an internal domain. Returns a change_id; nothing changes until apply_change.

Args: name: The domain name (e.g., "internal.example.com"). server_addrs: List of upstream DNS server IPs (e.g., ["10.0.0.53", "10.0.0.54"]). strategy_resolver: How Bowtie resolves this domain: - "overlay" — resolve via both Bowtie and system DNS, prefer Bowtie - "exclusive" — only resolve via Bowtie's configured servers - "drop" — block all resolution for this domain strategy_dns64: DNS64 behavior: "preferred", "fallback", or "never". is_search_domain: If true, clients add this to their DNS search list. Must be true if using DNS64. is_log: Whether to log DNS queries for this domain. dns_id: UUID to update existing; omit to create new. include_only_site_ids: Limit this DNS config to specific sites (for overlapping IP space).

delete_dns_configA

Delete a DNS configuration. Returns a change_id; nothing changes until apply_change.

Args: dns_id: UUID of the DNS config to delete.

upsert_collectionA

Create or update a collection. Collections group network locations (IPs, CIDRs, DNS names) for use in resources and route exclusions. Returns a change_id; nothing changes until apply_change.

Args: name: Human-readable collection name. description: Optional description. collection_id: UUID to update existing; omit to create new.

add_collection_membersA

Add members (network locations) to a collection. Returns a change_id; nothing changes until apply_change.

Each member needs: name, comment, location ({type, value}). Location types: ip, cidr, dns, collection.

Example member: {"id": "auto-generated", "name": "Web Server", "comment": "", "location": {"type": "ip", "value": "10.0.1.5"}}

Args: collection_id: The collection to add members to. members: List of member objects. IDs will be auto-generated if missing.

remove_collection_membersA

Remove members from a collection by their IDs. Returns a change_id; nothing changes until apply_change.

Args: collection_id: The collection to remove members from. member_ids: List of member UUIDs to remove.

delete_collectionA

Delete a collection. Resources referencing it will need to be updated. Returns a change_id; nothing changes until apply_change.

Args: collection_id: UUID of the collection to delete.

upsert_dns_block_listA

Create or update a DNS block list. Returns a change_id; nothing changes until apply_change.

Args: name: Block list name. upstream: URL to fetch the block list from (e.g., a community hosts file). contents: Inline block list content (domain list). Use instead of upstream. block_list_id: UUID to update existing; omit to create new. override_to_allow: Domains to allow even if on the list.

delete_dns_block_listA

Delete a DNS block list. Returns a change_id; nothing changes until apply_change.

Args: block_list_id: UUID of the block list to delete.

toggle_threat_categoryA

Enable or disable a threat intelligence category by its source_path (e.g., "malware/callhome", "illegal/phishing"). Returns a change_id; nothing changes until apply_change.

Args: source_path: The category identifier (from list_threat_categories). enabled: True to enable blocking, False to disable.

activate_threat_intelA

Activate Bowtie Threat Intel. Creates category entities, enables the feed, and kicks off a background sync. Returns a change_id; nothing changes until apply_change.

deactivate_threat_intelA

Deactivate Bowtie Threat Intel. Returns a change_id; nothing changes until apply_change.

upsert_route_exclusionA

Create or update a route exclusion. Route exclusions define CIDRs (via a collection) that bypass the Bowtie tunnel. Returns a change_id; nothing changes until apply_change.

Args: name: Human-readable name for the exclusion. collection_id: Collection containing the CIDRs to exclude. exclusion_id: UUID to update existing; omit to create new.

delete_route_exclusionA

Delete a route exclusion. Returns a change_id; nothing changes until apply_change.

Args: exclusion_id: UUID of the route exclusion to delete.

list_rulesA

The access rules in force, in the order they are checked, with the destinations and resources they refer to, in plain words. deployment is only needed when more than one controller is set up.

list_peopleC

Users and user groups on the controller, with each user's role and status.

list_devicesA

Devices known to the controller, summarised: name, state, operating system, owner, last seen, and whether it is a controller. state_filter may be "pending", "accepted" or "rejected"; pending devices are waiting for approval. get_device has everything about one device.

check_accessC

Ask the controller how it would treat a connection under the rules as they stand now. who is {"user": email}, {"user_group": name} or {"device": name or id}. destination is an IP address or DNS name.

propose_changeA

Check a set of access changes and show exactly what they would do. Changes nothing. Returns a change_id for apply_change.

Each change is an object with "kind" and "op": {"kind":"resource","op":"upsert","name":"Git server","protocol":"tcp", "location":"10.0.4.12" | "10.0.0.0/16" | "git.example.com" | {"collection":"name or id"}, "ports":[22,443] | "8000-8100" | "all"} {"kind":"resource_group","op":"upsert","name":"Engineering tools","resources":["Git server"]} {"kind":"policy","op":"upsert","who":{"user_group":"Engineering"},"to":"Engineering tools","action":"Accept"} {"kind":"user_group","op":"upsert","name":"Engineering","members":["a@example.com"]} ("members" sets the whole list; "add_members" / "remove_members" change it by a few) {"kind":"device","op":"set_state","device":"name or id","state":"accepted" | "rejected"} {"kind":"policy","op":"delete","id":"..."} (also resource, resource_group, user_group by name or id) "who" may be "any_signed_in_user", "everyone", {"user":email}, {"user_group":name}, {"device":name}, {"device_group":name}, or {"all_of"|"any_of"|"none_of":[...]}. A rule's "to" is a destination (resource group), never a bare resource. Changes may be listed in any order and may refer by name to things created in the same list. Give "reason" in the user's words; it is kept in the local change record.

apply_changeA

Carry out a change the user has seen and agreed to. change_id comes from propose_change or from any other tool that returned one. A set of rule changes is refused if the controller's state has changed since it was proposed.

recent_changesC

Changes made through these tools, newest last. Kept on this computer; the controller keeps no record of rule edits itself.

check_prerequisitesA

Read-only check before planning a deployment: which cloud account the user's credentials reach, the newest controller version and the default network. cloud is "aws" or "gcp". region is the cloud's own name for it, such as us-west-2 (AWS) or us-west1 (Google Cloud). cloud_account is optional: an AWS profile name, or a Google Cloud project id.

plan_deploymentA

Work out what deploying a controller would create and cost. Creates nothing. name is a short label for this deployment (lowercase letters, digits, dashes). admin_email becomes the first admin.

Naming, pick one. Default: hostname, the DNS name the controller will answer on, in a domain the user controls; nothing about the deployment is registered with Bowtie. Only if the user has no domain to use, or asks for the quickest start: bowtie_direct=true with org_name, and Bowtie assigns a name like bt0.-1234.bowtie.direct. That option sends the hostname, public IP and organization name to Bowtie, so say so when offering it.

cloud is "aws" or "gcp"; cloud_account is optionally an AWS profile name or a Google Cloud project id; subnet optionally names a subnet other than the default network's. telemetry is on by default: the controller sends Bowtie usage reports, as every Bowtie controller does. The plan lists what they contain. Pass false if the user wants them off; they are then switched off right after boot. starter_access adds one rule letting the admin reach the controller's own network.

apply_deploymentA

Create the cloud resources from a plan the user has agreed to: this costs money. Returns within about a minute; the controller then takes a few more minutes to start. Follow it with deployment_status.

deployment_statusA

Where a deployment stands, and what to do next. Also moves it forward: launches once DNS is in place, and configures the controller the first time it answers. Pass wait_seconds (up to 50) to wait for progress.

deployment_consoleA

The last lines the controller's instance wrote to its serial console. For working out why a boot is stuck; not needed in a normal deployment.

list_deploymentsA

Deployments this computer knows about, with their cloud, phase and hostname. A deployment is a controller these tools deployed, or one attached with bowtie-mcp connect.

destroy_deploymentA

Permanently delete a deployment's cloud resources (instance, address, firewall rule, the DNS record it created) and its local records. The controller and everything configured on it are gone for good. Get the user's explicit agreement first; confirm_name must repeat the name.

install_clientA

Download the newest Bowtie client for this computer, check it against its published checksum, point it at the deployment's controller and install it. The operating system asks the user for admin rights. If this computer is already set up for a different controller nothing is changed: a client belongs to one organization at a time. headless picks the Linux package with no desktop tray.

enroll_this_deviceB

Approve this computer on the controller and assign it to the admin, so the tunnel comes up without anyone opening the web console.

Prompts

Interactive templates invoked by user choice

NameDescription
onboard_teamGuide the user through onboarding a team: create a user group, define resources, create a resource group, and set up a policy granting access.
audit_policiesAudit all policies, resources, and resource groups for security issues.
troubleshoot_accessTroubleshoot why a user/device can or cannot access a destination.
review_pending_devicesReview and batch approve or reject pending devices.
analyze_trafficAnalyze policy verdict logs to recommend new or improved policies. Identifies dropped traffic that may need Allow policies, overly broad rules that could be tightened, and unusual traffic patterns.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.1/5.0

Scored across 70 tools

Disambiguation3/5

The set has several overlapping layers: list_users vs list_people, get_policy vs list_rules, and list_devices (controller summary) vs get_device/list_devices_in_group. Descriptions often clarify the intended distinction, but with 70 tools an agent can still plausibly select the wrong org-level versus controller-level operation.

Naming Consistency4/5

Almost all names use lower snake_case with a recognizable verb_noun pattern such as list_users, upsert_dns_config, delete_collection, and query_verdict_logs. There are minor deviations like health_check, deployment_status, and recent_changes, but they remain readable and largely predictable.

Tool Count1/5

Seventy tools is far beyond a practical, well-scoped surface for an agent and creates excessive selection and sequencing burden. The server spans several large domains and also contains duplicate-ish org/controller operations, so the count is an extreme mismatch even for a broad zero-trust platform.

Completeness3/5

Coverage is broad across users, devices, groups, DNS, collections, block lists, threat intel, route exclusions, logs, changes, and deployment lifecycle. However, several resources have read-only or indirect management only, such as sites, organization configuration, controllers, API keys, and some group membership operations, leaving notable dead ends.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues