Skip to main content

Add your description here

Project description

mcp-echo-derek ✅

A minimal FastMCP server that exposes an echo tool which returns the user's message verbatim.

Quick start 🔧

  1. Activate your virtualenv:

    source .venv/bin/activate
    
  2. Run the server:

    python mcp_server.py
    # or with reload (if you have uvicorn installed):
    # uvicorn mcp_server:app --host 127.0.0.1 --port 8080 --reload
    

    The server runs an ASGI app and provides streamable endpoints under /stream.

  3. Quick local test (no HTTP required):

    python scripts/test_echo.py
    

    Output example:

    Echo function returned: {'message': 'Hello, MCP echo test!'}
    

Notes 💡

  • The echo tool is implemented as a FunctionTool and returns structured JSON content: {"message": "..."}.
  • To exercise the tool via a full MCP client, use an MCP-capable client and call the registered tool named echo.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_echo_derek-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_echo_derek-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file mcp_echo_derek-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_echo_derek-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_echo_derek-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1f4329cae2280f29c46fa9565372c42e0239bcefc565666132f6495d1ffba378
MD5 525cc4206d08d019048d46c7031df515
BLAKE2b-256 0983a6f187582c926d7e29e8982c842af71f56410fe3e78cf032b207d5b865c5

See more details on using hashes here.

File details

Details for the file mcp_echo_derek-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_echo_derek-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mcp_echo_derek-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f974b8bb94aa8ad375c3e12c15902d0a9f0d0c3d1eafe44d593750602c7200f
MD5 44bbc4d15e18501afae6a956253400d7
BLAKE2b-256 49fe85735e4696ed8dcb9e67ecacc81c4d04bf206545ae2c4b468cba3c21ab35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page