You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The canonical openapi.yaml in inference-gateway/schemas now carries two MCP tool-filtering config entries that drive the gateway's config/docs/.env generation:
mcp_include_tools / MCP_INCLUDE_TOOLS (string): comma-separated allowlist of MCP tool names to inject. If empty, all tools are injected. Takes precedence over MCP_EXCLUDE_TOOLS.
mcp_exclude_tools / MCP_EXCLUDE_TOOLS (string): comma-separated denylist of MCP tool names to skip injecting. If empty, no tools are excluded. Takes lower precedence than MCP_INCLUDE_TOOLS.
These were already a shipped gateway feature but were missing from the upstream schema; they have now been added.
What needs documenting:
Config reference / MCP section: list both env vars with type, default (empty), and precedence behavior.
Any .env example or configuration tables generated from the schema should include both keys.
Add MCP_INCLUDE_TOOLS / MCP_EXCLUDE_TOOLS to the MCP settings table in configuration.md
Add precedence explanation + both keys to the .env / complete config example
Document tool filtering on the dedicated mcp.md page
Run lint + format + build to verify
Commit and open PR
What changed
configuration.md (canonical config reference)
Added both vars to the MCP settings ConfigTable - each with type, default (""), and precedence behavior in the description.
Added a short paragraph after the table explaining the allowlist/denylist semantics and that MCP_INCLUDE_TOOLS wins when both are set.
Added MCP_INCLUDE_TOOLS= and MCP_EXCLUDE_TOOLS= to the complete .env example.
mcp.md (dedicated MCP page - the one that documents dynamic tool injection)
Added both vars to the Environment Variables block.
Added a new Filtering Injected Tools subsection with allowlist/denylist semantics, precedence, and runnable examples, noting that tool names match those from GET /v1/mcp/tools.
Verification
Check
Result
bun run lint:md
passes
bun run format:check
passes
bun run build
passes
SSR'd HTML contains both vars
confirmed in dist/configuration/index.html and dist/mcp/index.html (indexable, not client-only)
The other files (sdks.md, troubleshooting.md, index.md, api-reference.md) only mention MCP in passing and don't enumerate every config var, so they were intentionally left unchanged.
Activity
edenreich commentedon Jun 18, 2026
@claude Can you document it?
inference-gateway-maintainer commentedon Jun 18, 2026
Claude finished @edenreich's task in 4m 51s —— View job •
docs/issue-251-20260618-2102• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-251-20260618-2102?quick_pull=1&title=Issue%20%23251%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23251%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting MCP_INCLUDE_TOOLS / MCP_EXCLUDE_TOOLS
Done. Both config keys are now documented.
configuration.md+mcp.md, find all MCP config references)MCP_INCLUDE_TOOLS/MCP_EXCLUDE_TOOLSto the MCP settings table inconfiguration.md.env/ complete config examplemcp.mdpageWhat changed
configuration.md(canonical config reference)ConfigTable- each with type, default (""), and precedence behavior in the description.MCP_INCLUDE_TOOLSwins when both are set.MCP_INCLUDE_TOOLS=andMCP_EXCLUDE_TOOLS=to the complete.envexample.mcp.md(dedicated MCP page - the one that documents dynamic tool injection)GET /v1/mcp/tools.Verification
bun run lint:mdbun run format:checkbun run builddist/configuration/index.htmlanddist/mcp/index.html(indexable, not client-only)The other files (
sdks.md,troubleshooting.md,index.md,api-reference.md) only mention MCP in passing and don't enumerate every config var, so they were intentionally left unchanged.PR: #253 (Closes #251)
docs/issue-251-20260618-2102inference-gateway-releaser commentedon Jun 24, 2026
🎉 This issue has been resolved in version 0.6.113 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