veyra-snippets
veyra-snippets
언어 필터링, 태그 검색, 전체 텍스트 코드 검색 기능을 갖춘 AI 에이전트용 영구 코드 스니펫 관리자 MCP 도구입니다. 읽기 작업은 항상 무료입니다. 쓰기 작업에는 Veyra 커밋 모드 인증이 필요합니다.
개요
veyra-snippets는 SQLite 기반의 안정적인 코드 라이브러리를 AI 에이전트에 제공합니다. 에이전트는 자유롭게 스니펫을 탐색하고 검색할 수 있습니다. 스니펫 저장, 업데이트, 삭제는 Veyra 커밋 모드에 의해 보호되므로 의도적이고 책임 있는 쓰기 작업이 보장됩니다.
Related MCP server: Snippets MCP
설치
npm install
npm run build스니펫은 ~/.veyra-snippets/data.db에 저장되며, 처음 실행 시 자동으로 생성됩니다.
MCP 구성 (Claude Desktop)
claude_desktop_config.json에 다음을 추가하세요:
{
"mcpServers": {
"veyra-snippets": {
"command": "node",
"args": ["/absolute/path/to/veyra-snippets/dist/index.js"]
}
}
}도구
도구 | 입력 | 클래스 | 가격 |
|
| — | 무료 |
|
| — | 무료 |
|
| — | 무료 |
|
| A | €0.005 |
|
| A | €0.005 |
|
| B | €0.02 |
예시
읽기 (토큰 불필요)
// 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" } }쓰기 (Veyra 토큰 필요)
// 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": "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"
}Veyra 작동 방식
Veyra는 AI 에이전트를 위한 커밋 모드 인증 계층입니다. 에이전트가 쓰기 작업을 시도할 때:
에이전트가
veyra_token없이 도구를 호출하면authorize_endpoint가 포함된VeyraCommitRequired오류를 받습니다.에이전트(또는 사용자를 대신하여)가 인증 엔드포인트를 호출하여 토큰을 획득합니다.
에이전트가
veyra_token을 설정하여 도구 호출을 재시도합니다.veyra-snippets는 쓰기 작업을 실행하기 전에@veyrahq/sdk-node를 통해 토큰을 검증합니다.
전체 문서는 veyra.to를 참조하세요.
라이선스
MIT
호스팅 팩 (권장)
단일 URL 통합을 위해 호스팅 팩을 사용하는 것을 권장합니다:
{
"mcpServers": {
"veyra": {
"url": "https://mcp.veyra.to/sse"
}
}
}하나의 URL. 48개의 도구. 24개의 무료 읽기. 24개의 보호된 쓰기.
호스팅 팩: https://mcp.veyra.to/sse
팩 매니페스트: https://mcp.veyra.to/.well-known/veyra-pack.json
모든 Veyra 도구 제품군에 걸쳐 가장 빠른 MCP 통합 경로를 원할 때 호스팅 팩을 사용하세요. 이 도구만 단독으로 사용하려면 이 독립형 패키지를 사용하세요.
Veyra 생태계의 일부
Veyra는 프로덕션 AI 에이전트 작업을 위한 커밋 모드입니다. 모든 도구: 읽기는 무료, 쓰기에는 Veyra 커밋 모드가 필요합니다.
도구 | 설명 | 설치 |
키-값 메모리 저장소 |
| |
태그 기반 메모 작성 |
| |
작업 관리 |
| |
북마크 관리자 |
| |
연락처 관리 |
| |
폼 빌더 |
| |
웹훅 발송기 |
|
SDK: npm install @veyrahq/sdk-node 웹사이트: veyra.to
This server cannot be deployed
Maintenance
Related MCP Connectors
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Shared memory for AI coding agents. Save once, reuse from Cursor, Claude Code, Codex.
Shared memory for coding agents. Stop re-explaining your codebase every session.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
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.15 npm359ISC
- AlicenseNot gradedqualityCmaintenanceEnables storing, searching, and managing code snippets using hybrid semantic search and keyword matching with automatic language detection and tag-based organization.4 npm2MIT
- AlicenseNot gradedqualityDmaintenanceProvides intelligent code context management and semantic search capabilities for software development, enabling natural language queries to find relevant code snippets, functions, and classes across Python, JavaScript, TypeScript, and SQL codebases.MIT
- AlicenseNot gradedqualityBmaintenanceIndexes codebases and lets AI agents retrieve precise code snippets (functions, classes, routes) instead of reading entire files, reducing token usage and improving accuracy.169 npm7MIT