Skip to main content
Glama
shimi-ask

shimi-ask

shimi-ask — MCP Ask Server

שרת MCP מקומי (Streamable HTTP) שמאפשר ל־ChatGPT לענות על שאלות לפי הוראות שהמפעיל (שימי) מגדיר.

A local MCP server so ChatGPT (Developer Mode) can answer questions according to operator-controlled instructions. No OpenAI API key required on the server.

התקנה והרצה / Install & run

cd /workspace/chatgpt-mcp-ask
npm install
npm run build
npm start

פיתוח עם reload:

npm run dev
  • MCP URL (מקומי): http://localhost:3000/mcp

  • Health: http://localhost:3000/health

  • פורט: 3000 (או משתנה סביבה PORT)

  • Host: ברירת מחדל 127.0.0.1 (HOST=0.0.0.0 ל־Docker / גישה חיצונית)

משתני סביבה אופציונליים:

משתנה

ברירת מחדל

תיאור

PORT

3000

פורט האזנה

HOST

127.0.0.1

כתובת bind

ALLOWED_HOSTS

(אוטומטי ל־localhost)

רשימה מופרדת בפסיקים ל־Host header (למשל דומיין של tunnel)

Related MCP server: local-mcp-chatgpt-tunnel

כלים / Tools

  1. ask_question — עונה לשאלה לפי ההוראות השמורות בלבד (ללא LLM חיצוני בשרת).

  2. set_instructions — מחליף את מלוא טקסט ההוראות ושומר ל־data/instructions.txt.

  3. get_instructions — קורא את ההוראות הנוכחיות.

חיבור ל־ChatGPT (Developer Mode)

  1. Settings → Security and login → הפעל Developer mode.

  2. לך ל־Plugins → + → הוסף אפליקציית developer-mode.

  3. כתובת ה־MCP חייבת להיות HTTPS ציבורי שמסתיים ב־/mcp, או השתמש ב־Secure MCP Tunnel לשרת מקומי.

מקומי עם Tunnel

השרת אצלך רץ על http://localhost:3000/mcp. ChatGPT לא יכול לגשת ל־localhost ישירות — צריך:

  • Secure MCP Tunnel (אם זמין בחשבון), או

  • Tunnel חיצוני (למשל Cloudflare Tunnel / ngrok) שמפרסם HTTPS ל־/mcp.

אם ה־Host של ה־tunnel אינו localhost, הגדר למשל:

HOST=0.0.0.0 ALLOWED_HOSTS=your-tunnel.example.com,localhost,127.0.0.1 npm start

אחרי החיבור

  1. קרא ל־set_instructions עם ההנחיות שלך (או ערוך את data/instructions.txt והפעל מחדש).

  2. שאל שאלות — ChatGPT אמור להשתמש ב־ask_question.

קבצים חשובים

  • src/index.ts — Express + Streamable HTTP על /mcp

  • src/server.ts — רישום הכלים + instructions ל־MCP

  • src/answer.ts — מענה דטרמיניסטי לפי ההוראות

  • src/instructionsStore.ts — טעינה/שמירה ל־data/instructions.txt

  • data/instructions.txt — הוראות המפעיל

Docker (אופציונלי)

docker build -t shimi-ask .
docker run --rm -p 3000:3000 -v "$(pwd)/data:/app/data" -e HOST=0.0.0.0 shimi-ask

הערות

  • אין OAuth / אימות ב־v1.

  • אין צורך במפתח OpenAI בשרת — התשובות נגזרות מהוראות המפעיל בלבד.

  • פרויקט מקומי בלבד (ללא git / GitHub / Origin אלא אם תוסיף בעצמך).

Available Tools

3 tools
ask_questionAsk questionA
Read-only

Use when the user asks something that should be answered per the operator’s current instructions. Do not invent facts outside those instructions; if empty/insufficient, say so.

Inputs: question (required).

get_instructionsGet instructionsA
Read-only

Read current operator instructions.

Inputs: no named parameters.

set_instructionsSet instructionsA

Use when the operator wants to command how future questions are answered. Replaces full instruction text.

Inputs: instructions (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct role: reading instructions, asking a question constrained by those instructions, and setting instructions. No overlap in purpose.

    Naming Consistency5/5

    All tools follow the same verb_noun snake_case pattern: get_instructions, ask_question, set_instructions. Perfectly consistent.

    Tool Count5/5

    Three tools is a well-scoped set for a focused instruction-based Q&A server. Each tool earns its place.

    Completeness5/5

    The server covers the full lifecycle: read instructions, set instructions, and use them to answer questions. No obvious missing operations for its stated purpose.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables ChatGPT Web Developer Mode to interact with local repositories through MCP, providing tools for file editing, shell execution, Git worktrees, semantic navigation, and checkpoints.
      151 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables ChatGPT Developer Mode to securely invoke multiple Windows-local stdio MCP servers through a single gateway, with tool namespacing, path restrictions, and serial execution control. It includes safe-file, image, and download tools for local workspace interaction.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A secure MCP server that gives ChatGPT access to local terminal, files, and background processes, and lets it discover, manage, and call any registered MCP server on the machine.
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables ChatGPT Web to securely access local files and run commands via MCP, with optional OpenCode agent mode for autonomous tasks.
      -