- CONFIG
- LIST
- EXECUTE
- HUMAN
Short answer
How can I debug and trigger cloud functions with my AI?
Your AI pulls function metadata and lists your existing functions to identify configuration errors. You then trigger specific functions with custom payloads to verify your code works as expected. This gives you a direct feedback loop for testing logic.
Where every issue lands.
Debugging outcomes
The AI handles the heavy lifting of inspection and execution.
CONFIG
Metadata inspection
The AI checks function settings and environment variables. You get a clear view of how your functions are actually configured.
LIST
Function inventory
The AI scans your TCB environment to find all active functions. You can quickly identify which functions are available to test.
EXECUTE
Logic verification
The AI runs your functions using the specific data you provide. You see the immediate results of your code changes.
HUMAN
Manual code fixes
The AI identifies where a function fails or misbehaves. You step in to rewrite the actual source code in your editor.
The workflow
What your AI does when <the thing arrives>.
The AI acts as a bridge between your chat and the TCB runtime.
Scan environment
The AI finds all the functions currently deployed in your Tencent CloudBase environment.
list_cloud_functionsInspect settings
The AI pulls the specific configuration details for a single function to check for errors.
get_function_metadataRun tests
The AI sends custom data to a function to see if it handles the input correctly.
invoke_cloud_functionAnalyze results
The AI reviews the output or error messages returned by the function execution.
invoke_cloud_function
Try it
Copy these to start.
Use these prompts to begin debugging.
Starting points
These are starting points. Swap out the function names for your actual TCB function names.
Tencent CloudBase / 腾讯云开发 TCB Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_4PcdWMEG9aAemcmsOOISH90NGtQVN59yO0OzHlcL/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Tencent CloudBase / 腾讯云开发 TCB capabilities are ready to use.
{
"mcpServers": {
"tencent-cloudbase-tcb-mcp": {
"url": "https://edge.vinkius.com/vk_preview_4PcdWMEG9aAemcmsOOISH90NGtQVN59yO0OzHlcL/mcp"
}
}
}List all my cloud functions in TCB so I can see what's deployed.
Get the metadata for the 'user_signup' function to check its configuration.
Trigger the 'process_payment' function with this JSON payload: {"amount": 50, "currency": "USD"}.
Check the metadata for 'image_resize' and tell me if the memory limit looks too low.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Tencent CloudBase / 腾讯云开发 TCB once, then ask.
One connection gives your AI access to your TCB environment. Your credentials stay encrypted and secure on our side.
Connect Tencent CloudBase / 腾讯云开发 TCB to your AIFAQ
How this task behaves
- 01
Can the AI change my function code?
No. The AI can only read metadata and trigger execution. You must edit your code in your own development environment.
- 02
Can the AI delete my cloud functions?
No. There are no tools provided to delete or remove resources from your TCB environment.
- 03
Does the AI see my environment variables?
Yes, the AI can see configuration details through metadata inspection.
- 04
Can I use this to test production functions?
Yes, you can trigger any function, but you should be careful when sending data to production environments.
- 05
How does the AI know which functions exist?
It uses the list tool to scan your account and build a list of available functions.
More questions about Tencent CloudBase / 腾讯云开发 TCB? The Connector page answers them. See everything the Tencent CloudBase / 腾讯云开发 TCB Connector can do
Connect Tencent CloudBase / 腾讯云开发 TCB to Claude, Cursor, ChatGPT & more
