Typical workflow and API discovery
- Last Updated: December 23, 2025
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Typical workflow
- Use the
upcommand to quickly create a profile with TLS enabled and an OpenAPI specification:./mcpgen up --quick --tls --spec <openapi.yml>This command initializes a new profile using the provided OpenAPI specification.
- Run the
listcommand to verify that the container is active:./mcpgen list --wideThis command displays all running containers with extended details.
- To list available tools with names and descriptions, run:
./mcpgen client myprofThis output provides a quick overview of all tools in the profile.
For full metadata of all tools:./mcpgen client myprof --list-detailsThis command retrieves detailed schema information for every tool.
- To view complete details for a single tool, for example
getInventoryRecords, run:./mcpgen client myprof --list-details --tool getInventoryRecordsThis command focuses on one tool and displays its schema and parameters.
- To execute a tool with arguments:
./mcpgen client myprof --tool listProducts --args '{"limit":3}'This command runs the tool and returns results based on the specified arguments.
- Optionally, create additional tokens for different access
levels:
./mcpgen sa-token myprof --name admin --scopes service_account mcp_access mcp_admin ./mcpgen sa-token myprof --name readonly --scopes service_account mcp_accessThese commands generate service account tokens with defined scopes.
To test with a specific token:./mcpgen client myprof --sa-token adminThis applies the selected token for the client session.
- Enable debug mode to inspect HTTP exchanges:
./mcpgen client myprof --tool getOrders --args '{}' --debugThis command helps troubleshooting issues by showing detailed request and response data.
- Export the profile for production:
./mcpgen export myprof --bundle prodThis command creates a production-ready bundle.
-
Deploy on another host using the generated Docker Compose file or helper script.
API discovery workflow
- See all available tools:
./mcpgen client myprof - Explore all tool schemas:
./mcpgen client myprof --list-details - View complete details:
./mcpgen client myprof --list-details --tool getWarehouseMemos - Invoke with sample data:
./mcpgen client myprof --tool getWarehouseMemos --args '{"filter":"Warehouse_ID=\"STL01\""}' - See full HTTP exchange:
./mcpgen client myprof --tool getWarehouseMemos --args '{}' --debug