← 返回
未分类 Key

Alchemyst MCP Skill

Use this skill whenever you need to store, retrieve, search, or view persistent context using the Alchemyst AI MCP server at mcp.getalchemystai.com/mcp/sse....
在需要存储、检索、搜索或查看持久上下文时,使用此技能,配合 Alchemyst AI MCP 服务器(mcp.getalchemystai.com/mcp/sse...)。
anuran-roy
未分类 clawhub v1.0.0 1 版本 99473.7 Key: 需要
★ 0
Stars
📥 189
下载
💾 0
安装
1
版本
#latest

概述

Alchemyst AI MCP — Context Engine

Overview

Alchemyst AI is a persistent context layer for AI applications. It stores documents,

conversations, and structured knowledge externally so they can be retrieved on demand — across

sessions, tools, and environments.

The MCP server is exposed as an SSE (Server-Sent Events) endpoint:

https://mcp.getalchemystai.com/mcp/sse

Authentication is done via a Bearer token (your Alchemyst API key) passed as a request header.


Prerequisites

RequirementDetail
------
Alchemyst API keyObtain from platform.getalchemystai.com
MCP-compatible clientClaude Desktop, Cursor, VS Code + MCP extension, or custom agent
TransportSSE (https://mcp.getalchemystai.com/mcp/sse)
Auth headerAuthorization: Bearer

Claude Desktop Configuration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "alchemyst": {
      "url": "https://mcp.getalchemystai.com/mcp/sse",
      "headers": {
        "Authorization": "Bearer YOUR_ALCHEMYST_API_KEY"
      }
    }
  }
}

> Never commit your API key. Use an environment variable or secrets manager in production.


Tools

The server exposes exactly four tools:


alchemyst_ai_search_context — Semantic Search

Search the context store using a natural-language query. Returns documents ranked by semantic

similarity.

When to use: Before answering a question that might rely on stored knowledge; retrieving prior

decisions, docs, or instructions without manual lookup.

Input Schema

FieldTypeRequiredDescription
------------
querystringNatural-language search query
similarity_thresholdnumber (0–1)Maximum similarity threshold — results at or below this score are returned
minimum_similarity_thresholdnumber (0–1)Floor — results below this score are excluded
scope"internal" \"external"Search scope; defaults to "internal"
metadataobject \nullOptional filter by file metadata; defaults to null

Metadata filter fields (all required if metadata object is provided):

FieldTypeDescription
---------
fileNamestringName of file to filter by
fileSizenumberFile size in bytes
fileTypestringMIME type
lastModifiedstringISO 8601 datetime string
groupNamestring[]Tag groups; defaults to ["default"]

> Note: Metadata field names use camelCase in the search tool (fileName, fileSize,

> fileType, lastModified, groupName).

Threshold Guidance

  • similarity_threshold: 0.8 + minimum_similarity_threshold: 0.5 → tight, precise results
  • similarity_threshold: 0.7 + minimum_similarity_threshold: 0.4 → broader, more permissive
  • Always set minimum_similarity_threshold lower than similarity_threshold

Example Call

{
  "query": "authentication token expiry policy",
  "similarity_threshold": 0.8,
  "minimum_similarity_threshold": 0.5,
  "scope": "internal",
  "metadata": null
}

alchemyst_ai_add_context — Store Context

Add one or more documents to the Alchemyst context store.

When to use: Saving project requirements, architectural decisions, onboarding docs, meeting

notes, code conventions, or any knowledge you want to persist and retrieve later.

Input Schema

FieldTypeRequiredDescription
------------
user_idstringUnique identifier of the user submitting context
organization_idstring \nullOrganization ID; pass null if not applicable
documentsarrayArray of document objects, each with a content string field (plus optional extra string fields)
sourcestringLabel describing where this context came from (e.g., "project.auth.decisions")
context_type"resource" \"conversation" \"instruction"Type of context being stored
metadataobjectFile metadata — all four fields required
scope"internal" \"external"Defaults to "internal"

Metadata fields (all required; note snake_case here, unlike the search tool):

FieldTypeDescription
---------
file_namestringName of the file or document
doc_typestringMIME type or document type (e.g., "text/markdown")
modalitiesstring[]Modalities present (e.g., ["text"], ["text", "image"])
sizenumberSize in bytes

