360 Secure SkillHub
360 安全技能中心

Cerebrun

调用 Cerebrun MCP 服务管理持久化个人上下文:按层读取语言、项目、身份与加密保险库信息,进行语义检索,写入知识条目,并通过 LLM 网关对话;另附 Python CLI 脚本,密钥可由环境变量提供。

niyoseris
niyoseris
热度 64.80
最近更新 2026-05-18 12:07:11
分类:知识依赖:第三方 API / MCP 服务 / 代码执行 / 内部调用大模型应用场景:笔记整理 / 研究 / 任务管理 / API 集成

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add cerebrun
Metadata
name
cerebrun
description
MCP client for Cerebrun - comprehensive personal context and memory management system. Retrieve user context layers (language, projects, identity, vault), perform semantic search, manage knowledge base, and interact with LLM Gateway. Use when: (1) Retrieving user preferences or context, (2) Searching user's knowledge base, (3) Managing projects and goals, (4) Storing or querying personal information, (5) Accessing conversation history via LLM Gateway

Cerebrun MCP Client

Cerebrun (cereb.run) is a Model Context Protocol (MCP) server that provides persistent personal context management across sessions.

Quick Start

All requests require:

Context Layers

Layer 0 - Language, timezone, comms prefs Layer 1 - Projects, goals, pinned memories Layer 2 - Personal identity info, API and other keys Layer 3 - Encrypted vault (requires consent)

Usage

Get Context

curl -X POST
-H "Authorization: Bearer $API_KEY"
-H "Content-Type: application/json"
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_context","arguments":{"layer":0}}}'
https://cereb.run/mcp

Search Context

curl -X POST
-H "Authorization: Bearer $API_KEY"
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_context","arguments":{"query":"Rust authentication","limit":5}}}'
https://cereb.run/mcp

Push Knowledge

curl -X POST
-H "Authorization: Bearer $API_KEY"
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"push_knowledge","arguments":{"content":"Important insight","category":"learning","tags":["rust","performance"]}}}'
https://cereb.run/mcp

Chat via Gateway

curl -X POST
-H "Authorization: Bearer $API_KEY"
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"chat_with_llm","arguments":{"message":"Hello","provider":"openai","model":"gpt-4"}}}'
https://cereb.run/mcp

Tools Reference

See REFERENCES.md for complete API documentation.

Script Usage

scripts/cerebrun.py get_context --layer 0 --api-key YOUR_KEY
scripts/cerebrun.py search_context --query "project" --api-key YOUR_KEY
scripts/cerebrun.py push_knowledge --content "New idea" --category "todo" --api-key YOUR_KEY

Configuration

Store API key in environment: CEREBRUN_API_KEY or pass via --api-key