chatgpt-config.jsonā¢2.68 kB
{
"name": "MCP Integration Plugin",
"version": "1.0.0",
"description": "ChatGPT integration with MCP server for external tools and resources",
"api": {
"url": "http://localhost:3000",
"endpoints": {
"health": "/health",
"mcp": "/mcp",
"tools": "/tools"
},
"authentication": {
"type": "bearer",
"tokenEnv": "MCP_API_TOKEN"
}
},
"tools": {
"read_file": {
"enabled": true,
"description": "Read the contents of a file",
"parameters": {
"path": {
"type": "string",
"required": true,
"description": "File path to read"
}
}
},
"write_file": {
"enabled": true,
"description": "Write content to a file",
"parameters": {
"path": {
"type": "string",
"required": true,
"description": "File path to write to"
},
"content": {
"type": "string",
"required": true,
"description": "Content to write"
}
}
},
"list_directory": {
"enabled": true,
"description": "List directory contents",
"parameters": {
"path": {
"type": "string",
"required": true,
"description": "Directory path to list"
}
}
},
"get_system_info": {
"enabled": true,
"description": "Get system information",
"parameters": {}
},
"execute_command": {
"enabled": true,
"description": "Execute a system command",
"requiresConfirmation": true,
"parameters": {
"command": {
"type": "string",
"required": true,
"description": "Command to execute"
},
"cwd": {
"type": "string",
"required": false,
"description": "Working directory"
}
}
},
"fetch_url": {
"enabled": true,
"description": "Fetch content from a URL",
"parameters": {
"url": {
"type": "string",
"required": true,
"description": "URL to fetch"
},
"method": {
"type": "string",
"required": false,
"default": "GET",
"description": "HTTP method"
},
"headers": {
"type": "object",
"required": false,
"description": "HTTP headers"
}
}
}
},
"security": {
"allowedDomains": [
"localhost",
"127.0.0.1",
"*.example.com"
],
"maxExecutionTime": 30000,
"maxResponseSize": "10MB"
},
"logging": {
"level": "info",
"logRequests": true,
"logResponses": false
}
}