Overview
Adds a server from the ToolRouter marketplace to an existing stack. You can specify which tools to enable when adding the server, or enable all tools at once.Endpoint
Authentication
This endpoint requires an API key. Include it in the Authorization header:Path Parameters
Request Body
Response
Confirmation message indicating the server was added successfully and how many tools were enabled
Example Request
Add Server with All Tools Enabled
Add Server with Specific Tools
Add Server with No Tools (Configure Later)
Example Responses
All Tools Enabled
Specific Tools Enabled
No Tools Enabled
Workflow
After adding a server to a stack:- Configure credentials: Use the Update Credentials endpoint to add required credentials
- Enable/disable tools: Use the Update Server Tools endpoint to modify enabled tools
- Test tools: Use the Invoke Tool endpoint to test functionality
Error Responses
Best Practices
- Check server availability: Use the List Servers endpoint to see available servers and their tools
- Plan tool selection: Review tool descriptions and parameters before enabling
- Start with specific tools: Consider enabling only the tools you need rather than all tools
- Configure credentials early: Add required credentials immediately after adding the server

