Skip to main content
Glama

@gildara/mcp-server

Gildara 的 MCP 服务器 — 将您的提示词库引入任何 AI 工具。

功能介绍

将您的 Gildara 提示词库连接到 Claude Desktop、Cursor、Windsurf 以及任何兼容 MCP 的工具。您的 AI 助手可以:

  • 列出提示词 — 浏览您的提示词库

  • 解析提示词 — 获取已组装好操作契约的编译后系统提示词

  • 运行提示词 — 执行并进行自动修复(JSON 模式验证 + 重试)

  • 创建提示词 — 从您的 AI 会话中保存新的提示词

  • 浏览蓝图 — 查看预构建的智能体模板

Related MCP server: promtlab

设置

1. 获取您的 API 密钥

针对智能体(无需浏览器):

curl -X POST https://gildara.io/api/v1/provision \
  -H 'Content-Type: application/json' \
  -d '{"agent_label": "my-agent"}'

立即返回 API 密钥 (pvk_...)。无需注册。

针对人类用户: 前往 gildara.io/account 并使用 agent-standard 预设创建一个 API 密钥。

2. 添加到 Claude Desktop

编辑 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "gildara": {
      "command": "npx",
      "args": ["-y", "@gildara/mcp-server"],
      "env": {
        "GILDARA_API_KEY": "pvk_your_key_here"
      }
    }
  }
}

3. 添加到 Cursor

编辑项目根目录下的 .cursor/mcp.json

{
  "mcpServers": {
    "gildara": {
      "command": "npx",
      "args": ["-y", "@gildara/mcp-server"],
      "env": {
        "GILDARA_API_KEY": "pvk_your_key_here"
      }
    }
  }
}

4. 添加到 Claude Code

claude mcp add gildara -- npx -y @gildara/mcp-server

然后在您的环境中设置 GILDARA_API_KEY

工具

工具

描述

list_prompts

列出库中的所有提示词

get_prompt

获取提示词详情和操作契约配置

resolve_prompt

获取包含契约部分的编译后系统提示词

run_prompt

通过 AI 运行提示词并进行自动修复

create_prompt

创建一个新的提示词

list_blueprints

浏览智能体蓝图模板

使用示例

连接后,只需告诉您的 AI:

"列出我的 Gildara 提示词" "解析我的 code-review-agent 提示词,并使用 code_diff 变量" "针对这段代码运行 security-audit 提示词" "将此提示词保存到我的 Gildara 库中"

环境变量

变量

必需

描述

GILDARA_API_KEY

您的 API 密钥 (pvk_...)。立即获取:curl -X POST https://gildara.io/api/v1/provision -H "Content-Type: application/json" -d '{"agent_label":"my-agent"}'

GILDARA_BASE_URL

覆盖 API URL(默认:https://gildara.io

无需浏览器获取密钥

无需注册。运行此命令可在几秒钟内获得 API 密钥:

curl -X POST https://gildara.io/api/v1/provision \
  -H 'Content-Type: application/json' \
  -d '{"agent_label": "my-agent"}'

响应内容包含您的 api_key(以 pvk_ 开头)、给人类所有者的链接代码以及您的账户 ID。将该密钥设置为 GILDARA_API_KEY 即可使用。

许可证

MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to dynamically discover and invoke containerized tools that can be registered at runtime without redeployment. Built on Cloudflare Workers with scale-to-zero containers for secure, isolated tool execution.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Self-hosted AI prompt library with collections, tags, version history, team collaboration and scoped API keys (pvlt_\*) with allowed_tools whitelist. OAuth 2.1 discovery + 30 tools for Claude/Cursor/Windsurf.
    -
  • A
    license
    A
    quality
    C
    maintenance
    Provides AI agents with structured knowledge about 67+ generative AI models, including model recommendations, prompt formatting, parameter guidance, and validation. It acts as a prompt engineering co-pilot that helps agents use their existing tools more effectively.
    12
    65 npm
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Local AES-256-GCM encrypted vault for AI agents. Resolve {{PLACEHOLDER}} secrets in prompts at runtime — LLMs never see real API keys. Argon2id key derivation, zero cloud.
    2
    43 npm
    2
    MIT