
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@qverisai/mcp
Advanced tools
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 a small set of tools, your AI assistant can:
Visit QVeris to get your API key.
Use the QVeris CLI to generate config without hand-editing JSON. Placeholder output intentionally fails API key validation until you replace it or use --include-key:
# Print safe config with YOUR_QVERIS_API_KEY placeholder
qveris mcp configure --target cursor
# Write a working config using your resolved API key
qveris mcp configure --target cursor --write --include-key
qveris mcp configure --target claude-desktop --write --include-key
qveris mcp configure --target opencode --write --include-key
qveris mcp configure --target openclaw --write --include-key
# Validate config, or live-probe visible tools for stdio clients
qveris mcp validate --target cursor
qveris mcp validate --target cursor --probe
Add the QVeris server to your MCP client configuration:
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"qveris": {
"command": "npx",
"args": ["-y", "@qverisai/mcp"],
"env": {
"QVERIS_API_KEY": "your-api-key-here"
}
}
}
}
Cursor (Settings → MCP Servers):
{
"mcpServers": {
"qveris": {
"command": "npx",
"args": ["-y", "@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 discover and call tools to help the user. First think about what kind of tools might be useful to accomplish the user's task. Then use the discover tool with a query describing the capability of the tool, not what params you want to pass to the tool later. Then call a suitable tool using the call tool, passing parameters through params_to_tool. You could reference the examples given if any for each tool. You may make multiple tool calls in a single response."
Then your AI assistant can discover and call tools:
"Find me a weather tool and get the current weather in Tokyo"
The assistant will:
discover with query "weather"inspect to review tool detailsprobe to validate parameters and quote without executioncall with the tool_id and parametersusage_history or credits_ledger only when the user asks about charge status or balance changesdiscoverDiscover 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) | |
view | string | routing for compact routing cards; full or omitted for complete results | |
lang | string | Response language: zh or en; omitted uses server negotiation |
Example:
{
"query": "send email notification",
"limit": 10,
"view": "routing",
"lang": "en"
}
inspectInspect tools by their IDs to get detailed information (parameters, success rate, latency, examples, and billing_rule when available).
| Parameter | Type | Required | Description |
|---|---|---|---|
tool_ids | array | ✓ | Array of tool IDs to retrieve (at least one required) |
search_id | string | Search ID from the discover call 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"
}
probeValidate candidate parameters and obtain a zero-cost quote without executing the capability.
| Parameter | Type | Required | Description |
|---|---|---|---|
tool_id | string | ✓ | Capability ID to validate |
parameters | object | Candidate parameters; defaults to {} | |
checks | array | schema, quote, coverage, or sample; defaults to schema | |
live_budget | string | none, metadata, or sampled; defaults to none |
Schema and quote are implemented. Coverage and sample may return unknown. Probe never executes the capability or consumes credits.
callCall a discovered tool with specific parameters.
| Parameter | Type | Required | Description |
|---|---|---|---|
tool_id | string | ✓ | Tool ID from discover results |
search_id | string | ✓ | Search ID from the discover call that found this tool |
params_to_tool | object | ✓ | A dictionary of parameters to pass to the tool |
session_id | string | Session identifier (auto-generated if omitted) | |
model | string | Model that selected and parameterized the call (maximum 128 characters) | |
max_response_size | number | Max response size in bytes (default: 20480) | |
respond_with | string | full, summary, or fields:<JSONPath,...>; omitted defaults to full |
Example:
{
"tool_id": "openweathermap.weather.execute.v1",
"search_id": "abcd1234-ab12-ab12-ab12-abcdef123456",
"params_to_tool": {"city": "London", "units": "metric"},
"model": "router-model-v1",
"respond_with": "summary"
}
The call response may include compact pre-settlement billing. Final charge status should be checked with usage_history or credits_ledger.
Projection inputs are opt-in. Paid call / execute_tool requests are always single-submit: the MCP server does not retry 429/503, follow HTTP redirects, or remove a rejected projection field and resubmit. Projection errors remain errors.
usage_historyContext-safe request-level usage audit. Defaults to aggregated summary mode.
Summary mode requests service-side summary=true aggregates when available and falls back to bounded client-side aggregation for older deployments.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | summary, search, or export_file (default: summary) | |
start_date | string | Start date, YYYY-MM-DD | |
end_date | string | End date, YYYY-MM-DD | |
bucket | string | hour, day, or week for summary aggregation | |
execution_id | string | Precise execution lookup | |
search_id | string | Precise search lookup | |
charge_outcome | string | charged, included, failed_not_charged, failed_charged_review | |
min_credits | number | Lower credit amount bound | |
max_credits | number | Upper credit amount bound | |
limit | number | Search row cap, default 10, hard max 50 |
Examples:
{ "mode": "summary", "bucket": "hour" }
{ "mode": "search", "execution_id": "exec-123" }
{ "mode": "search", "min_credits": 30, "max_credits": 100 }
credits_ledgerContext-safe final credit ledger query. Defaults to aggregated summary mode.
Summary mode requests service-side summary=true aggregates when available and falls back to bounded client-side aggregation for older deployments.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | string | summary, search, or export_file (default: summary) | |
start_date | string | Start date, YYYY-MM-DD | |
end_date | string | End date, YYYY-MM-DD | |
bucket | string | hour, day, or week for summary aggregation | |
entry_type | string | Ledger entry type, for example consume_tool_execute | |
direction | string | consume, grant, or any | |
min_credits | number | Lower absolute credit amount bound | |
max_credits | number | Upper absolute credit amount bound | |
limit | number | Search row cap, default 10, hard max 50 |
Examples:
{ "mode": "summary", "bucket": "day" }
{ "mode": "search", "direction": "consume", "min_credits": 50 }
Large result sets should use mode: "export_file". The server writes JSONL under .qveris/exports/ and returns the file path instead of emitting every row into MCP context.
For backward compatibility, the old tool names are still supported but emit a deprecation warning:
| Old name (deprecated) | New name |
|---|---|
search_tools | discover |
get_tools_by_ids | inspect |
execute_tool | call |
outputSchema and returns structuredContent alongside the JSON text (MCP 2025-06-18), so clients get typed results.QVERIS_MCP_CONFIRM_CALLS=true, a charged call first asks the user to confirm via MCP elicitation (billing consent); declining cancels the call before any credits are spent. Off by default.qveris://server-card for the server's identity card, or qveris://capability/{tool_id} for a capability's full metadata (parameters, examples, stats, billing) without spending a tool call.Providing a consistent session_id in a same user session in any tool call enables:
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.
The server speaks two MCP transports from the same binary:
Mcp-Session-Id header), managed automatically.Enable HTTP mode with any of --http, QVERIS_MCP_TRANSPORT=http, or by setting an HTTP port/host:
# Local only (loopback): no inbound auth required
QVERIS_API_KEY=sk-... npx -y @qverisai/mcp --http --port 3000
# Exposed: bind all interfaces, require a bearer token, allow-list the public host
QVERIS_API_KEY=sk-... \
QVERIS_MCP_TRANSPORT=http \
QVERIS_MCP_HTTP_HOST=0.0.0.0 \
QVERIS_MCP_HTTP_AUTH_TOKEN=$(openssl rand -hex 32) \
QVERIS_MCP_ALLOWED_HOSTS=mcp.example.com \
npx -y @qverisai/mcp
POST/GET/DELETE {path} (default /mcp); GET /health returns an unauthenticated liveness probe.QVERIS_MCP_HTTP_AUTH_TOKEN to require Authorization: Bearer <token> on the MCP endpoint. The server refuses to start when binding a non-loopback host without a token, unless you set QVERIS_MCP_HTTP_ALLOW_UNAUTHENTICATED=true to delegate auth to an external proxy/gateway. Your QVERIS_API_KEY is the server's outbound credential to QVeris — it is not an inbound check, so anyone reaching an unauthenticated endpoint would spend your credits.startHttpServer, resolveTransportConfig, QverisClient, and the session-auth types. An independently operated service can set requireSessionBearer on its resolved transport config and provide an asynchronous session factory. The transport requires a bearer, passes it only to that factory, stores only a credential fingerprint for session binding, and rejects credential changes. The embedding service owns validation, client construction, rate limits, deployment, and operations.QVERIS_MCP_ALLOWED_HOSTS.QVERIS_MCP_MAX_BODY_BYTES), and idle sessions are evicted after 5 minutes (QVERIS_MCP_SESSION_TIMEOUT_MS).GET {path}/server-card (default /mcp/server-card), media type application/mcp-server-card+json — server identity, version, and the remote endpoint.GET /.well-known/mcp/catalog.json — a site-wide index pointing at the Server Card.QVERIS_MCP_PUBLIC_URL (or send X-Forwarded-Proto) so the advertised URLs use your public origin.remoteHeaders on the ServerCardInfo they pass to startHttpServer — typically bearerAuthHeaderInput() (exported from the package root), which declares an Authorization: Bearer {api_key} template whose variable is marked required + secret so discovery clients prompt for the key and store it securely. buildServerCard rejects literal secret material: secret header values must stay {variable} templates and secret variables cannot carry a value/default. Each deployment's card must reference only its own endpoint — never a sibling site's URLs.$schema URL (static.modelcontextprotocol.io/schemas/v1/server-card.schema.json) is the canonical versioned location but is not published upstream yet, so generated cards are validated in CI against a schema vendored at a pinned upstream commit (schemas/README.md); a separate non-blocking CI step probes the public URL and reports availability/drift.| Variable | Required | Description |
|---|---|---|
QVERIS_API_KEY | ✓ | Your QVeris API key |
QVERIS_BASE_URL | Override the built-in API base URL | |
QVERIS_MAX_RETRIES | Read-operation retries for rate-limited (429) / transient (503) responses (default 3; 0 disables). Paid calls never inherit this setting. | |
QVERIS_MCP_TRANSPORT | stdio (default) or http | |
QVERIS_MCP_HTTP_PORT | HTTP port (default 3000; setting it implies HTTP mode) | |
QVERIS_MCP_HTTP_HOST | HTTP bind host (default 127.0.0.1) | |
QVERIS_MCP_HTTP_PATH | MCP endpoint path (default /mcp) | |
QVERIS_MCP_ALLOWED_HOSTS | Comma-separated extra Host values to allow (for DNS-rebinding protection) | |
QVERIS_MCP_ALLOWED_ORIGINS | Comma-separated extra Origin values to allow | |
QVERIS_MCP_DNS_REBINDING_PROTECTION | true (default) / false | |
QVERIS_MCP_HTTP_JSON | true to return JSON responses instead of SSE (default false) | |
QVERIS_MCP_HTTP_AUTH_TOKEN | Require Authorization: Bearer <token> on the MCP endpoint | |
QVERIS_MCP_HTTP_ALLOW_UNAUTHENTICATED | true to allow a non-loopback bind without a token (auth delegated externally) | |
QVERIS_MCP_MAX_BODY_BYTES | Max request body size in bytes (default 4194304) | |
QVERIS_MCP_SESSION_TIMEOUT_MS | Idle session TTL in ms (default 300000) | |
QVERIS_MCP_CONFIRM_CALLS | true to ask the user (via MCP elicitation) before each charged call; clients without elicitation proceed as before | |
QVERIS_MCP_PUBLIC_URL | Public origin advertised in discovery documents (e.g. https://mcp.example.com) |
The server uses its built-in API endpoint unless QVERIS_BASE_URL is set. API key prefixes and other environment variables do not select an endpoint. To target a custom endpoint, set QVERIS_BASE_URL in your MCP client config:
{
"mcpServers": {
"qveris": {
"command": "npx",
"args": ["-y", "@qverisai/mcp"],
"env": {
"QVERIS_API_KEY": "your-api-key",
"QVERIS_BASE_URL": "https://qveris.ai/api/v1"
}
}
}
}
The override must be an HTTP(S) URL without credentials, a query string, or a fragment.
examples/agent-loop.ts drives this server over stdio
the way an agent runtime does: spawn it, list the tools, then run
discover → inspect → call by calling those tools. It is safe to run without an
API key (tool listing works unconfigured), and the call step is gated behind
RUN_QVERIS_CALLS=1.
# Clone the repository
git clone https://github.com/QVerisAI/qveris-agent-toolkit.git
cd qveris-agent-toolkit/packages/mcp
# Install dependencies
npm install
# Build
npm run build
# Run locally
QVERIS_API_KEY=your-key node dist/index.js
MIT © QVerisAI
FAQs
QVeris MCP server for agent tool discovery, inspection, and calling
The npm package @qverisai/mcp receives a total of 403 weekly downloads. As such, @qverisai/mcp popularity was classified as not popular.
We found that @qverisai/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.