Check out our upcoming events and meetups! View events →
Update an existing MCP server.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const mcpServer = await client.ai.mcpServers.update('mcp_server_id');
console.log(mcpServer.id);{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"api_key_ref": "<string>",
"allowed_tools": [
"<string>"
]
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const mcpServer = await client.ai.mcpServers.update('mcp_server_id');
console.log(mcpServer.id);{
"id": "<string>",
"name": "<string>",
"type": "<string>",
"url": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"api_key_ref": "<string>",
"allowed_tools": [
"<string>"
]
}