mcp-ts-core logo
mcp-ts-core
★ 152
vs
compass logo
compass
★ 73

mcp-ts-core vs compass

mcp-ts-core: @cyanheads/mcp-ts-core is a TypeScript framework for building MCP servers. It offers declarative tool/resource/prompt definitions with Zod schemas, pluggable authentication, multi-backend storage, OpenTelemetry observability, and runs on both local (stdio/HTTP) and edge (Cloudflare Workers) runtimes. The framework handles infrastructure concerns like transport, auth, storage, config, logging, and lifecycle, so developers can focus on writing business logic.; compass: Compass is a context engine that builds a temporal knowledge graph connecting entities, relationships, and documents across systems. It provides AI-native capabilities, hybrid search, impact analysis, and an open type system. It can be used to query and traverse organizational knowledge for humans and AI agents.

01

TL;DR

mcp-ts-core logo
mcp-ts-coreRAG / Knowledge Base · ★ 152

Building MCP servers for AI tools and agents

compass logo
compassRAG / Knowledge Base · ★ 73

Search across organizational systems for entities and relationships

02

Side-by-Side Comparison

Field
mcp-ts-core logomcp-ts-core
compass logocompass
Category
RAG / Knowledge Base
RAG / Knowledge Base
Stars
★ 152
★ 73
License
Apache-2.0
Apache-2.0
Install Command
bunx @cyanheads/mcp-ts-core init my-mcp-server && cd my-mcp-server && bun install
git clone https://github.com/raystack/compass.git && cd compass && make
Updated
1w ago
6mo ago
Open Source
Yes
Yes
Tags
ai, cloudflare-workers, llm
ai-agents, context-engine, context-engineering
03

Features

mcp-ts-core logomcp-ts-core
01Declarative definitions with Zod schemas for tools, resources, and prompts
02Unified Context object with logging, state, elicitation, sampling, and cancellation
03Inline authorization scopes on definitions
04Task tools for long-running operations with lifecycle management
05Multi-backend storage (in-memory, filesystem, Supabase, Cloudflare D1/KV/R2)
compass logocompass
01AI-Native: Composable MCP tools for AI agent interaction
02Knowledge Graph: Typed, directed, temporal relationships
03Context Assembly: Multi-hop bidirectional traversal
04Impact Analysis: Blast radius analysis
05Hybrid Search: Keyword and semantic search
04

Use Cases

mcp-ts-core logomcp-ts-core
↳Building MCP servers for AI tools and agents
↳Developing declarative tool, resource, and prompt definitions for LLM interactions
↳Deploying MCP servers on local environments or edge platforms like Cloudflare Workers
compass logocompass
↳Search across organizational systems for entities and relationships
↳Explore context and dependencies around any entity
↳Analyze impact of changes across systems
FAQ

FAQ

What is the difference between mcp-ts-core and compass?
Both mcp-ts-core and compass are in the RAG / Knowledge Base category. mcp-ts-core has 152 stars, while compass has 73 stars.
Which is better, mcp-ts-core or compass?
The best choice depends on your use case. Choose mcp-ts-core if Building MCP servers for AI tools and agents, and compass if Search across organizational systems for entities and relationships.
Is mcp-ts-core free or open source?
Yes, mcp-ts-core is open source on GitHub (Apache-2.0).
Is compass free or open source?
Yes, compass is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related