Skip to main content

Recursor MCP Server - AI model context protocol integration

Project description

Recursor MCP Server

Model Context Protocol (MCP) server for Recursor, enabling AI agents to search memory, record corrections, and check code safety.

Features

  • Memory Search: Find relevant coding patterns and past corrections.
  • Correction Recording: Learn from user feedback to avoid repeating mistakes.
  • Safety Checks: Validate code against safety guardrails.
  • Dual Mode: Supports both stdio (default) and HTTP bridge modes.

Installation

Prerequisites

  • Python 3.10 or higher
  • recursor platform installed
pip install recursor

Usage

Running the Server (stdio)

The default mode for most MCP clients (like Claude Desktop).

python3 -m recursor.mcp

Running the HTTP Bridge

Useful for clients that prefer HTTP over stdio.

python3 -m recursor.mcp --http

Configuration

Set the following environment variables:

  • RECURSOR_API_KEY: Your Recursor API key.
  • RECURSOR_PROJECT_ID: The project ID to associate with tool calls.
  • RECURSOR_API_URL: (Optional) Custom API URL.

Available Tools

search_memory

Search Recursor's memory for relevant coding patterns, past corrections, or guidelines.

add_correction

Record a correction or improvement to the system's memory based on user feedback.

check_safety

Validate a code snippet against safety guardrails.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recursor_mcp-1.0.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recursor_mcp-1.0.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file recursor_mcp-1.0.1.tar.gz.

File metadata

  • Download URL: recursor_mcp-1.0.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for recursor_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 77127f7e3a56316cc522663bc855d9232d35f46cc602f5c72e69ba9b25c1f878
MD5 262be4b30168743c0bc46f4a28b6a394
BLAKE2b-256 95dae5705e59f5a0d86c47383cc35b0abfed22f9ad7f3e8a9b04c73a7faa5a96

See more details on using hashes here.

File details

Details for the file recursor_mcp-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: recursor_mcp-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for recursor_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5da26b1df1327a404c994c7833e29907f770fcdc7b0eb78269ac87685c9d4041
MD5 61cb828f14a8c6e3a2859f16991d669b
BLAKE2b-256 aaf127e7d3856289badcf63ee555d6b9a5602bff6f93589596eb6f860d6eb6c5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page