Try out the MCP API Gateway inside a Meshagent Room for quick, cloud-based testing. The MCP server, tool, and chatbot will be cleaned up automatically when the Room closes.
Environment variables needed:
API_1_NAME=<name>
API_1_SWAGGER_URL=<swagger.json-url>
API_1_HEADER_AUTHORIZATION=<token>
Install Meshagent CLI:
Sign up & authenticate:
Follow Meshagent CLI setup docs.
Start the MCP server in a Meshagent Room:
This launches the MCP API Gateway in the cloud, available only in your Meshagent Room. Room/agent shutdown cleans up automatically.
Start the chatbot in the same Room:
Try it out:
Visit the Room link in your browser. Send messages to the agent to interact with the MCP Server tools.
For production, deploy MCP server tools as persistent Meshagent Project Services—your agents and chatbots automatically join every new Room in the project with zero manual steps.
Create the MCP server project service:
Create the Project-level chatbot service:
These tools are provided by the integrated MCP API Gateway server:
Tool | Short Description |
---|---|
execute_api | Execute any API endpoint with custom parameters |
get_api_info | Get information about available APIs and endpoints |
execute_api
Execute any API endpoint with custom parameters.
Parameter | Type | Description |
---|---|---|
api_name | string | Name of the API |
method | string | HTTP method (GET, POST, etc.) |
path | string | API endpoint path |
data | object | (optional) Request body data |
headers | object | (optional) Additional headers |
params | object | (optional) Query parameters |
get_api_info
Get information about available APIs and their endpoints.
Parameter | Type | Description |
---|---|---|
api_name | string | (optional) Name of the API (to filter) |
Try out the MCP API Gateway inside a Meshagent Room for quick, cloud-based testing. The MCP server, tool, and chatbot will be cleaned up automatically when the Room closes.
Environment variables needed:
API_1_NAME=<name>
API_1_SWAGGER_URL=<swagger.json-url>
API_1_HEADER_AUTHORIZATION=<token>
Install Meshagent CLI:
Sign up & authenticate:
Follow Meshagent CLI setup docs.
Start the MCP server in a Meshagent Room:
This launches the MCP API Gateway in the cloud, available only in your Meshagent Room. Room/agent shutdown cleans up automatically.
Start the chatbot in the same Room:
Try it out:
Visit the Room link in your browser. Send messages to the agent to interact with the MCP Server tools.
For production, deploy MCP server tools as persistent Meshagent Project Services—your agents and chatbots automatically join every new Room in the project with zero manual steps.
Create the MCP server project service:
Create the Project-level chatbot service:
These tools are provided by the integrated MCP API Gateway server:
Tool | Short Description |
---|---|
execute_api | Execute any API endpoint with custom parameters |
get_api_info | Get information about available APIs and endpoints |
execute_api
Execute any API endpoint with custom parameters.
Parameter | Type | Description |
---|---|---|
api_name | string | Name of the API |
method | string | HTTP method (GET, POST, etc.) |
path | string | API endpoint path |
data | object | (optional) Request body data |
headers | object | (optional) Additional headers |
params | object | (optional) Query parameters |
get_api_info
Get information about available APIs and their endpoints.
Parameter | Type | Description |
---|---|---|
api_name | string | (optional) Name of the API (to filter) |