drio
Open app

Mcp_server_client_assessment

Source

Catalog onlyCatalog onlySTDIO

Overview

Mcp_server_client_assessment is a project that implements an MCP-based Client-Server System where a client sends a query, the server processes it using Ollama LLM, generates a system command, executes it, and returns the output.

To use this project, clone the repository, install the required dependencies, start the server, and then run the client to send queries.

  • Utilizes FastAPI for building the server. - Processes queries using Ollama LLM. - Executes system commands and returns outputs.
  1. Sending queries to a server for processing.
  2. Executing system commands based on client requests.
  3. Integrating with other applications that require command execution.

Add to your AI client

Use these steps to connect Mcp_server_client_assessment 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": {
    "mcp-server-client-assessment-hamzabarak": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-client-assessment-hamzabarak"
      ]
    }
  }
}

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": {
    "mcp-server-client-assessment-hamzabarak": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-client-assessment-hamzabarak"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-server-client-assessment-hamzabarak": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-client-assessment-hamzabarak"
      ]
    }
  }
}

VS Code (Copilot)

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

.vscode/mcp.json

{
  "servers": {
    "mcp-server-client-assessment-hamzabarak": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-client-assessment-hamzabarak"
      ]
    }
  }
}

Windsurf

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

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-server-client-assessment-hamzabarak": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-client-assessment-hamzabarak"
      ]
    }
  }
}

Cline

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

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-server-client-assessment-hamzabarak": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-client-assessment-hamzabarak"
      ]
    }
  }
}

FAQ

What are the prerequisites for running this project?

You need Python 3.8+, Pip package manager, Ollama installed and running, and MCP Python SDK installed.

How do I start the server?

After cloning the repository and installing dependencies, you can start the server by running `python server.py`.

Can I run the client without the server?

No, the client needs to connect to the server to send queries and receive responses.