Contextbase MCP Server

TypeScript SDK for interacting with the ContextBase MCP API.

Local serverstdioTypeScript

What is the Contextbase MCP Server?

TypeScript SDK for interacting with the ContextBase MCP API.

The short version

A TypeScript SDK for interacting with the ContextBase MCP API, simple key-value memory storage service with authentication and search capabilities.

Getting it running

Installation goes through your MCP client rather than a global install: point it at contextbase-ts on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

The tools it exposes

The server publishes 4 tools. What each one is for:

  • Initialization — const ctx = new context({ baseUrl: 'https://contextbase.onrender.com' });
  • Authentication — const loginToken = await ctx.login('user@example.com', 'password');
  • Constructor — The Constructor tool exposed by this server
  • Methods — The Methods tool exposed by this server

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the Contextbase MCP Server

{
  "mcpServers": {
    "contextbase": {
      "command": "npx",
      "args": ["-y", "contextbase-ts"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • “Use Contextbase to Initialization.”
  • “Use Contextbase to Authentication.”
  • “Use Contextbase to Constructor.”

Frequently asked questions

TypeScript SDK for interacting with the ContextBase MCP API. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.