# mcp-server

Connect an agent to a prompt vault for semantic search, prompt assembly, and execution. The server can also retain prompt context and send briefs to agents through Telegram.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: gildara-io
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/gildara-io/mcp-server
- Updated: 2026-07-27
- HTML: https://affpapa.org/en/nevibecode/mcp/gildara-io-mcp-server

## What it does

The server gives an agent tools to search prompts by meaning, browse a vault, inspect prompt settings, fill variables in a system prompt, and run it. Agents can save new prompts or add facts to memory prompts. They can also dispatch a brief to a named agent as an `.md` attachment in a paired Telegram chat. The vault includes agent blueprints.

On its first start, the server creates an agent account and stores its key at `~/.gildara/auto-key.json`; an existing `GILDARA_API_KEY` is optional. To connect that agent to a Gildara account, use the link code printed in the MCP logs. Resolved prompts are cached at `~/.gildara/cache/`, so agents can use cached results while the Gildara API is temporarily unreachable. Linking the agent to an account is needed to sync the vault.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `GILDARA_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env GILDARA_API_KEY=<GILDARA_API_KEY> --transport stdio gildara-io-mcp-server -- npx -y @gildara/mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add gildara-io-mcp-server --env GILDARA_API_KEY=<GILDARA_API_KEY> -- npx -y @gildara/mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "gildara-io-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "@gildara/mcp-server"
            ],
            "env": {
                "GILDARA_API_KEY": "<GILDARA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "gildara-io-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@gildara/mcp-server"
            ],
            "env": {
                "GILDARA_API_KEY": "<GILDARA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e GILDARA_API_KEY=<GILDARA_API_KEY> gildara-io-mcp-server npx -y @gildara/mcp-server
```
Replace <…> with your own values

## When to use it
- find vault prompts by meaning rather than exact wording
- fill prompt variables and retrieve a compiled system instruction
- save a prompt or add a fact to a memory entry
- send a brief to a named agent through a paired Telegram chat

## Example prompts
- Search my vault for prompts that cover security audits.
- Build the code review prompt using `code_diff` as the variable value.
- Send gevorg a brief to review the results of my Meta Ads campaigns.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

## Other versions with the same name
- [mcp-server · heyputer](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — ★ 43902
- [mcp-server · mapbox](https://affpapa.org/en/nevibecode/mcp/mapbox-mcp-server.md) — ★ 363
- [mcp-server · packmindhub](https://affpapa.org/en/nevibecode/mcp/packmindhub-mcp-server.md) — ★ 319
- [mcp-server · bingowon](https://affpapa.org/en/nevibecode/mcp/bingowon-mcp-server.md) — ★ 121
- [mcp-server · ui5](https://affpapa.org/en/nevibecode/mcp/ui5-mcp-server.md) — ★ 105

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
