MCP Server
Connect your AI application to Zild MCP, use the authentication configured for your environment and access tools according to your permissions.
What is Zild MCP?
Zild MCP connects your AI application to the Zild platform. Once connected, your assistant can look up information and perform actions with your user permissions, such as finding contacts, reviewing conversations, submitting documents for processing and working with agents and Flow tasks.
MCP stands for Model Context Protocol. It is the standard an AI application uses to discover available tools, understand the required inputs and request execution. You describe your request to the assistant in natural language; it uses Zild tools to carry out the request and present the result.
Before you start
- Confirm the MCP authentication mode enabled by your administrator. For API key mode, have Zild access and your user API key. See how to obtain and use your API key.
- Use an AI application that supports remote MCP servers over Streamable HTTP and supports the environment’s authentication mode: headers for API keys or the configured OAuth flow.
- Check that your user can access the resources you want to read or change. The MCP connection uses those same permissions.
Connect your AI application
- Open your AI application's integrations, connectors or MCP server settings.
- Add a remote server and name it Zild.
- Enter https://api.zild.ai/mcp and select Streamable HTTP if the client asks for a transport.
- In API key mode, add an
X-API-Keyheader containing your user API key. If the environment requires OAuth, follow the authorized connection described below. - Save the connection and use the client's connect, test or refresh tools option.
Name: Zild
URL: https://api.zild.ai/mcp
Transport: Streamable HTTP
Header: X-API-Key
Value: YOUR_USER_API_KEYField names vary across applications. Paste the URL into the client's MCP settings; opening it in a browser does not configure the connection. Store the key in the client's credential field rather than conversation text or shared files.
The mode depends on environment configuration. When OAuth is enabled, use an authorized client and the login flow configured by the administrator; the server publishes protected-resource metadata at /.well-known/oauth-protected-resource/mcp. The token must carry the audience, identity and scopes accepted for MCP. In this mode, an API key does not replace the required Bearer token. Without OAuth enabled, the policy permits existing API key or valid Bearer credentials. Code support does not establish that OAuth is active in your environment.
Run your first query
Once connected, ask the assistant for a simple query on a resource you know. For example:
Look up contact ID 123 in Zild and show its details.
Replace 123 with a contact ID your user can access. The assistant should find the contact lookup tool, supply the ID, run the query and present the result. Ask for a read operation when testing a query; creation, updates, sending and deletion are separate actions.
You can also ask: “List my Zild departments”, “Check my tenant consumption and quota” or “Show the next occurrences of this recurring task”. Supply identifiers and filters when the assistant asks for them.
What you can do
The tool catalog documents 137 operations across CRM, agents, voice, conversations, documents, Insight, Assist, Flow, departments, quotas, consumption, MCP connections and webhooks. Each tool describes its purpose and required inputs.
Choose tools from the list shown by your connected application. If you are building an integration, use tools/list to retrieve names and parameters and tools/call to execute the selected tool. Use the name returned by the server rather than constructing it manually.
A tool appearing in the list does not mean your user can perform all its actions. Zild checks permissions and data access on every call. Zild's own agents can also use external MCP connectors; “Agent MCP connections” tools configure that access and serve a different purpose from this connection.
Supply data, filters and files
The assistant uses each tool description to request the inputs it needs. Supply record IDs, query filters and fields for your intended action. For large lists, ask for filters and pagination to restrict results.
When configuring calls directly, follow the parameters reported by the tool: path for route identifiers, query for filters and body for submitted data. Use only the groups available in that tool. Authentication belongs in the connection settings.
Upload tools receive a file field containing fileName, contentBase64 and, when needed, contentType. Check that your client can prepare this format; attaching a file to a conversation does not guarantee that it is submitted to Zild.
When performing actions
Check the target resource and intended result before requesting creation, updates, deletion, messages or phone calls. Some actions may run agents or incur usage. For example, moving a Flow task to another stage may schedule that stage’s assigned agent.
If an action times out or the connection fails, check the resource state before requesting it again: the change may have occurred even if the client received no response. See each action’s behavior in the tool catalog.
Usage limits
- Individual file: up to 10 MiB; complete MCP request: up to 16 MiB.
- Response: up to 2 MiB. Use filters and pagination to reduce volume.
- Maximum API call time: 120 seconds.
- Default limit: 60 requests per minute per credential, including catalog requests. The applied limit may vary with service configuration.
OAuth: identity, scopes and reconnecting
In an OAuth-enabled environment, a validated token still needs a recognized user identity and the scope required by the operation. The integration distinguishes zild:read and zild:write; scopes do not replace Zild permissions and resource access.
If the administrator corrects identity or scope issuance, reconnect through OAuth to obtain a new token. Refreshing only the tool list does not add information to an already issued token. A 403 error may require investigating identity, scope or permissions; do not assume the account needs full administrative access.
For support, record the UTC time, tool, status and trace identifier when available. The administrator can inspect authentication telemetry to distinguish a rejected token from missing identity. Do not send the token, key or full header contents.
If a connection or call fails
- 401 — authentication: check your key or token, header name and whether the credential is still valid.
- 403 — access: check your user permissions for the requested action and resource.
- 404 — resource: confirm the identifier and whether the resource exists in your tenant.
- 429 — rate limit: wait before retrying and reduce call frequency.
- Response too large: add filters or reduce page size.
- No tools appear: check the URL, transport and client support for headers, then reconnect or refresh the tool list.
A call may return a tool error containing the API status. When asking for help, provide the tool, time and received status without sharing your key or token.