This page allows you to test the new NLWeb (/ask
) and MCP (/mcp
) endpoints. These Netlify Function-based endpoints provide enhanced ways for AI assistants and other tools to interact with site content.
Refer to the NLWeb/MCP Documentation for detailed API specifications.
/api/mcp
, /api/mcp-debug
, /api/mcp-static
) are deprecated and have been removed from this testing page./ask
Endpoint (NLWeb)/ask
Response:Results will appear here...
/mcp
Endpoint (JSON-RPC)/mcp
This sends a standard NLWeb query, wrapped in a JSON-RPC request, to the /mcp
endpoint. Streaming is not applicable here as /mcp
always returns full JSON responses.
/mcp
NLWeb Passthrough Response:Results will appear here...
When connecting an AI assistant (like Claude via its MCP client support) or building other integrations:
/mcp
endpoint URL: https://www.janisheck.com/mcp
. This provides access to MCP methods like tools/list
, tools/call
(for "searchBlog"), and also NLWeb queries via JSON-RPC passthrough./ask
endpoint. This supports JSON requests and Server-Sent Events (SSE) for streaming.For comprehensive details, visit the NLWeb & MCP Documentation page.