Skip to Content
Polyant is open source under AGPL-3.0 — star us on GitHub.
How-toReaching Your Systems

Reaching your systems

On this page

Polyant agents can use tools from remote Model Context Protocol (MCP) servers and installed plugins to work with external systems. MCP server configuration is encrypted at rest. The managed-services Tool Catalog lists 21 built-in tools in 11 categories. For HTTP requests to public endpoints, curl sends GET requests and httpRequest sends POST, PUT, PATCH or DELETE requests.

Polyant leaves a tool out of the agent’s available set when a required secret is missing. Tools are expected to return a structured error when a call fails. Tool audit records can include the arguments, result or error, and duration, depending on the tool.

Choose how the agent reaches the system

  • A plugin carries tools for one system, such as the HubSpot plugin. The engine loads it at boot or, with managed services, an organization installs it from the marketplace. Its tools are enabled per agent and read their credentials from the agent’s secrets. See Plugins.
  • A remote MCP server exposes tools the engine lists from the server on each turn. The server URL is checked when it is dialled, and private and loopback addresses are refused. See Remote tools: MCP servers.
  • The HTTP tools call a public endpoint directly when no dedicated tool exists. See the Tool Catalog.

Example: add a note to a HubSpot contact

An operator asks the agent in the Playground to add a follow-up note to a known HubSpot contact. With the HubSpot plugin enabled, the agent can look up the contact with hubspot:contact and attach the note with hubspot:note. The tools use the HubSpot credential configured for the agent as hubspot_api_key, with access to read the contact and write the note. The write result is the confirmation that the note was saved.

For a new setup, the credential is a HubSpot Service Key with the crm.objects.contacts.read and crm.objects.contacts.write scopes, plus crm.objects.owners.read for owner names in results. An existing private app token is also accepted as hubspot_api_key. Connect HubSpot walks through loading the plugin, creating the key, enabling the tools and the HubSpot rate limits that apply.

If the credential is missing, the HubSpot tools are withheld. If a call returns an authentication or scope error, tell the operator which step failed and check the credential and scopes before trying again. Check the conversation trace and the available tool audit records when diagnosing a failed call.

See also

Last updated on