Msty Admin MCP
v6.3.1Administers Msty Studio Desktop, with tools for models, config, insights and handoff.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_msty_installation Get Msty installation
Locate the Msty Studio app, version, database path and service ports on this machine. Use this before other Studio tools when you need paths or to confirm Studio is installed. Read-only. Returns a JSON object with installed, version, database and ports.
read_msty_database Read Studio database
Run a read-only query against the Studio SQLite database. Use query=stats or query=tables for overviews, or a SELECT/WITH/PRAGMA statement. Do not use this to change data. Credential columns read as NULL. Returns JSON with query_type and either stats, a table list, or rows.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum SQL rows to return. Integer from 1 to 500. Default 100. |
query | string | stats, tables, or a read-only SQL SELECT/WITH/PRAGMA statement. Default stats. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_configured_tools List configured Toolbox tools
List MCP and Toolbox tools stored in Studio. Use this for Toolbox contents. Use list_studio_catalogue for entity counts across Studio. Each tool has a connection summary (transport, auth type, OAuth mode, URL host, header and env names) that never includes a secret value. Read-only. Returns JSON with tools and tool_count.
| Parameter | Type | Description |
|---|---|---|
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
get_model_providers Get model providers
List local inference backends and Studio-configured remote providers, with keys redacted. Use list_models when you only need model names. Use get_status with scope=services for port health only. Read-only. Returns JSON with services, local_models and remote_providers.
get_status Get status
Report MCP server status, Studio install health, and local service ports in one tool. Use scope=server for this MCP process, scope=install for the Studio app and database, scope=services for Local AI/MLX/Llama.cpp/Vibe/Nexus ports, or scope=all for every section. Read-only. Returns JSON for the chosen scope.
| Parameter | Type | Description |
|---|---|---|
scope | string | Which view to return. One of all, server, install, services. Default all. |
export_tool_config Export tool config
Export one Studio Toolbox tool configuration by name, toolId or id. Use this to copy a config. Use import_tool_config to save a pack for Toolbox import. Read-only. Returns JSON with the tool config, or an error and available names.
| Parameter | Type | Description |
|---|---|---|
tool_name * | string | Toolbox tool name, toolId or id to export. Non-empty string. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
sync_claude_preferences Sync Claude preferences
Compare Claude Desktop MCP server names with tools already in Msty Toolbox. Use this for a delta report. It does not write to Studio. Import missing tools with import_tool_config. Read-only. Returns JSON with claude_servers, msty_tools and a note that writes stay user-confirmed.
generate_persona Generate persona
Build a persona JSON pack and, when gated, insert it into Studio SQLite. Use this to create a persona. Use import_studio_pack for a full pack. Always writes a pack under ~/.msty-admin/imports/. SQLite insert needs confirm=true, MSTY_ALLOW_STUDIO_WRITES=1 in the server environment, and Studio must be closed. Name max 100 characters, system prompt max 20000. Returns JSON with pack_path and wrote.
| Parameter | Type | Description |
|---|---|---|
model * | string | Local model name to associate, for example llama3.2:3b. Used for partialModelInfo lookup only. |
name * | string | Persona name. 1 to 100 characters. Must be unique in Studio. |
system_prompt * | string | System prompt text. 1 to 20000 characters. Stored as JSON with mode append unless you ask for replace via import_studio_pack. |
confirm | boolean | Set true to insert into Studio after a backup. Default false (pack only). |
import_tool_config Import tool config
Save a Toolbox tool config as a JSON pack. Never writes the Studio database. Use this for tools. Use import_studio_pack for personas, prompts, skills and toolsets. Configs with command, args or env are flagged as running a program on your machine and stay pack-only. Returns JSON with pack_path, wrote=false, and launch_risk when present.
| Parameter | Type | Description |
|---|---|---|
tool_data * | object | Tool object with name, toolId and config. command, args and env are allowed in the pack but never inserted into SQLite. |
confirm | boolean | Accepted for symmetry. Tools are never inserted into SQLite. Default false. |
import_studio_pack Import Studio pack
Save a Studio pack as JSON. Tools, toolsets and skills stay pack-only. Personas and prompts insert only with confirm=true and MSTY_ALLOW_STUDIO_WRITES=1, after a backup, and only when Studio is closed. Use generate_persona for a single persona. Length caps apply (name/title 100, description 500, prompt 20000). Returns JSON with pack_path, wrote, status and any error.
| Parameter | Type | Description |
|---|---|---|
pack * | object | Pack object with optional personas, prompts, skills, tools, toolsets. include_escalation_persona adds the Frontier persona. |
confirm | boolean | Set true to insert personas and prompts into Studio. Default false (pack only). |
list_models List models
List models on a local backend. Use backend=all for every service, or local_ai, mlx, llamacpp, vibe or nexus. Use chat_with_model to talk to a listed model. Read-only aside from local HTTP. Returns JSON with backend and models, or an error when that service is down.
| Parameter | Type | Description |
|---|---|---|
backend | string | Which backend to list. One of all, local_ai, mlx, llamacpp, vibe, nexus. Default all. |
query_local_ai_service Query Local AI service
Call the Local AI (Ollama-compatible) HTTP API on an allow-list of read and chat paths. Use install_model to pull and set_model_settings to create a variant. Pull and create are refused here. Talks to the local network. Returns JSON with the API body or an allow-list error.
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | API path such as /api/tags or /v1/chat/completions. Leading slash optional. No query string. |
data | JSON body for POST. Omit for GET. | |
method | string | HTTP method. GET or POST. Default GET. |
chat_with_model Chat with model
Send a chat completion to a local model on Local AI, MLX or Llama.cpp. Use list_models first if you need names. Use ask_frontier for a cloud model. Calls the local OpenAI-compatible /v1/chat/completions endpoint. Not read-only. Returns the backend JSON or an error when the service is down.
| Parameter | Type | Description |
|---|---|---|
messages * | array | Chat messages. Each object needs role (system, user or assistant) and content. |
model * | string | Model name as listed by list_models for that backend. |
backend | string | Inference backend. One of local_ai, mlx, llamacpp. Default local_ai. |
get_hardware_profile Get hardware profile
Read chip, CPU cores, RAM, GPU/VRAM and Apple Silicon generation for model sizing. Use recommend_model to turn this into a model pick. Read-only. Returns JSON hardware fields.
recommend_model Recommend model
Recommend a local model from hardware fit, then 30-day Studio usage when it still fits. Use get_hardware_profile for the raw numbers. Use install_model to pull the pick. Read-only. Returns JSON with the recommendation and a hardware summary.
| Parameter | Type | Description |
|---|---|---|
use_case | string | Intended use. One of general, coding, chat, summarisation, or a short free-text use case. Default general. |
install_model Install model
Pull a model through Local AI (Ollama-compatible /api/pull). Use recommend_model to pick a size. MLX and Llama.cpp have no pull API here. Only bare Ollama names (registry.ollama.ai) and hf.co/ paths are allowed. Needs confirm=true to write. Returns JSON with wrote, model and any error.
| Parameter | Type | Description |
|---|---|---|
model * | string | Model to pull. Bare Ollama name such as llama3.2:3b, or hf.co/org/model. No other hosts. |
confirm | boolean | Set true to run /api/pull. Default false (preview). |
service | string | Pull service. local_ai only. mlx and llamacpp are refused. Default local_ai. |
set_model_settings Set model settings
Create a tuned Ollama variant via /api/create from an installed base model. Use install_model first if the base is missing. Does not overwrite an existing name. Needs confirm=true to write. Returns JSON with wrote, variant and a Modelfile preview.
| Parameter | Type | Description |
|---|---|---|
base_model * | string | Installed base model name, for example llama3.2:3b. |
variant_name * | string | New variant name to create. Must not already exist. |
confirm | boolean | Set true to POST /api/create. Default false (preview). |
num_ctx | Context window in tokens. Positive integer. Omit to leave unset. | |
system | System prompt for the variant. Max 20000 characters. Omit to leave unset. | |
temperature | Sampling temperature 0 to 2. Omit to leave unset. | |
top_p | Nucleus sampling 0 to 1. Omit to leave unset. |
get_vibe_proxy_status Get Vibe proxy status
Check whether the Vibe CLI proxy port is up. Use query_vibe_proxy to send a query. Local HTTP. Returns JSON status or unavailable.
query_vibe_proxy Query Vibe proxy
Send a query to the Vibe CLI proxy. Use get_vibe_proxy_status first if you only need liveness. Local HTTP POST. Returns the proxy JSON or an error when the proxy is down.
| Parameter | Type | Description |
|---|---|---|
query * | string | Query text to send to the Vibe proxy. Non-empty string. |
get_model_performance_metrics Get model performance metrics
Read token, latency and call counts from Studio insightsLanguageModelUsage. Use get_insights_usage as the same data under a shorter name. Use get_conversation_patterns for chat shape. Read-only. Returns JSON totals and per-model rows.
| Parameter | Type | Description |
|---|---|---|
model_id | Optional model id to filter. Omit for all models. | |
timeframe | string | Window such as 7d, 30d or all. Default 7d. |
get_conversation_patterns Get conversation patterns
Summarise conversation patterns from Studio data for one model or all models. Use get_model_performance_metrics for speed and token counts. Read-only. Returns JSON pattern stats.
| Parameter | Type | Description |
|---|---|---|
model_id | Optional model id to filter. Omit for all models. |
compare_model_responses Compare model responses
Send the same prompt to several Local AI models and compare latency and a preview of each reply. Use chat_with_model for a full conversation with one model. Calls local inference. Returns JSON with comparisons. Best-effort if a model is cold.
| Parameter | Type | Description |
|---|---|---|
models * | array | Local AI model names to compare. At least one name. |
prompt * | string | Prompt to send to every listed model. Non-empty string. |
optimise_knowledge_stacks Optimise knowledge stacks
Suggest Knowledge Stack changes from live Studio Next Gen, draft and compose status. Does not edit stacks. Use list_knowledge_stacks to browse them. Read-only. Returns JSON suggestions.
suggest_persona_improvements Suggest persona improvements
Suggest persona edits from live Studio personas. Does not write personas. Use generate_persona to create one. Read-only. Returns JSON suggestions.
run_calibration_test Run calibration test
Run heuristic calibration prompts against a Local AI model and store scores in ~/.msty-admin. Use evaluate_response_quality to score a single reply without calling the model. Calls local inference and writes sidecar metrics. Returns JSON with tests_run and average_score.
| Parameter | Type | Description |
|---|---|---|
category | string | Prompt category, or general for one prompt per category. Default general. |
model_id | Local AI model to test. Omit to use the first installed model. |
evaluate_response_quality Evaluate response quality
Score a prompt and reply with a local heuristic rubric. Does not call a model. Use run_calibration_test to generate replies first. Read-only. Returns JSON with quality_score, passed and criteria.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Original prompt text. |
response * | string | Model reply to score. |
category | string | Rubric category such as general, analysis or coding. Default general. |
identify_handoff_triggers Identify handoff triggers
Flag models that look slow or low-throughput from 30-day Studio insights. This only reports. Use escalate_if_needed or ask_frontier to send a question to the cloud. Read-only. Returns JSON triggers and hook_api.
escalate_if_needed Escalate if needed
Send a hard question to Cursor, Grok or Claude via the Frontier helper. Use ask_frontier for the same call without a reason field. Use identify_handoff_triggers to decide whether to escalate. Calls the network. Needs the matching API key. Returns JSON with escalated, answer and hook_api.
| Parameter | Type | Description |
|---|---|---|
question * | string | Question to send to the cloud model. |
provider | Cloud provider: cursor, grok or claude. Default cursor. | |
reason | string | Optional reason recorded in the result. Default empty. |
get_calibration_history Get calibration history
Read calibration scores from the sidecar metrics database under ~/.msty-admin. Use run_calibration_test to add rows. Read-only. Returns JSON history rows.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 50. |
model_id | Optional model id to filter. Omit for all models. |
bloom_evaluate_model Bloom evaluate model
Run a Bloom behavioural evaluation on a local model. Never invents a score. Needs ANTHROPIC_API_KEY and a Bloom checkout. Use bloom_validate_model first. Calls the network. Returns JSON with quality_score or an honest error and quality_score null.
| Parameter | Type | Description |
|---|---|---|
behavior * | string | Bloom behaviour id from bloom_list_behaviors. |
model * | string | Local Ollama model name, for example llama3.2:3b. |
max_turns | integer | Maximum conversation turns per scenario. Integer 1 to 10. Default 2. |
task_category | Optional task category for thresholds. Omit for default. | |
total_evals | integer | Number of evaluation scenarios. Integer 1 to 20. Default 3. |
bloom_check_handoff Bloom check handoff
Decide from Bloom history whether a model should hand off a task category. Does not call Bloom. Use bloom_evaluate_model to add history. Read-only. Returns JSON handoff advice.
| Parameter | Type | Description |
|---|---|---|
model * | string | Local model name whose Bloom history to read. |
task_category * | string | Task category such as research, coding or advisory. |
bloom_get_history Bloom get history
Read persisted Bloom evaluation rows from ~/.msty-admin/bloom-history.json. Use bloom_evaluate_model to add rows. Read-only. Returns JSON evaluations.
| Parameter | Type | Description |
|---|---|---|
behavior | Optional behaviour id filter. | |
model | Optional model name filter. |
bloom_list_behaviors Bloom list behaviours
List Bloom behaviours this server can evaluate. Use bloom_evaluate_model with one of these ids. Read-only. Returns JSON behaviors and count.
bloom_get_thresholds Bloom get thresholds
Read quality thresholds and handoff triggers for a task category. Use bloom_check_handoff to apply them to history. Read-only. Returns JSON thresholds.
| Parameter | Type | Description |
|---|---|---|
task_category * | string | Task category such as research, coding, advisory or general. |
bloom_validate_model Bloom validate model
Check whether a local Ollama model is reachable and suitable for Bloom. Use this before bloom_evaluate_model. Local HTTP. Returns JSON validation fields.
| Parameter | Type | Description |
|---|---|---|
model * | string | Local Ollama model name to validate. |
list_studio_catalogue List Studio catalogue
Return row counts for every known Studio entity type. Use a specific list_* tool for the rows themselves. Read-only. Returns JSON counts.
| Parameter | Type | Description |
|---|---|---|
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_workspaces List workspaces
List Studio workspaces. Use get_studio_entity with entity=workspaces for one workspace, and list_studio_catalogue for counts. On Studio 3.0 the storage key shows where each workspace lives, which one is active, and any stale copy left behind by a storage move. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
list_personas List personas
List personas from Persona Studio. Use generate_persona to create one, list_shadow_personas for Shadow Personas, and get_studio_entity for one row. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_shadow_personas List shadow personas
List Shadow Personas, which are variants of ordinary personas. Use list_personas for the main Persona Studio list, and get_studio_entity for one row. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_crews List crews
List Crew Mode crews from Studio, with crew folders on Studio 3.0. Use get_studio_entity with entity=crews for one crew, and list_personas for members. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_knowledge_stacks List knowledge stacks
List Knowledge Stacks, including Next Gen stacks. Use optimise_knowledge_stacks for suggestions, and get_studio_entity for one stack. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_turnstiles List turnstiles
List Turnstile and Turnstiles vNext routing definitions from Studio. Use get_studio_entity with entity=turnstiles for one row, and list_studio_catalogue for counts. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_skills List skills
List Skills Studio preferences and folders. Skills are imported as JSON packs, not SQLite inserts. Read-only. Returns JSON skills and folders.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_live_contexts List live contexts
List Live Contexts that Studio injects into chats. Use list_context_studio for attachment files, and get_studio_entity for one row. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_prompts List prompts
List Prompts Studio library entries. Use import_studio_pack to add prompts, and get_studio_entity for one row. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_context_studio List Context Studio
List Context Studio attachments and their folders. Use list_live_contexts for Live Context rows, and get_studio_entity for one attachment. Read-only. Returns JSON attachments and folders up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
list_agent_plans List agent plans
List Agent Mode plans stored in Studio. Use get_studio_entity with entity=agent_plans for one plan, and list_crews for Crew Mode. Read-only. Returns JSON items up to limit.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 500. Default 100. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
get_studio_entity Get Studio entity
Fetch one Studio entity by catalogue type and id. Use the matching list_* tool to discover ids. Plural keys are canonical. Singular aliases are accepted. Read-only. Returns JSON item or the allowed type list.
| Parameter | Type | Description |
|---|---|---|
entity * | string | Catalogue key such as personas, crews or knowledge_stacks. Singular aliases such as persona are accepted. |
entity_id * | string | Row id in that table. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
get_schema_migrations Get schema migrations
Show recent Drizzle schema migrations from the Studio database. Use get_msty_installation for the app version. Read-only. Returns JSON migrations.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum rows. Integer from 1 to 100. Default 20. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
export_workflow_pack Export workflow pack
Export a read-only workflow pack of personas, tools, turnstiles and stacks. Does not write Studio. Use import_studio_pack to bring a pack back in. Returns JSON pack.
| Parameter | Type | Description |
|---|---|---|
include | Optional entity kinds to include, such as personas or tools. Omit for the default set. | |
limit | integer | Maximum rows per kind. Integer from 1 to 500. Default 200. |
workspace | Optional Studio workspace name, slug or id from list_workspaces. Omit for the active workspace. |
get_nexus Get Nexus
Detect the Msty Nexus local gateway and its port. Use list_models with backend=nexus for model names. Local HTTP. Returns JSON found, endpoint and port.
query_nexus Query Nexus
Call the Nexus OpenAI-compatible gateway with a path. Use list_models with backend=nexus for model names. Local HTTP. Returns the gateway JSON or an error.
| Parameter | Type | Description |
|---|---|---|
data | JSON body for POST. Omit for GET. | |
method | string | HTTP method. GET or POST. Default GET. |
path | string | Gateway path such as /v1/models or /v1/chat/completions. Default /v1/models. |
get_insights_usage Get insights usage
Read Studio insights usage for one model or all models. Same data as get_model_performance_metrics. Read-only. Returns JSON totals and models.
| Parameter | Type | Description |
|---|---|---|
model_id | Optional model id to filter. Omit for all models. | |
timeframe | string | Window such as 7d, 30d or all. Default 7d. |
ask_frontier Ask Frontier
Send one hard question to Cursor (default), Grok or Claude and return the answer. Stay as this one tool. Use escalate_if_needed when you also want a reason field. Calls the network. Needs the matching API key. Call once, then stop. Returns the answer text.
| Parameter | Type | Description |
|---|---|---|
question * | string | Question for the cloud model. |
fresh | boolean | Set true to start a new cloud chat instead of continuing the last session. Default false. |
provider | Cloud provider: cursor, grok or claude. Default cursor. |