{"apiVersion":"v1","directorySlug":"codesmell-mcp-a7ff0f5302","title":"codesmell","description":"codesmell detects code smells — long functions, deep nesting, duplicated code, magic numbers, empty catches — deterministically, with no LLM. Paste code in the playground or point any MCP client at the remote server.","pageUrl":"https://www.mcpbundles.com/skills/codesmell-mcp-a7ff0f5302","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://codesmell.net/api/mcp","hostedMcpUrl":null,"toolCount":2,"toolInventoryStatus":"observed","refreshedAt":"2026-11-03T13:26:00.516172+00:00","registryName":"net.codesmell/codesmell-mcp-a7ff0f5302","registryVersion":"2026.11.3","registryEligible":true,"tools":[{"name":"detect","description":"Detect code smells in source code. Deterministic heuristics, no LLM: long functions, long parameter lists, deep nesting, duplicated code, god files, long lines, magic numbers, empty catches, debug prints, TODO comments, commented-out code, nested ternaries. Returns smells with severity and line numbers plus stats and a 0–100 health score. Works with JS/TS, Python, Go, Rust, Java, C#, C/C++, Ruby, PHP.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["code"],"properties":{"code":{"type":"string"},"filename":{"type":"string"},"language":{"enum":["typescript","javascript","python","go","rust","java","csharp","c","cpp","ruby","php"],"type":"string"},"thresholds":{"type":"object","properties":{"maxParams":{"type":"integer","maximum":9007199254740991,"minimum":1},"maxNesting":{"type":"integer","maximum":9007199254740991,"minimum":1},"maxFileLines":{"type":"integer","maximum":9007199254740991,"minimum":1},"maxLineLength":{"type":"integer","maximum":9007199254740991,"minimum":1},"maxFileFunctions":{"type":"integer","maximum":9007199254740991,"minimum":1},"maxFunctionLines":{"type":"integer","maximum":9007199254740991,"minimum":1},"duplicateBlockLines":{"type":"integer","maximum":9007199254740991,"minimum":2}}}}},"logicalName":"detect","displayName":"detect","title":"detect","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"rules","description":"List the code smell rules this server can detect, with severity, description, and default threshold.","inputSchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{}},"logicalName":"rules","displayName":"rules","title":"rules","annotations":{"untrustedContentHint":true,"readOnlyHint":true}}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=codesmell&config=eyJ1cmwiOiAiaHR0cHM6Ly9jb2Rlc21lbGwubmV0L2FwaS9tY3AifQ%3D%3D"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22codesmell%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcodesmell.net%2Fapi%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22codesmell%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcodesmell.net%2Fapi%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=codesmell&connectorUrl=https%3A%2F%2Fcodesmell.net%2Fapi%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"codesmell\" --url \"https://codesmell.net/api/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/codesmell-mcp-a7ff0f5302","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/codesmell-mcp-a7ff0f5302/tools/{tool}","mcpServerUrl":"https://codesmell.net/api/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/codesmell-mcp-a7ff0f5302?live=1"}