Skip to main content
Glama

Keboola Explorer MCP Server

test_doc.py569 B
import pytest from fastmcp import Context from keboola_mcp_server.tools.doc import DocsAnswer, docs_query @pytest.mark.asyncio async def test_docs_query(mcp_context: Context) -> None: """Tests that `docs_query` returns a valid `DocsAnswer` with text and source URLs.""" query = 'What is Keboola Connection?' result = await docs_query(ctx=mcp_context, query=query) assert isinstance(result, DocsAnswer) assert len(result.text) > 0, 'Answer text should not be empty' assert len(result.source_urls) > 0, 'Source URLs list should not be empty'

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/keboola/keboola-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server