# Weva Public API

Weva exposes read-only discovery endpoints for agents.

## Endpoints

### GET /api/agent/apps/search

Search published app catalog entries using a minimal agent-safe response shape.

Query parameters:

- `query`: Search query.
- `page`: Page number. Defaults to `1`.
- `limit`: Items per page. Defaults to `10` and is capped at `10`.
- `tags`: Comma-separated tag list.

### GET /api/status

Return a small service status document.

### POST /api/mcp

Read-only MCP Streamable HTTP endpoint.

Supported methods:

- `initialize`
- `ping`
- `tools/list`
- `tools/call`

Available tools:

- `search_apps`: search published catalog entries. Maximum 10 results per call.
- `get_discovery`: return discovery URLs.

## Discovery

- API catalog: https://weva.cloud/.well-known/api-catalog
- OpenAPI: https://weva.cloud/.well-known/openapi.json
- Agent skills: https://weva.cloud/.well-known/agent-skills/index.json
- MCP endpoint: https://weva.cloud/api/mcp
