{
  "name": "code-executor",
  "display_name": "Code Executor",
  "description": "An MCP server that allows LLMs to execute Python code within a specified Conda environment.",
  "repository": {
    "type": "git",
    "url": "https://github.com/bazinga012/mcp_code_executor"
  },
  "homepage": "https://github.com/bazinga012/mcp_code_executor",
  "author": {
    "name": "bazinga012"
  },
  "license": "MIT",
  "categories": [
    "Dev Tools"
  ],
  "tags": [
    "Python",
    "Conda",
    "Execution"
  ],
  "examples": [
    {
      "title": "Execute Python Code",
      "description": "An example of executing Python code using MCP Code Executor",
      "prompt": "Please execute the following code: print('Hello, World!')"
    }
  ],
  "installations": {
    "npm": {
      "type": "npm",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/bazinga012/mcp_code_executor"
      ],
      "env": {
        "CODE_STORAGE_DIR": "${CODE_STORAGE_DIR}",
        "CONDA_ENV_NAME": "${CONDA_ENV_NAME}"
      }
    }
  },
  "arguments": {
    "CODE_STORAGE_DIR": {
      "description": "The directory where the generated code will be stored.",
      "required": true,
      "example": "/path/to/code/storage"
    },
    "CONDA_ENV_NAME": {
      "description": "The name of the Conda environment in which the code will be executed.",
      "required": true,
      "example": "your-conda-env"
    }
  },
  "tools": [
    {
      "name": "execute_code",
      "description": "Execute Python code in the specified conda environment",
      "inputSchema": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Python code to execute"
          },
          "filename": {
            "type": "string",
            "description": "Optional: Name of the file to save the code (default: generated UUID)"
          }
        },
        "required": [
          "code"
        ]
      }
    }
  ]
}