Msty Admin MCP

v6.3.1
io.github.M-Pineapple/msty-admin-mcp Checked 14 hours ago Published 1 day ago

Administers 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.

ParameterTypeDescription
limitintegerMaximum SQL rows to return. Integer from 1 to 500. Default 100.
querystringstats, tables, or a read-only SQL SELECT/WITH/PRAGMA statement. Default stats.
workspaceOptional 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.

ParameterTypeDescription
workspaceOptional 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.

ParameterTypeDescription
scopestringWhich 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.

ParameterTypeDescription
tool_name *stringToolbox tool name, toolId or id to export. Non-empty string.
workspaceOptional 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.

ParameterTypeDescription
model *stringLocal model name to associate, for example llama3.2:3b. Used for partialModelInfo lookup only.
name *stringPersona name. 1 to 100 characters. Must be unique in Studio.
system_prompt *stringSystem prompt text. 1 to 20000 characters. Stored as JSON with mode append unless you ask for replace via import_studio_pack.
confirmbooleanSet 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.

ParameterTypeDescription
tool_data *objectTool object with name, toolId and config. command, args and env are allowed in the pack but never inserted into SQLite.
confirmbooleanAccepted 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.

ParameterTypeDescription
pack *objectPack object with optional personas, prompts, skills, tools, toolsets. include_escalation_persona adds the Frontier persona.
confirmbooleanSet 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.

ParameterTypeDescription
backendstringWhich 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.

ParameterTypeDescription
endpoint *stringAPI path such as /api/tags or /v1/chat/completions. Leading slash optional. No query string.
dataJSON body for POST. Omit for GET.
methodstringHTTP 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.

ParameterTypeDescription
messages *arrayChat messages. Each object needs role (system, user or assistant) and content.
model *stringModel name as listed by list_models for that backend.
backendstringInference 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.

ParameterTypeDescription
use_casestringIntended 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.

ParameterTypeDescription
model *stringModel to pull. Bare Ollama name such as llama3.2:3b, or hf.co/org/model. No other hosts.
confirmbooleanSet true to run /api/pull. Default false (preview).
servicestringPull 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.

ParameterTypeDescription
base_model *stringInstalled base model name, for example llama3.2:3b.
variant_name *stringNew variant name to create. Must not already exist.
confirmbooleanSet true to POST /api/create. Default false (preview).
num_ctxContext window in tokens. Positive integer. Omit to leave unset.
systemSystem prompt for the variant. Max 20000 characters. Omit to leave unset.
temperatureSampling temperature 0 to 2. Omit to leave unset.
top_pNucleus 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.

ParameterTypeDescription
query *stringQuery 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.

ParameterTypeDescription
model_idOptional model id to filter. Omit for all models.
timeframestringWindow 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.

ParameterTypeDescription
model_idOptional 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.

ParameterTypeDescription
models *arrayLocal AI model names to compare. At least one name.
prompt *stringPrompt 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.

ParameterTypeDescription
categorystringPrompt category, or general for one prompt per category. Default general.
model_idLocal 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.

ParameterTypeDescription
prompt *stringOriginal prompt text.
response *stringModel reply to score.
categorystringRubric 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.

ParameterTypeDescription
question *stringQuestion to send to the cloud model.
providerCloud provider: cursor, grok or claude. Default cursor.
reasonstringOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 50.
model_idOptional 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.

ParameterTypeDescription
behavior *stringBloom behaviour id from bloom_list_behaviors.
model *stringLocal Ollama model name, for example llama3.2:3b.
max_turnsintegerMaximum conversation turns per scenario. Integer 1 to 10. Default 2.
task_categoryOptional task category for thresholds. Omit for default.
total_evalsintegerNumber 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.

ParameterTypeDescription
model *stringLocal model name whose Bloom history to read.
task_category *stringTask 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.

ParameterTypeDescription
behaviorOptional behaviour id filter.
modelOptional 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.

ParameterTypeDescription
task_category *stringTask 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.

ParameterTypeDescription
model *stringLocal 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.

ParameterTypeDescription
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 500. Default 100.
workspaceOptional 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.

ParameterTypeDescription
entity *stringCatalogue key such as personas, crews or knowledge_stacks. Singular aliases such as persona are accepted.
entity_id *stringRow id in that table.
workspaceOptional 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.

ParameterTypeDescription
limitintegerMaximum rows. Integer from 1 to 100. Default 20.
workspaceOptional 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.

ParameterTypeDescription
includeOptional entity kinds to include, such as personas or tools. Omit for the default set.
limitintegerMaximum rows per kind. Integer from 1 to 500. Default 200.
workspaceOptional 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.

ParameterTypeDescription
dataJSON body for POST. Omit for GET.
methodstringHTTP method. GET or POST. Default GET.
pathstringGateway 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.

ParameterTypeDescription
model_idOptional model id to filter. Omit for all models.
timeframestringWindow 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.

ParameterTypeDescription
question *stringQuestion for the cloud model.
freshbooleanSet true to start a new cloud chat instead of continuing the last session. Default false.
providerCloud provider: cursor, grok or claude. Default cursor.