docker build --build-context endpoint-definition-folder=ExampleEndpointDefinitions -t named-query .docker run --rm -p 8080:8080 -e NamedQuery__SparqlEndpoint=https://example.com/sparql named-queryServes the endpoint definitions in App/LocalDevelopmentEndpointDefinitions.
dotnet run --project App -- --NamedQuery:SparqlEndpoint=https://example.com/sparqlDocker tests require a running Docker daemon.
dotnet test --solution NamedQuery.slnxEach endpoint is also exposed as a read-only tool on the MCP server at /mcp (Streamable HTTP). Tool names are endpoint paths with characters other than letters, digits, _ and - replaced by _.
For example, to connect a client that only supports local servers:
{
"mcpServers": {
"named-query": {
"command": "npx",
"args": ["mcp-remote", "http://localhost:8080/mcp"]
}
}
}