Official QVeris MCP Server — Dynamically search and execute tools via natural language.
This SDK provides a Model Context Protocol (MCP) server that enables LLMs to discover and execute third-party tools through the QVeris API. With three simple tools, your AI assistant can:
- Search for tools using natural language queries
- Get detailed information about specific tools by their IDs
- Execute any discovered tool with the appropriate parameters
Visit QVeris to get your API key.
Add the QVeris server to your MCP client configuration:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"qveris": {
"command": "npx",
"args": ["@qverisai/mcp"],
"env": {
"QVERIS_API_KEY": "your-api-key-here"
}
}
}
}Cursor (Settings → MCP Servers):
{
"mcpServers": {
"qveris": {
"command": "npx",
"args": ["@qverisai/mcp"],
"env": {
"QVERIS_API_KEY": "your-api-key-here"
}
}
}
}Once configured, You could add this to system prompt:
"You can use qveris MCP Server to dynamically search and execute tools to help the user. First think about what kind of tools might be useful to accomplish the user's task. Then use the search_tools tool with query describing the capability of the tool, not what params you want to pass to the tool later. Then call a suitable searched tool using the execute_tool tool, passing parameters to the searched tool through params_to_tool. You could reference the examples given if any for each tool. You may call make multiple tool calls in a single response."
Then your AI assistant can search for and execute tools:
"Find me a weather tool and get the current weather in Tokyo"
The assistant will:
- Call
search_toolswith query "weather" - Review the results and select an appropriate tool
- Call
execute_toolwith the tool_id and parameters
Search for available tools based on natural language queries.
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string | ✓ | Natural language description of the capability you need |
limit |
number | Max results to return (1-100, default: 20) | |
session_id |
string | Session identifier for tracking (auto-generated if omitted) |
Example:
{
"query": "send email notification",
"limit": 10
}Execute a discovered tool with specific parameters.
| Parameter | Type | Required | Description |
|---|---|---|---|
tool_id |
string | ✓ | Tool ID from search results |
search_id |
string | ✓ | Search ID from the search that found this tool |
params_to_tool |
string | ✓ | JSON string of parameters to pass to the tool |
session_id |
string | Session identifier (auto-generated if omitted) | |
max_response_size |
number | Max response size in bytes (default: 20480) |
Example:
{
"tool_id": "openweathermap.weather.execute.v1",
"search_id": "abcd1234-ab12-ab12-ab12-abcdef123456",
"params_to_tool": "{\"city\": \"London\", \"units\": \"metric\"}"
}Get detailed descriptions of tools based on their tool IDs. Useful for retrieving information about specific tools when you already know their IDs from previous searches.
| Parameter | Type | Required | Description |
|---|---|---|---|
tool_ids |
array | ✓ | Array of tool IDs to retrieve (at least one required) |
search_id |
string | Search ID from the search that returned the tool(s) | |
session_id |
string | Session identifier (auto-generated if omitted) |
Example:
{
"tool_ids": ["openweathermap.weather.execute.v1", "worldbank_refined.search_indicators.v1"],
"search_id": "abcd1234-ab12-ab12-ab12-abcdef123456"
}Providing a consistent session_id in a same user session in any tool call enables:
- Consistent user tracking across multiple tool calls
- Better analytics and usage patterns
- Improved tool recommendations over time
If not provided, the SDK automatically generates and maintains a session ID for the lifetime of the server process. However, this result in a much larger granularity of user sessions.
{
"execution_id": "abcd1234-ab12-ab12-ab12-abcdef123456",
"tool_id": "openweathermap.weather.execute.v1",
"success": true,
"result": {
"data": {
"temperature": 15.5,
"humidity": 72,
"description": "partly cloudy"
}
},
"execution_time": 0.847
}When tool output exceeds max_response_size, you'll receive:
{
"result": {
"message": "Result content is too long...",
"truncated_content": "[[1678233600000, \"22198.56...",
"full_content_file_url": "https://..."
}
}The full_content_file_url is valid for 120 minutes.
| Variable | Required | Description |
|---|---|---|
QVERIS_API_KEY |
✓ | Your QVeris API key |
- Node.js 18.0.0 or higher
- A valid QVeris API key
# Clone the repository
git clone https://github.com/qverisai/mcp.git
cd sdk
# Install dependencies
npm install
# Build
npm build
# Run locally
QVERIS_API_KEY=your-key node dist/index.jsMIT © QVerisAI
- 🐛 Issue Tracker
- 💬 Contact: contact@qveris.ai