MCP.so
ログイン

DeepSeek MCP-like Server for Terminal

@OthmaneBlial

DeepSeek MCP-like Server for Terminal について

A MCP‑like server using the DeepSeek API for Terminal

基本情報

カテゴリ

開発者ツール

ライセンス

MIT

ランタイム

python

トランスポート

stdio

公開者

OthmaneBlial

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "term_mcp_deepseek": {
      "command": "python3",
      "args": [
        "-m",
        "venv",
        "venv"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is DeepSeek MCP-like Server for Terminal?

An MCP‑like server that uses the DeepSeek API to let AI assistants list tools and execute shell commands via a persistent Bash session. It includes a web chat interface and is designed as a proof-of-concept for the Model Context Protocol ideas. Developers or users who want to enable terminal command execution through an AI chat will find this useful.

How to use DeepSeek MCP-like Server for Terminal?

Clone the repository, set up a Python virtual environment (3.8+), install dependencies, and configure your DeepSeek API key in .env. Run the server with the startup script (./startup.sh) or manually (python server.py), then access the chat interface at http://127.0.0.1:8000. Docker deployment is also supported via docker-compose up -d. Use the /chat endpoint for AI‑driven command execution or the /mcp/* endpoints for tool discovery and invocation.

Key features of DeepSeek MCP-like Server for Terminal

  • Web chat client built with Flask and Tailwind CSS.
  • AI integration with DeepSeek API for response generation.
  • Executes shell commands via a persistent Bash session (pexpect).
  • MCP endpoints: /mcp/list_tools and /mcp/call_tool.
  • Real-time streaming via Server-Sent Events (SSE).
  • Basic authentication, rate limiting, and input validation.
  • Multiple transport options: HTTP REST and STDIO.
  • Session management and Docker containerization.

Use cases of DeepSeek MCP-like Server for Terminal

  • Letting an AI assistant run terminal commands and return output.
  • Automating system administration tasks through natural language chat.
  • Experimenting with MCP concepts in a controlled development environment.
  • Providing a demo or prototype for AI‑driven terminal interactions.

FAQ from DeepSeek MCP-like Server for Terminal

Is this a fully compliant MCP server?

No. This is a proof‑of‑concept that captures many MCP ideas but does not yet fully comply with Anthropic’s MCP specification. It lacks complete JSON‑RPC support, advanced authentication, and comprehensive error handling needed for production use.

What are the dependencies and runtime requirements?

Python 3.8+, pip, and a valid DeepSeek API key are required. The server uses Flask, pexpect, and expects the API key set in a .env file.

Where does my data live?

All data (sessions, conversation state) is stored locally on the machine running the server. No external database is used.

What transports and authentication are supported?

Two transports: HTTP REST API and STDIO command‑line interface. Basic authentication, rate limiting, and security headers are included but are described as “basic” and not production‑grade.

What are the known limitations?

The server is not production‑ready. It lacks full JSON‑RPC protocol support, per‑user session isolation, proper input sanitization, and advanced error handling. Future improvements are planned for protocol standardization, real‑time communication, and modular code architecture.

コメント

「開発者ツール」の他のコンテンツ