MCP cover image
See in Github
2025-03-08

Serveur MCP simple pour NREPL

1

Github Watches

1

Github Forks

1

Github Stars

Basilisp nREPL MCP Bridge

This project provides a bridge between Anthropic's Model Control Protocol (MCP) and Basilisp's nREPL server, allowing Claude Code to interact directly with a Basilisp REPL. Actually, it should work with any nREPL, but the current prompts are Basilisp focused.

Features

  • Execute code and receive pretty-printed, syntax-highlighted results
  • Get documentation for symbols
  • List all available namespaces
  • Find all variables in a namespace
  • Check nREPL server connectivity
  • Basilisp: Python interop with proper syntax for attribute access and method calls
  • Enhanced error reporting and formatting

Requirements

Usage

  1. Start a Basilisp nREPL server:

    basilisp nrepl-server --port 36915
    
  2. Add the MCP bridge to Claude Code:

    claude mcp add /home/a/subjective/snr/basilisp_mcp_bridge.py
    
  3. Connect with Claude and use the available tools:

    • eval_code(code) - Evaluate Basilisp code
    • get_docs(symbol) - Get documentation for a symbol
    • find_namespace_vars(namespace) - List variables in a namespace
    • list_namespaces() - List all available namespaces
    • check_connection() - Verify nREPL connectivity

Python Interop Examples

;; Import a module
(import [math :as math])

;; Access an attribute
(. math -pi)  ;; or (.-pi math)

;; Call a method
(.sin math 0)

;; Create Python data structures
#py{"key" "value"}

Future Improvements

  • Implement a proper bencode parser (beyond regex)
  • Add session management for multiple REPLs
  • Add auto-completion support

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • modelcontextprotocol
  • Serveurs de protocole de contexte modèle

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

    Reviews

    4 (1)
    Avatar
    user_MNnxsO5d
    2025-04-15

    I've been using the locust-mcp-server from QAInsights for my load testing needs, and it has been fantastic! The server is reliable, easy to set up, and provides comprehensive insights into performance metrics. The clear welcome information and straightforward user interface make this an essential tool for anyone serious about performance testing. Highly recommend checking it out at https://mcp.so/server/locust-mcp-server/QAInsights!