{"id":47914426,"url":"https://github.com/agentic-layer/echo-mcp-server","last_synced_at":"2026-04-04T05:29:53.374Z","repository":{"id":338953269,"uuid":"1159782932","full_name":"agentic-layer/echo-mcp-server","owner":"agentic-layer","description":"A simple MCP Server that echos messages. Can be used for tests.","archived":false,"fork":false,"pushed_at":"2026-02-25T15:15:29.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-25T18:54:47.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agentic-layer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-17T06:35:28.000Z","updated_at":"2026-02-25T15:19:49.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/agentic-layer/echo-mcp-server","commit_stats":null,"previous_names":["agentic-layer/echo-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agentic-layer/echo-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fecho-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fecho-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fecho-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fecho-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentic-layer","download_url":"https://codeload.github.com/agentic-layer/echo-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentic-layer%2Fecho-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31389274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T05:29:52.634Z","updated_at":"2026-04-04T05:29:53.364Z","avatar_url":"https://github.com/agentic-layer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# echo-mcp-server\n\nA simple MCP (Model Context Protocol) server that echoes messages. Built with [FastMCP](https://github.com/jlowin/fastmcp) and [uv](https://github.com/astral-sh/uv).\n\n## Features\n\n- **Echo Tool**: A single tool that echoes back any message you send it\n- **FastMCP**: Built on the FastMCP framework for easy MCP server development\n- **Modern Python**: Uses uv for fast, reliable dependency management\n- **Configurable**: Customize server name and add a second tool via environment variables\n\n## Installation\n\nRequires [uv](https://github.com/astral-sh/uv).\n\n```bash\n# Install dependencies\nuv sync\n\n# Run the server\nuv run fastmcp run src/echo_mcp_server/server.py --transport http\n```\n\n## Configuration\n\nThe server can be configured using environment variables:\n\n### Server Name\n\n- `ECHO_SERVER_NAME`: Customize the MCP server name (default: \"Echo Server\")\n\n```bash\nECHO_SERVER_NAME=\"My Custom Server\" uv run echo-mcp-server\n```\n\n### Second Tool (Optional)\n\nYou can add a second tool with a static response by setting both environment variables:\n\n- `ECHO_TOOL_NAME`: Name for the second tool\n- `ECHO_TOOL_RESPONSE`: Static response value for the second tool\n\n**Note:** Both variables must be set for the second tool to be registered.\n\n```bash\nECHO_TOOL_NAME=\"get_status\" ECHO_TOOL_RESPONSE=\"All systems operational\" uv run echo-mcp-server\n```\n\n## Usage\n\nThe server exposes tools based on configuration:\n\n### `echo`\n\nEchoes back the provided message.\n\n**Parameters:**\n- `message` (string): The message to echo back\n\n**Returns:**\n- The same message that was provided\n\n### Custom Tool (when configured)\n\nWhen `ECHO_TOOL_NAME` and `ECHO_TOOL_RESPONSE` are set, a second tool is registered with:\n\n**Parameters:**\n- None\n\n**Returns:**\n- The static response configured via `ECHO_TOOL_RESPONSE`\n\n## Docker\n\nBuild and run the server using Docker:\n\n```bash\ndocker build -t echo-mcp-server .\ndocker run echo-mcp-server\ndocker run -ti echo-mcp-server --host 0.0.0.0 --transport http --port 8001 --path /foo\n```\n\nWith custom configuration:\n\n```bash\ndocker run -e ECHO_SERVER_NAME=\"Custom Server\" \\\n           -e ECHO_TOOL_NAME=\"get_status\" \\\n           -e ECHO_TOOL_RESPONSE=\"OK\" \\\n           echo-mcp-server\n```\n\n## Development\n\nRun tests:\n```bash\nuv run pytest tests/ -v\n```\n\n## License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentic-layer%2Fecho-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentic-layer%2Fecho-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentic-layer%2Fecho-mcp-server/lists"}