{"id":30756878,"url":"https://github.com/jonigl/mcp-server-with-streamable-http-example","last_synced_at":"2026-06-20T04:31:05.329Z","repository":{"id":311302243,"uuid":"1014045347","full_name":"jonigl/mcp-server-with-streamable-http-example","owner":"jonigl","description":"A simple MCP server with streamable HTTP transport. Featuring tools, resources and prompts","archived":false,"fork":false,"pushed_at":"2025-09-11T14:24:33.000Z","size":77,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-11T17:17:30.424Z","etag":null,"topics":["example","mcp","mcp-server","prompts","resources","simple","streamable-http","streamable-http-transport","tools"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonigl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-07-05T00:09:20.000Z","updated_at":"2025-09-11T14:24:37.000Z","dependencies_parsed_at":"2025-08-24T05:50:32.089Z","dependency_job_id":"0876dd08-76eb-43b8-b737-6eda4ef1cc21","html_url":"https://github.com/jonigl/mcp-server-with-streamable-http-example","commit_stats":null,"previous_names":["jonigl/mcp-server-with-streamable-http-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonigl/mcp-server-with-streamable-http-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fmcp-server-with-streamable-http-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fmcp-server-with-streamable-http-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fmcp-server-with-streamable-http-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fmcp-server-with-streamable-http-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonigl","download_url":"https://codeload.github.com/jonigl/mcp-server-with-streamable-http-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonigl%2Fmcp-server-with-streamable-http-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["example","mcp","mcp-server","prompts","resources","simple","streamable-http","streamable-http-transport","tools"],"created_at":"2025-09-04T10:49:05.837Z","updated_at":"2026-06-20T04:31:05.324Z","avatar_url":"https://github.com/jonigl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple MCP server with streamable HTTP transport Example\nThis example demonstrates how to create a simple MCP server with streamable HTTP transport, featuring several tools, prompts, and resources.\n\n## Run\n\nBy default, the server runs on port **8000**.\n\n```bash\npython simple_streamable_http_mcp_server.py\n```\n\nOr with [uv](https://github.com/astral-sh/uv):\n\n```bash\nuv run mcp-server\n```\n\n## Custom Port\n\nChange the port (default is 8000):\n\n```bash\nMCP_SERVER_PORT=9000 python simple_streamable_http_mcp_server.py\n```\n\n## Debug Logging\n\nEnable debug logs for tool calls:\n\n```bash\nMCP_DEBUG=1 python simple_streamable_http_mcp_server.py\n```\n\n## Both Together\n\n```bash\nMCP_SERVER_PORT=9000 MCP_DEBUG=1 python simple_streamable_http_mcp_server.py\n```\n\n## Tools\n- `hello_world(name)` - Say hello\n- `add_numbers(a, b)` - Add two numbers\n- `random_number(min_val, max_val)` - Generate random number\n- `return_json_example()` - Return example JSON\n- `calculate_bmi(weight, height)` - Calculate BMI\n- `get_logo()` - Return the OllMCP logo image\n\n## Prompts\n- `BMI Calculator` - Prompt for BMI calculation\n\n## Resources\n- `server://info` - Get server info\n- `text://welcome` - Get a welcome message\n- `images://ollmcp-logo` - Get the OllMCP logo image\n- `file://{path*}` - Read a local text file by path\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonigl%2Fmcp-server-with-streamable-http-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonigl%2Fmcp-server-with-streamable-http-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonigl%2Fmcp-server-with-streamable-http-example/lists"}