npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@creedspace/mcp-server

v1.1.0

Published

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

Readme

creedspace-mcp-server

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

npm version License: MIT

Quick Start

# 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 connection
npx @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.

  • 🛡️ 96.4% reduction in harmful AI outputs
  • 🎯 100% refusal on dangerous prompts
  • 🚀 10-second setup with any MCP-compatible AI

Available Personas

| Persona | Icon | Purpose | |---------|------|---------| | 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)

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

Option 2: Global Installation

npm install -g @creedspace/mcp-server
creedspace-mcp --persona ambassador

Option 3: Project Dependency

npm install @creedspace/mcp-server

Claude Desktop Integration

Add to your claude_desktop_config.json:

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

Then restart Claude Desktop to load the Creed Space guardrails.

Configuration

Environment Variables

# .env file
CREEDSPACE_API_URL=https://api.creed.space
CREEDSPACE_API_KEY=your-api-key-here  # Optional
CREEDSPACE_DEFAULT_PERSONA=ambassador

Command Line Options

creedspace-mcp \
  --persona ambassador \
  --url https://api.creed.space \
  --api-key YOUR_KEY \
  --cache-ttl 300000 \
  --offline

# HTTP Transport Options
creedspace-mcp \
  --transport http \
  --port 3100 \
  --host localhost \
  --cors \
  --stateless

Transport Types

| Transport | Use Case | Platforms | |-----------|----------|-----------| | stdio (default) | Local subprocess communication | Claude Desktop, OpenAI Codex | | http | HTTP server for remote/local connections | OpenAI Agents SDK, custom integrations |

Configuration File

# Generate example configs
creedspace-mcp --generate-config

# Use config file
creedspace-mcp --config creedspace.json

Available MCP Tools

The server provides these tools to MCP clients:

  • get_constitution - Get merged constitution for a persona
  • list_personas - List all available personas
  • set_persona - Switch active persona
  • get_uvc_qualities - Get desired/disliked/never qualities
  • get_system_prompt - Get complete system prompt
  • preview_export - Preview export configuration
  • search_constitutions - Search constitution library
  • clear_cache - Clear local cache

Programmatic Usage

import { CreedSpaceMCPServer } from '@creedspace/mcp-server';

// Start server programmatically
const server = new CreedSpaceMCPServer({
  persona: 'ambassador',
  apiUrl: 'https://api.creed.space',
  cacheEnabled: true
});

await server.start();
// Use the API client directly
import { 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)

from agents import Agent
from 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:

[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

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

Continue.dev

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

LangChain

from langchain.tools import MCPTool

creedspace = MCPTool(
    command="npx",
    args=["@creedspace/mcp-server", "--persona", "ambassador"]
)

Testing

# Test API connection
npx @creedspace/mcp-server test

# Test with specific URL
npx @creedspace/mcp-server test --url http://localhost:8000

Offline Mode

The server includes intelligent caching for offline usage:

# Enable offline mode with cached data
creedspace-mcp --offline --persona ambassador

Development

# Clone the repository
git clone https://github.com/nellwatson/creedspace-mcp-server.git
cd creedspace-mcp-server

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run in development mode
npm run dev

# Run tests
npm test

API Documentation

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

Support

License

MIT © Nell Watson


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