MCP connections

Use tool connections in your own agent runtime.

Your runtime owns the connection

An MCP client can expose tools to an agent and convert their schemas to function definitions. Unrefused provides model inference; your runtime connects to servers and executes approved tools.

Permissions

Grant only the capabilities required for a task. Review writes and external actions in your application, keep credentials outside model-visible content, and validate tool results.

Continue with tool calling

See Tool calling for the request-and-result message loop.

Availability depends on your connected provider. Check service status and keep x-request-id with your diagnostics.