ai
Together AI MCP Integration for Codex
Connect Together AI to Codex through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Together AI to Codex
Use KosmoKrator as a local MCP proxy for Codex so coding sessions can reach selected integrations with explicit write policy.
Register kosmo mcp:serve as a local stdio server and choose the integration allowlist. The gateway is local, scoped to this integration, and starts with
--write=deny so Codex can inspect read-capable tools without receiving write access by default.
Together AI MCP Config for Codex
Keep write access denied or ask-based unless the workspace is trusted.
{
"mcpServers": {
"kosmokrator-together-ai": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=together-ai",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=together-ai --write=deny Why Use KosmoKrator Here
Expose only Together AI instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Together AI Tools Visible to Codex
Codex sees stable MCP tool names generated from the Together AI integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__together_ai__togetherai_list_models | together-ai.togetherai_list_models | Read | List all available AI models on Together AI, including open-source and fine-tuned models. Returns model IDs, types, pricing, and capabilities. |
integration__together_ai__togetherai_create_completion | together-ai.togetherai_create_completion | Write | Create a chat completion using a Together AI model. Send a conversation with messages and receive a generated response. Supports models like Llama, Mixtral, Qwen, DBRX, and more. |
integration__together_ai__togetherai_list_fine_tunes | together-ai.togetherai_list_fine_tunes | Read | List all fine-tuning jobs on Together AI. Returns job IDs, status, base model, training file, and creation timestamps. |
integration__together_ai__togetherai_get_fine_tune | together-ai.togetherai_get_fine_tune | Read | Get details of a specific fine-tuning job on Together AI. Returns status, training progress, hyperparameters, and the output model ID once complete. |
integration__together_ai__togetherai_list_files | together-ai.togetherai_list_files | Read | List all files uploaded to Together AI. Returns file IDs, filenames, sizes, and purposes (e.g. fine-tune training data, results). |
integration__together_ai__togetherai_get_file | together-ai.togetherai_get_file | Read | Get details of a specific file on Together AI. Returns file metadata including name, size, purpose, and creation date. |
integration__together_ai__togetherai_get_current_user | together-ai.togetherai_get_current_user | Read | Get the authenticated Together AI user's account information, including name, email, and plan details. |