
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A minimal Model Context Protocol server implementation offering mock tools, OpenAI chat and vision plugins, a streamable HTTP endpoint, and a user data API.
Reference MCP server with mock tools is cataloged as an MCP server attributed to zack-dev-cm. A minimal Model Context Protocol server implementation offering mock tools, OpenAI chat and vision plugins, a streamable HTTP endpoint, and a user data API. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Reference MCP server with mock tools are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Clients supporting Server-Sent Events can issue a GET to /mcp and keep the connection open to stream updates.
Authenticated sessions obtain a session ID used as a bearer token to store, fetch, and delete user-specific JSON payloads.
README.md · 13c63d029c33 · 采集于 2026-11-13 11:40:13 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A minimal reference implementation of the Model Context Protocol (MCP) with a few mock tools and an optional Gradio playground.
Run the server locally:
python server.py
Create a dev.env file and add your OpenAI API key:
OPENAI_API_KEY=your-openai-key
Inside Google Colab or other notebooks use the helper:
from colab_adapter import launch_in_colab
launch_in_colab()
The API is served on port 8000 by default and the Gradio UI will try to use GRADIO_SERVER_PORT or the first free port starting at 7860.
Open MCP_colab.ipynb in Colab or click the badge above and run the cells.
If starting from a blank notebook, run these commands to set up and launch the server:
!git clone https://github.com/zack-dev-cm/mcp_server.git
%cd /content/mcp_server
!pip install fastapi uvicorn[standard] gradio==4.* pydantic python-dotenv \
httpx openai pydantic-settings
from colab_adapter import launch_in_colab
launch_in_colab()
You can now query the API from another cell:
import requests, time
time.sleep(2)
print(requests.get("http://localhost:8000/v1/resources").json())
The server output shows a public URL for the Gradio interface so you can try the demo visually.
Plugins can extend the server with new tools. The included openai_chat and openai_vision plugins show how to call OpenAI models. Set OPENAI_API_KEY in your environment and start the server.
If running locally, install the required packages first:
pip install openai httpx pydantic-settings
python server.py
The Dockerfile installs openai automatically. Invoke the openai.chat or openai.vision tools via the API or Gradio UI.
ChatGPT connectors can talk directly to the server using the unified /mcp route.
Send JSON‑RPC requests with POST /mcp to receive standard JSON responses. When
your client supports Server‑Sent Events you may instead GET /mcp and keep the
connection open to stream updates.
Configure your ChatGPT connector to point at your server’s base URL and use the
/mcp endpoint for both non‑streaming and streaming interactions.
Authenticated sessions can store and manage user‑specific JSON payloads. First request a session ID then pass it as a bearer token:
# create a session and grab the token
TOKEN=$(curl -s -X POST http://localhost:8000/v1/initialize \
-H 'Content-Type: application/json' \
-d '{"id":1,"jsonrpc":"2.0","method":"initialize","params":{}}' \
| jq -r '.result.sessionId')
# store data
curl -X POST http://localhost:8000/api/user/data \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d '{"foo":"bar"}'
# fetch it back
curl -H "Authorization: Bearer $TOKEN" http://localhost:8000/api/user/data
# remove it
curl -X DELETE -H "Authorization: Bearer $TOKEN" \
http://localhost:8000/api/user/data
You can deploy the server on Google Cloud Run
using the provided Dockerfile:
# build and push the container
gcloud builds submit --tag gcr.io/PROJECT_ID/mcp-server
# deploy the image to Cloud Run
gcloud run deploy mcp-server \
--image gcr.io/PROJECT_ID/mcp-server \
--region REGION \
--allow-unauthenticated
Cloud Run sets the PORT environment variable automatically, which the server
uses to expose both the API and Gradio UI on the same endpoint.
The test suite expects both ELEVENLABS_MCP_SECRET and OPENAI_API_KEY to be
set. Copy dev.env and source it before executing pytest:
cp dev.env .env
set -a && source .env && set +a
pytest
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Reference MCP server with mock tools from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-zack-dev-cm)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.