1. Conduid
  2. AI
  3. Rescript
MCP server · AI

Rescript

ReScript bindings for the public MCP TypeScript SDK split packages

37Low

Scored 5 months ago · breakdown

About Rescript

Rescript is an MCP server in the AI category: reScript bindings for the public MCP TypeScript SDK split packages.

Install

Claude Code
claude mcp add rescript -- npx -y rescript-mcp
npx
npx -y rescript-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Rescript

Powered by Claude · Grounded in docs

I know everything about Rescript. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

rescript-mcp

ReScript bindings for the split Model Context Protocol TypeScript SDK packages:

  • @modelcontextprotocol/client
  • @modelcontextprotocol/server
  • @modelcontextprotocol/node

The bindings stay close to the upstream SDK names and transport model, so the TypeScript MCP docs remain useful when working from ReScript.

Release Stage

This package is pre-alpha.

  • current repo version line: 0.0.1-alpha.0
  • the repo release workflow is in PR-only mode
  • stable latest publication requires explicit owner approval after the package leaves pre-alpha
  • do not treat the current repo line as a stable production contract

Install

npm install rescript-mcp @modelcontextprotocol/client @modelcontextprotocol/server @modelcontextprotocol/node

Add the package to rescript.json:

{
  "dependencies": ["rescript-mcp"]
}

Supported package line:

  • @modelcontextprotocol/client@2.0.0-alpha.2
  • @modelcontextprotocol/server@2.0.0-alpha.2
  • @modelcontextprotocol/node@2.0.0-alpha.2

Quick Start

let implementation = McpImplementation.make(~name="example-server", ~version="0.1.0")
let server = McpLowLevelServer.make(implementation)
let transport =
  McpWebStandardStreamableHttpServerTransport.makeWithOptions(
    McpWebStandardStreamableHttpServerTransportOptions.make(~enableJsonResponse=true, ()),
  )

let _promise = server->McpLowLevelServer.connect(transport)

Package Guide

  • McpClient covers client setup, connection, and request flow
  • McpLowLevelServer and McpServer cover low-level server wiring and higher-level server APIs
  • McpTool, McpPrompt, McpResource, and McpResourceTemplate cover server authoring APIs
  • Mcp.Server.ExperimentalTasks, Mcp.Client.ExperimentalTasks, and Mcp.Shared.Task* cover the installed experimental task flow, pluggable task stores, and task queues
  • McpProtocol and related schema modules cover typed protocol request/result objects, Mcp.Protocol.JsonValue, notification params, and shared transport data
  • Mcp.Shared.UriTemplate exposes the upstream URI template surface used by resource templates
  • transport modules cover stdio, Streamable HTTP, SSE, and web-standard server transports
  • grouped re-exports also live under Mcp

Published package subpaths:

  • rescript-mcp
  • rescript-mcp/auth
  • rescript-mcp/protocol
  • rescript-mcp/core
  • rescript-mcp/shared
  • rescript-mcp/server
  • rescript-mcp/client
  • rescript-mcp/transports

Upstream package references:

Examples:

Development

npm install
npm run build
npm test
npm pack --dry-run

Release

Releases are versioned with Changesets.

The current repo stays in pre-alpha PR-only mode. GitHub Actions may open version PRs through the repository workflow, and stable npm publication remains gated behind explicit owner approval:

Maintainer Docs

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Rescript

How do I install Rescript?

Run claude mcp add rescript -- npx -y rescript-mcp, then add the server to your MCP client's configuration.

Is Rescript safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Rescript still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.