> ⚠️ Key naming difference: add_context uses snake_case metadata keys (file_name,

> doc_type, size), while search_context uses camelCase (fileName, fileType,

> fileSize). Match the case to the tool you're calling.

Context Types

ValueUse for
------
"resource"Files, documents, reference material, code
"conversation"Chat history, meeting transcripts, support threads
"instruction"Persistent rules, conventions, agent instructions

Source Naming Convention

Use dot-separated hierarchical labels. This makes auditing straightforward:

project.auth.decisions
team.onboarding.v2
agent.instructions.sales

Example Call

{
  "user_id": "user_abc123",
  "organization_id": "org_xyz",
  "documents": [
    { "content": "All API routes use JWT auth with 15-minute token expiry." }
  ],
  "source": "project.auth.decisions",
  "context_type": "resource",
  "scope": "internal",
  "metadata": {
    "file_name": "auth-decisions.md",
    "doc_type": "text/markdown",
    "modalities": ["text"],
    "size": 64
  }
}

alchemyst_ai_context_mcp_view_context — View Context Summary

Retrieve a summary of all stored context for a given user and organization.

When to use: Auditing what's in the context store, debugging missing context, or checking

what knowledge is available before a session.

Input Schema

FieldTypeRequiredDescription
------------
user_idstringUser ID to get context for
organization_idstring \nullOrganization ID; pass null if not applicable

Example Call

{
  "user_id": "user_abc123",
  "organization_id": "org_xyz"
}

alchemyst_ai_context_mcp_view_docs — View Stored Documents

Retrieve the actual documents stored in the context store for a given user and organization.

When to use: Listing stored documents, verifying content was saved correctly, or browsing

available knowledge before deciding what to add.

Input Schema

FieldTypeRequiredDescription
------------
user_idstringUser ID to get documents for
organization_idstring \nullOrganization ID; pass null if not applicable

Example Call

{
  "user_id": "user_abc123",
  "organization_id": "org_xyz"
}

Workflow Patterns

Store → Search (basic memory pattern)

  1. Call alchemyst_ai_add_context to store a document
  2. Later, call alchemyst_ai_search_context with a relevant query to retrieve it
  3. Inject the retrieved content into your prompt as context

Audit before adding

  1. Call alchemyst_ai_context_mcp_view_docs to inspect what's already stored
  2. Only call alchemyst_ai_add_context if the knowledge isn't already present
  3. This avoids duplicating context and keeps the store clean

Pre-answer retrieval

Before answering any question that might depend on project-specific knowledge, call

alchemyst_ai_search_context first. Prefer doing this proactively — don't wait for the user to

explicitly ask "check the context store."


Best Practices

Always populate metadata. The metadata object is required on add_context — populate all

four fields every time. Missing metadata degrades retrieval quality significantly.

Chunk large documents. Break large files into logical sections before adding. Each chunk

should be independently meaningful. Don't split mid-sentence or mid-concept.

Version your sources. When content evolves, use versioned source labels

(project.arch.v1, project.arch.v2) rather than re-adding to the same source. This preserves

history.

Search before storing. Run a search first to check whether similar content already exists

before calling add_context. Avoid accumulating duplicates.

Mind the camelCase/snake_case split. The metadata schema differs between tools — this is a

quirk of the current API. Double-check field names when building payloads:

  • add_contextfile_name, doc_type, size (snake_case)
  • search_contextfileName, fileType, fileSize (camelCase)

Pass organization_id explicitly. Even when there's no org, pass null rather than

omitting the field — it's required by the schema.


Error Handling

StatusMeaningAction
---------
400Bad requestCheck required fields; verify documents is an array; check metadata schema
401Auth failureVerify API key; confirm header is Authorization: Bearer
403Permission deniedCheck org/user scope permissions
404Not foundConfirm the user_id or organization_id is valid
422Unprocessable entitySchema validation failed — check field types, required fields, and camelCase vs snake_case
429Rate limitBack off exponentially; retry after delay
500+Server errorRetry twice with backoff; check status.getalchemystai.com

Resources

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-12 06:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,221 📥 267,139
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,366 📥 319,412
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,767