veyra-snippets
Supports JavaScript code snippets with language filtering capabilities, allowing agents to browse and search specifically for JavaScript code examples.
Uses SQLite as the backend database for storing and managing code snippets, providing a reliable local storage solution for the snippet library.
Supports TypeScript code snippets with language filtering capabilities, allowing agents to browse and search specifically for TypeScript code examples.
veyra-snippets
A persistent code snippet manager MCP tool for AI agents, with language filtering, tag search, and full-text code search. Reads are always free. Write operations require Veyra commit mode authorization.
Overview
veyra-snippets gives AI agents a reliable code library backed by SQLite. Agents can freely browse and search snippets. Saving, updating, and deleting snippets is protected by Veyra commit mode — ensuring intentional, accountable writes.
Related MCP server: Snippets MCP
Installation
npm install
npm run buildSnippets are stored at ~/.veyra-snippets/data.db, created automatically on first run.
MCP Configuration (Claude Desktop)
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"veyra-snippets": {
"command": "node",
"args": ["/absolute/path/to/veyra-snippets/dist/index.js"]
}
}
}Tools
Tool | Input | Class | Price |
|
| — | FREE |
|
| — | FREE |
|
| — | FREE |
|
| A | €0.005 |
|
| A | €0.005 |
|
| B | €0.02 |
Examples
Read (no token needed)
// List all snippets
{ "tool": "list_snippets", "arguments": {} }
// List TypeScript snippets
{ "tool": "list_snippets", "arguments": { "language": "typescript" } }
// List snippets by tag
{ "tool": "list_snippets", "arguments": { "tag": "auth" } }
// Get a specific snippet
{ "tool": "get_snippet", "arguments": { "id": "1712345678-abc1234" } }
// Search across title, code, language, and tags
{ "tool": "search_snippets", "arguments": { "query": "debounce" } }Write (Veyra token required)
// Save a new snippet
{
"tool": "save_snippet",
"arguments": {
"title": "Debounce utility",
"code": "function debounce(fn, ms) {\n let timer;\n return (...args) => {\n clearTimeout(timer);\n timer = setTimeout(() => fn(...args), ms);\n };\n}",
"language": "javascript",
"tags": "utility,performance",
"veyra_token": "vt_..."
}
}
// Update snippet code
{
"tool": "update_snippet",
"arguments": {
"id": "1712345678-abc1234",
"code": "// updated code here",
"veyra_token": "vt_..."
}
}
// Delete a snippet
{
"tool": "delete_snippet",
"arguments": {
"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",
"transitionStrategy": "authorize_then_retry_with_x_veyra_token",
"provider": "veyra",
"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 operation:
The agent calls the tool without a
veyra_tokenand receives aVeyraCommitRequirederror with anauthorize_endpoint.The agent (or the user on its behalf) calls the authorize endpoint to obtain a token.
The agent retries the tool call with
veyra_tokenset.veyra-snippetsverifies the token via@veyrahq/sdk-nodebefore executing the write.
See veyra.to for full documentation.
License
MIT
Hosted Pack (recommended)
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 |
Key-value memory store |
| |
Note-taking with tags |
| |
Task management |
| |
Bookmark manager |
| |
Contact management |
| |
Form builder |
| |
Webhook sender |
|
SDK: npm install @veyrahq/sdk-node Website: veyra.to
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceProvides code repository indexing and semantic search capabilities, allowing natural language queries to find relevant code snippets with automatic incremental indexing and multi-language support.Last updated129358ISC
- Alicense-qualityCmaintenanceEnables storing, searching, and managing code snippets using hybrid semantic search and keyword matching with automatic language detection and tag-based organization.Last updated162MIT
- Alicense-qualityDmaintenanceBookmark manager for AI agents with tags, categories, and full-text search. Reads are free, writes require Veyra commit mode.Last updated1MIT
- Alicense-qualityDmaintenanceContact manager for AI agents with company, tags, and full-text search. Reads are free, writes require Veyra commit mode.Last updated1MIT
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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-snippets'
If you have feedback or need assistance with the MCP directory API, please join our Discord server