jsonshim-mcp
A one-file MCP stdio server that provides two tools, recover_json and classify_json_failure, to handle cases where an LLM returns malformed JSON instead of valid output. It uses only the standard library, requires no installation or network calls, and is released under CC0 1.0.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Recover valid JSON from malformed LLM responses
- Classify the specific type of JSON failure in model output
- Integrate JSON recovery into agent workflows via stdio
Source and maintenance
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
jsonshim-mcp 1.0.2
{
"version": "1.0.2",
"transport": "stdio",
"identifier": "jsonshim-mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"jsonshim-mcp": {
"command": "npx",
"args": [
"-y",
"jsonshim-mcp@1.0.2"
]
}
}
}Cline
{
"mcpServers": {
"jsonshim-mcp": {
"command": "npx",
"args": [
"-y",
"jsonshim-mcp@1.0.2"
]
}
}
}VS Code
{
"servers": {
"jsonshim-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"jsonshim-mcp@1.0.2"
]
}
}
}Claude Desktop
{
"mcpServers": {
"jsonshim-mcp": {
"command": "npx",
"args": [
"-y",
"jsonshim-mcp@1.0.2"
]
}
}
}Let your agent find its tools
Find servers like jsonshim-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.