Skip to content

feat: per-caller Bearer token auth and new query tools for MCP server#984

Merged
cybermaggedon merged 1 commit into
masterfrom
fix/mcp-server
Jun 10, 2026
Merged

feat: per-caller Bearer token auth and new query tools for MCP server#984
cybermaggedon merged 1 commit into
masterfrom
fix/mcp-server

Conversation

@cybermaggedon

Copy link
Copy Markdown
Contributor

Replace the broken GATEWAY_SECRET auth (token was sent as a query parameter, silently ignored by the gateway) with end-to-end Bearer token forwarding. Each MCP caller gets a dedicated WebSocket authenticated via the gateway's in-band first-frame protocol, with whoami verification on first connect.

Also fix and extend the tool surface:

  • embeddings: accept list of texts (was single string)
  • triples_query: use Term wire format with compact keys (was legacy Value format), add collection and graph parameters
  • sparql_query: new tool for SPARQL SELECT/ASK/CONSTRUCT/DESCRIBE
  • graphql_query: new tool for structured data (rows) GraphQL queries
  • all tools: add optional workspace parameter

Replace the broken GATEWAY_SECRET auth (token was sent as a query
parameter, silently ignored by the gateway) with end-to-end Bearer
token forwarding.  Each MCP caller gets a dedicated WebSocket
authenticated via the gateway's in-band first-frame protocol, with
whoami verification on first connect.

Also fix and extend the tool surface:
- embeddings: accept list of texts (was single string)
- triples_query: use Term wire format with compact keys (was legacy
  Value format), add collection and graph parameters
- sparql_query: new tool for SPARQL SELECT/ASK/CONSTRUCT/DESCRIBE
- graphql_query: new tool for structured data (rows) GraphQL queries
- all tools: add optional workspace parameter
@github-actions

Copy link
Copy Markdown

Contributor License Agreement ✅

All contributors have signed the CLA. Thank you!

@cybermaggedon cybermaggedon merged commit 627c669 into master Jun 10, 2026
3 checks passed
@cybermaggedon cybermaggedon deleted the fix/mcp-server branch June 10, 2026 13:10
cybermaggedon added a commit that referenced this pull request Jun 10, 2026
…#984)

Replace the broken GATEWAY_SECRET auth (token was sent as a query
parameter, silently ignored by the gateway) with end-to-end Bearer
token forwarding.  Each MCP caller gets a dedicated WebSocket
authenticated via the gateway's in-band first-frame protocol, with
whoami verification on first connect.

Also fix and extend the tool surface:
- embeddings: accept list of texts (was single string)
- triples_query: use Term wire format with compact keys (was legacy
  Value format), add collection and graph parameters
- sparql_query: new tool for SPARQL SELECT/ASK/CONSTRUCT/DESCRIBE
- graphql_query: new tool for structured data (rows) GraphQL queries
- all tools: add optional workspace parameter
cybermaggedon added a commit that referenced this pull request Jun 10, 2026
…#984)

Replace the broken GATEWAY_SECRET auth (token was sent as a query
parameter, silently ignored by the gateway) with end-to-end Bearer
token forwarding.  Each MCP caller gets a dedicated WebSocket
authenticated via the gateway's in-band first-frame protocol, with
whoami verification on first connect.

Also fix and extend the tool surface:
- embeddings: accept list of texts (was single string)
- triples_query: use Term wire format with compact keys (was legacy
  Value format), add collection and graph parameters
- sparql_query: new tool for SPARQL SELECT/ASK/CONSTRUCT/DESCRIBE
- graphql_query: new tool for structured data (rows) GraphQL queries
- all tools: add optional workspace parameter
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.

1 participant