Skip to main content
Glama

Kratos-MCP

by FoggyStorm

context_preview

Preview and inject relevant code context for the current task in AI coding workflows. Specify open files, task details, and context size to optimize accuracy within Kratos-MCP.

Instructions

Preview context injection for current task

Input Schema

NameRequiredDescriptionDefault
budget_bytesNoMaximum context size in bytes
modeNoInjection mode
open_filesNoCurrently open files
taskYesCurrent task description
top_kNoMaximum number of injections

Input Schema (JSON Schema)

{ "properties": { "budget_bytes": { "description": "Maximum context size in bytes", "type": "integer" }, "mode": { "description": "Injection mode", "enum": [ "hard", "soft", "smart" ], "type": "string" }, "open_files": { "description": "Currently open files", "items": { "type": "string" }, "type": "array" }, "task": { "description": "Current task description", "type": "string" }, "top_k": { "description": "Maximum number of injections", "type": "integer" } }, "required": [ "task" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/FoggyStorm/kratos-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server