add_api
Add a new API configuration by specifying a name, base URL, and optional details such as description or authentication headers. Simplify API integration and management within the MCP server.
Instructions
Add a new API configuration with name, URL and optional description
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Optional description | |
headers | No | Optional HTTP headers for authentication (e.g., {'Authorization': 'Bearer token', 'X-API-Key': 'key'}) | |
name | Yes | Short name for the API | |
url | Yes | Base URL of the FastAPI service |
Input Schema (JSON Schema)
{
"properties": {
"description": {
"description": "Optional description",
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"description": "Optional HTTP headers for authentication (e.g., {'Authorization': 'Bearer token', 'X-API-Key': 'key'})",
"type": "object"
},
"name": {
"description": "Short name for the API",
"type": "string"
},
"url": {
"description": "Base URL of the FastAPI service",
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
}