Agentcast MCP Server

Structured-output enforcer: extract and validate JSON from messy LLM text.

Local serverstdioGo

What is the Agentcast MCP Server?

Structured-output enforcer: extract and validate JSON from messy LLM text.

The short version

An MCP server that gives AI assistants the ability to enforce structured output: extract JSON from messy LLM text, gate it against a shape spec, and produce the retry feedback message when the model returns the wrong shape.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
extract_jsonPull a JSON value out of messy LLM output. Tries the whole text, then a fenced json block, then the largest balanced {...} / [...] substring. Returns the parsed value plus which strategy succeeded.
validate_responseValidate a parsed JSON value against an agentcast shape spec. Spec maps field name to type: string, number, boolean, array, object. Suffix with ? for optional.
build_retry_promptGiven an attempt history, produce the validation-error feedback message agentcast appends to the conversation when the model returned the wrong shape. Codifies the "validation error as feedback" pattern for non-Node MCP

How to install the Agentcast MCP Server

{
  "mcpServers": {
    "agentcast": {
      "command": "npx",
      "args": ["-y", "@mukundakatta/agentcast-mcp"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • “Use Agentcast to extract json.”
  • “Use Agentcast to validate response.”
  • “Use Agentcast to build retry prompt.”

Frequently asked questions

Structured-output enforcer: extract and validate JSON from messy LLM text. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.