Creedspace Mcp Server

io.github.Creed-Space由 GitHub 帳號 Creed-Space 發布v1.1.4更新於 Oct 24, 2026

Constitutional-AI safety guardrails for any LLM — personas, constitutions, adjudication.

已驗證STDIO僅桌面安全與監控AI 與機器學習

概覽

AI 產生的概覽

一個本機 MCP 伺服器,為助理提供憲法式 AI 安全護欄:人格、憲法,以及逐筆請求的裁決與回應認證。

可以做什麼
瀏覽與取得憲法及人格,包括合併憲法、人格特質、系統提示詞和匯出預覽,並在執行時切換目前人格。對請求和回覆套用護欄:為請求取得政策裁決、依目前信條驗證回覆、取得精簡的不可協商規則錨點,並定期重新錨定以減少上下文漂移。執行跨微觀、中觀、宏觀尺度的多方價值握手,並取得帶雜湊鏈的認證紀錄。清除本機快取,並在離線模式下使用快取資料。
適用情境
當你希望助理的回覆依選定的人格或憲法接受檢查時使用,例如兒童安全、隱私保護或專業溝通情境,或需要留存這些檢查的認證紀錄時。
執行需求
透過 npx 在本機執行,需要 Node.js,無須安裝。可選設定 CREEDSPACE_API_URL、CREEDSPACE_API_KEY 和 CREEDSPACE_DEFAULT_PERSONA,或傳入 persona、url、api-key、cache-ttl、offline 等命令列參數。除離線模式外,需要連線至 Creed Space API 的網路存取。
安裝前請注意
API 金鑰為選用項目,但會透過命令列或環境變數傳入,請勿寫入共用設定。除離線模式外,請求和回覆會傳送到 Creed Space API 進行評估。HTTP 傳輸會開放本機連接埠,CORS 選項會擴大存取範圍;應綁定至 localhost 並限制來源。切換人格和清除快取會改變伺服器狀態。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Creedspace Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

creedspace-mcp-server

Universal MCP server for Creed Space - AI safety guardrails in 10 seconds.

[npm version] [smithery badge] [License: MIT]

Available in

The server is published to the canonical MCP catalogues, so registry-aware clients can discover and install it directly — or use any command in Quick Start below.

  • npm — @creedspace/mcp-server, the package every install path resolves to.
  • Official MCP Registry — io.github.Creed-Space/creedspace-mcp-server.
  • GitHub — source, issues, and the server.json manifest.
  • Smithery — nell/creedspace, a gateway-fronted Streamable HTTP endpoint.

Also rolling out across the wider MCP ecosystem: mcp.directory, mcpservers.org, PulseMCP (via the registry ingest), and mcp.so.

Quick Start

bash
# STDIO transport (Claude Desktop, OpenAI Codex)npx @creedspace/mcp-server --persona ambassador
# HTTP transport (OpenAI Agents SDK)npx @creedspace/mcp-server --transport http --port 3100
# Test API connectionnpx @creedspace/mcp-server test

What is Creed Space?

Creed Space provides personalized AI safety guardrails through Constitutional AI personas. Each persona enforces specific values and behaviors, ensuring AI assistants operate within defined ethical boundaries.

  • 🛡️ Reduces harmful AI outputs via constitutional evaluation of every response
  • 🎯 Refuses dangerous prompts according to the active persona's values
  • 🚀 10-second setup with any MCP-compatible AI

Available Personas

PersonaIconPurpose
Ambassador🤝Professional communication
Nanny👶Child-safe interactions
Sentinel🛡️Privacy and security focus
Godparent🕊️Religious and ethical guidance
Muse🎨Creative exploration
Anchor⚓Reality grounding

Installation

Option 1: Use with npx (Recommended)

bash
# No installation needed - just run!npx @creedspace/mcp-server --persona ambassador

Option 2: Global Installation

bash
npm install -g @creedspace/mcp-servercreedspace-mcp --persona ambassador

Option 3: Project Dependency

bash
npm install @creedspace/mcp-server

Claude Desktop Integration

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "creedspace": {      "command": "npx",      "args": ["@creedspace/mcp-server", "--persona", "ambassador"]    }  }}

Then restart Claude Desktop to load the Creed Space guardrails.

Configuration

Environment Variables

bash
# .env fileCREEDSPACE_API_URL=https://api.creed.spaceCREEDSPACE_API_KEY=your-api-key-here  # OptionalCREEDSPACE_DEFAULT_PERSONA=ambassador

