Skip to content

docs(readme): fix incorrect FastMCP environment variable names#131

Closed
Will-hxw wants to merge 1 commit intoqdrant:masterfrom
Will-hxw:fix/103-readme-env-variable-names
Closed

docs(readme): fix incorrect FastMCP environment variable names#131
Will-hxw wants to merge 1 commit intoqdrant:masterfrom
Will-hxw:fix/103-readme-env-variable-names

Conversation

@Will-hxw
Copy link
Copy Markdown

Summary

  • Correct README documentation for FastMCP environment variables
  • FASTMCP_HOSTFASTMCP_SERVER_HOST
  • FASTMCP_PORTFASTMCP_SERVER_PORT

Why

FastMCP's ServerSettings class uses FASTMCP_SERVER_ as the env prefix (not FASTMCP_). The incorrect variable names cause the server to ignore host/port settings and always bind to 127.0.0.1:8000.

Validation

  • Verified the issue by checking FastMCP source code (ServerSettings class uses FASTMCP_SERVER_ prefix)
  • All 6 occurrences in README corrected

Fixes

Fixes Issue #103

🤖 Generated with Claude Code

The README incorrectly documented FASTMCP_HOST and FASTMCP_PORT,
but FastMCP's ServerSettings class uses FASTMCP_SERVER_HOST
and FASTMCP_SERVER_PORT as the env prefix.

Fixes Issue qdrant#103

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@Will-hxw
Copy link
Copy Markdown
Author

@Reviewer 需要审核处理了,PR 已 stale 超过 150 小时但还没有分配审核者。请通过 GitHub 分配审核者后再触发 nudge 流程。

@tbung
Copy link
Copy Markdown
Contributor

tbung commented Apr 27, 2026

Superceded by #107

@tbung tbung closed this Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants