curl_request
Send HTTP requests to external APIs by specifying URL, method, headers, and data. Integrate with external services effectively using this tool within the MCP Filesystem Server.
Instructions
Execute a curl request to an external HTTP API. Allows specifying URL, method, headers, and data. Useful for integrating with external services via HTTP.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Data to send in the request body | |
followRedirects | No | Whether to follow redirects | |
headers | No | HTTP headers to include in the request | |
insecure | No | Whether to skip SSL certificate verification (use with caution) | |
method | No | HTTP method | GET |
timeout | No | Request timeout in seconds | |
url | Yes | Full URL to send the request to |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"data": {
"description": "Data to send in the request body",
"type": "string"
},
"followRedirects": {
"default": true,
"description": "Whether to follow redirects",
"type": "boolean"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"default": {},
"description": "HTTP headers to include in the request",
"type": "object"
},
"insecure": {
"default": false,
"description": "Whether to skip SSL certificate verification (use with caution)",
"type": "boolean"
},
"method": {
"default": "GET",
"description": "HTTP method",
"enum": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS"
],
"type": "string"
},
"timeout": {
"default": 30,
"description": "Request timeout in seconds",
"exclusiveMinimum": 0,
"type": "number"
},
"url": {
"description": "Full URL to send the request to",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}