drio
Open app

MCP SSE Server and STDIO Server Examples

Source

MCP server that can execute terminal commands

Catalog onlyCatalog onlySTDIO

Overview

MCP Server is a tool that allows users to execute terminal commands through an AI interface, specifically designed to work with Claude for Desktop.

To use the MCP Server, install Claude for Desktop, set up Python and the required tools, and run the server script. You can then send commands to be executed in your terminal via Claude.

  • Executes terminal commands through AI. - Integrates with Claude for Desktop for seamless command execution. - Supports a structured directory for managing MCP servers.
  1. Running shell commands directly from an AI interface.
  2. Automating terminal tasks using voice commands.
  3. Integrating with other applications for enhanced functionality.

Add to your AI client

Use these steps to connect MCP SSE Server and STDIO Server Examples in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "terminal-server-theailanguage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-terminal-server-theailanguage"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "terminal-server-theailanguage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-terminal-server-theailanguage"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "terminal-server-theailanguage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-terminal-server-theailanguage"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "terminal-server-theailanguage": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-terminal-server-theailanguage"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "terminal-server-theailanguage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-terminal-server-theailanguage"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "terminal-server-theailanguage": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-terminal-server-theailanguage"
      ]
    }
  }
}

FAQ

Can MCP Server run any terminal command?

Yes, it can run most terminal commands, but be cautious with commands that may affect system security.

Is there a limit to the commands I can execute?

There is no strict limit, but the commands should be safe and appropriate for execution in your environment.

How do I troubleshoot if a command fails?

Check the command syntax and ensure that the required permissions are set for the terminal.