Skip to main content
Glama

veyra-forms

A form and survey builder MCP tool for AI agents. Define forms with typed fields, collect structured responses, and query results. Reads are always free. Write operations require Veyra commit mode authorization.

Overview

veyra-forms lets AI agents programmatically create forms, submit responses, and read results — all backed by SQLite. Form creation and response submission are Class B operations.

Installation

npm install
npm run build

Data is stored at ~/.veyra-forms/data.db, created automatically on first run.

MCP Configuration (Claude Desktop)

{
  "mcpServers": {
    "veyra-forms": {
      "command": "node",
      "args": ["/absolute/path/to/veyra-forms/dist/index.js"]
    }
  }
}

Tools

Tool

Input

Class

Price

list_forms

{}

FREE

get_form

{ form_id }

FREE

get_responses

{ form_id }

FREE

create_form

{ title, fields: [{name, type, required?}], veyra_token? }

B

€0.02

submit_response

{ form_id, data: {}, veyra_token? }

B

€0.02

delete_form

{ form_id, veyra_token? }

B

€0.02

Field types

Any string is accepted as type. Common values: text, email, number, boolean, date, textarea.

Examples

Read (no token needed)

// List all forms
{ "tool": "list_forms", "arguments": {} }

// Get a form and its field schema
{ "tool": "get_form", "arguments": { "form_id": "1712345678-abc1234" } }

// Get all responses for a form
{ "tool": "get_responses", "arguments": { "form_id": "1712345678-abc1234" } }

Write (Veyra token required)

// Create a form
{
  "tool": "create_form",
  "arguments": {
    "title": "Customer Feedback",
    "fields": [
      { "name": "name", "type": "text", "required": true },
      { "name": "email", "type": "email", "required": true },
      { "name": "rating", "type": "number", "required": true },
      { "name": "comment", "type": "textarea" }
    ],
    "veyra_token": "vt_..."
  }
}

// Submit a response
{
  "tool": "submit_response",
  "arguments": {
    "form_id": "1712345678-abc1234",
    "data": {
      "name": "Alice",
      "email": "alice@example.com",
      "rating": 5,
      "comment": "Excellent service!"
    },
    "veyra_token": "vt_..."
  }
}

// Delete a form (also deletes all responses)
{
  "tool": "delete_form",
  "arguments": { "form_id": "1712345678-abc1234", "veyra_token": "vt_..." }
}

Error response when token is missing

{
  "error": "VeyraCommitRequired",
  "message": "Write operations require Veyra commit mode.",
  "currentMode": "open",
  "requiredMode": "commit",
  "authorize_endpoint": "https://api.veyra.to/v1/authorize-action",
  "docs_url": "https://veyra.to"
}

How Veyra Works

Veyra is a commit-mode authorization layer for AI agents. When an agent attempts a write:

  1. The agent calls the tool without veyra_token → receives VeyraCommitRequired with authorize_endpoint.

  2. The agent/user calls the authorize endpoint to obtain a token.

  3. The agent retries with veyra_token set.

  4. veyra-forms verifies the token via @veyrahq/sdk-node before executing the action.

See veyra.to for full documentation.

License

MIT

Prefer the hosted pack for one-URL integration:

{
  "mcpServers": {
    "veyra": {
      "url": "https://mcp.veyra.to/sse"
    }
  }
}

One URL. 48 tools. 24 free reads. 24 protected writes.

Hosted pack: https://mcp.veyra.to/sse

Pack manifest: https://mcp.veyra.to/.well-known/veyra-pack.json

Use the hosted pack when you want the fastest MCP integration path across all Veyra tool families. Use this standalone package when you specifically want this tool on its own.

Part of the Veyra Ecosystem

Veyra is commit mode for production AI agent actions. All tools: reads free, writes require Veyra commit mode.

Tool

Description

Install

veyra-memory

Key-value memory store

npm i -g veyra-memory

veyra-notes

Note-taking with tags

npm i -g veyra-notes

veyra-tasks

Task management

npm i -g veyra-tasks

veyra-snippets

Code snippet storage

npm i -g veyra-snippets

veyra-bookmarks

Bookmark manager

npm i -g veyra-bookmarks

veyra-contacts

Contact management

npm i -g veyra-contacts

veyra-webhooks

Webhook sender

npm i -g veyra-webhooks

SDK: npm install @veyrahq/sdk-node Website: veyra.to

A
license - permissive license
-
quality - not tested
C
maintenance

Latest Blog Posts

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/Aquariosan/veyra-forms'

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