Command Line Options

bash
creedspace-mcp \  --persona ambassador \  --url https://api.creed.space \  --api-key YOUR_KEY \  --cache-ttl 300000 \  --offline
# HTTP Transport Optionscreedspace-mcp \  --transport http \  --port 3100 \  --host localhost \  --api-key YOUR_KEY \  --cors \  --cors-origin http://localhost:3000 \  --stateless

Transport Types

TransportUse CasePlatforms
stdio (default)Local subprocess communicationClaude Desktop, OpenAI Codex
httpHTTP server for remote/local connectionsOpenAI Agents SDK, custom integrations

Configuration File

bash
# Generate example configscreedspace-mcp --generate-config
# Use config filecreedspace-mcp --config creedspace.json

Available MCP Tools

The server provides 16 tools to MCP clients:

Constitutions

  • get_constitution - Get the merged constitution for a persona
  • get_constitution_by_id - Get a specific constitution by ID
  • search_constitutions - Search the constitution library

Personas

  • list_personas - List all available personas
  • set_persona - Switch the active persona
  • get_active_persona - Get the currently active persona
  • get_uvc_qualities - Get desired/disliked/never qualities
  • get_system_prompt - Get a complete persona system prompt
  • preview_export - Preview the export configuration

Runtime guardrails

  • adjudicate - Get a policy decision kernel for a request
  • attest_response - Validate a response against the active creed
  • get_anchor - Get a compact non-negotiable-rules anchor
  • heartbeat - Periodic re-anchoring to prevent context drift
  • clear_cache - Clear the local cache

Multi-scale value handshake

  • perform_multi_scale_handshake - N-party value handshake across micro/meso/macro scales
  • get_scale_attestation - Get an attestation record with hash chain

Programmatic Usage

javascript
import { CreedSpaceMCPServer } from '@creedspace/mcp-server';
// Start server programmaticallyconst server = new CreedSpaceMCPServer({  persona: 'ambassador',  apiUrl: 'https://api.creed.space',  cacheEnabled: true});
await server.start();
javascript
// Use the API client directlyimport { CreedSpaceClient } from '@creedspace/mcp-server';
const client = new CreedSpaceClient();const personas = await client.getPersonas();const constitution = await client.getMergedConstitution('ambassador');

Platform Integration Examples

OpenAI Agents SDK (HTTP Transport)

python
from agents import Agentfrom agents.mcp import MCPServerStreamableHttp
# Start the server first:# npx @creedspace/mcp-server --transport http --port 3100
server = MCPServerStreamableHttp(    url="http://localhost:3100/mcp",    name="creedspace")
agent = Agent(    name="safe-agent",    tools=[server.get_tools()])
# The agent now has access to Creed Space safety tools

OpenAI Codex (STDIO Transport)

Add to ~/.codex/config.toml:

toml
[mcp_servers.creedspace]command = "npx"args = ["@creedspace/mcp-server", "--persona", "ambassador"]
[mcp_servers.creedspace.env]CREEDSPACE_API_URL = "https://api.creed.space"

VS Code / Cursor

json
{  "mcp.servers": {    "creedspace": {      "command": "npx",      "args": ["@creedspace/mcp-server", "--persona", "ambassador"]    }  }}

Continue.dev

json
{  "models": [{    "provider": "openai",    "mcp_servers": [{      "command": "npx",      "args": ["@creedspace/mcp-server"]    }]  }]}

LangChain

python
from langchain.tools import MCPTool
creedspace = MCPTool(    command="npx",    args=["@creedspace/mcp-server", "--persona", "ambassador"])

Testing

bash
# Test API connectionnpx @creedspace/mcp-server test
# Test with specific URLnpx @creedspace/mcp-server test --url http://localhost:8000

Offline Mode

The server includes intelligent caching for offline usage:

bash
# Enable offline mode with cached datacreedspace-mcp --offline --persona ambassador

Development

bash
# Clone the repositorygit clone https://github.com/Creed-Space/creedspace-mcp-server.gitcd creedspace-mcp-server
# Install dependenciesnpm install
# Build TypeScriptnpm run build
# Run in development modenpm run dev
# Run testsnpm test

API Documentation

Full API documentation available at https://api.creed.space/api-docs

Support

License

MIT © Nell Watson


Building critical AI safety infrastructure that shapes autonomous AI-human value interaction.

來源:README.md,提交 fdad1e0

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分