Contraption Company MCP
Provides semantic search and access to Contraption Company blog posts and essays. Uses AI-powered embeddings to find relevant content and supports real-time updates via webhooks.
README
Contraption Company MCP
An MCP (Model Context Protocol) server for Contraption Company essay, built on Chroma Cloud.
How to Install
Contraption Company MCP is available as a hosted MCP server with no authentication.
| Field | Value |
|---|---|
| Server URL | https://mcp.contraption.co |
How to configure in common clients
<details> <summary><b>Cursor</b></summary>
Create or edit ~/.cursor/mcp.json:
{
"mcpServers": {
"contraption-company": {
"url": "https://mcp.contraption.co"
}
}
}
</details>
<details> <summary><b>VS Code (Copilot Chat MCP)</b></summary>
Create or edit .vscode/mcp.json:
{
"servers": {
"contraption-company": {
"type": "http",
"url": "https://mcp.contraption.co"
}
}
}
</details>
<details> <summary><b>Codex</b></summary>
Add to ~/.codex/config.toml:
[mcp_servers.contraption-company]
command = "npx"
args = ["mcp-remote", "--transport", "http", "https://mcp.contraption.co"]
</details>
<details> <summary><b>Claude Code</b></summary>
Run in your terminal:
claude mcp add --transport http contraption-company https://mcp.contraption.co
</details>
<details> <summary><b>OpenAI SDK (Python)</b></summary>
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="gpt-5",
input="List the newest Contraption Company blog posts.",
tools=[
{
"type": "mcp",
"server_label": "contraption-company",
"server_url": "https://mcp.contraption.co",
"require_approval": "never",
}
],
)
print(response)
</details>
Features
- Semantic Search: Uses Qwen3-Embedding-0.6B model for efficient semantic search
- Automatic Indexing: Syncs with blog API on startup and via webhooks
- Full Content Access: Uses Ghost Admin API to index all published content including members-only posts
- Fast Performance: Powered by FastAPI and Chroma Cloud
- Real-time Updates: Webhook support for instant post updates
- Docker Ready: Includes Dockerfile for easy deployment
- Well Tested: Comprehensive test suite with pytest
Run Locally
- Clone and install:
git clone <repository>
cd mcp
uv sync --all-extras
- Configure environment:
cp .env.example .env
# Edit .env with your credentials
- Run the server:
./run.sh
# Or: uv run python -m src.main
Docker
# Build
docker build -t contraption-mcp .
# Run
docker run -p 8000:8000 --env-file .env contraption-mcp
# Or use docker-compose
docker-compose up
Configuration
Running locally requires credentials for external services:
- Ghost Admin API Key: From your Ghost Admin panel (Settings > Integrations)
- Chroma Cloud Credentials: Tenant ID, Database, and API key from Chroma Cloud
- Ghost Blog URL: Your Ghost blog's URL
MCP Tools
get_post(slug): Get a single blog post by sluglist_posts(sort_by, page, limit): List posts with paginationsearch_posts(query, limit): Semantic search across posts
API Endpoints
GET /: Server info (redirects to GitHub repo for non-MCP requests)GET /health: Health checkPOST /webhook/ghost/{secret}: Secure webhook endpoint for Ghost updates/mcp/*: MCP protocol endpoints
Webhook Security
The webhook endpoint requires a secret token in the URL path for security. Configure it in Ghost Admin:
- Go to Settings → Integrations → Webhooks
- Set URL to:
https://your-domain.com/webhook/ghost/{your-webhook-secret} - Replace
{your-webhook-secret}with the value from your.envfile - Select events: Post published, Post updated, Post deleted
Development
# Install dev dependencies
make dev
# Run tests
make test
# Lint and format
make format lint
# Run all checks
make check
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.