Cover image
Try Now
2025-04-01

Pharo Smalltalk Implémentation de la spécification du serveur de protocole de contexte de modèle d'Anthropic (MCP). Permet aux LLM comme Claude d'interagir avec les applications Pharo.

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Pharo MCP Server

License: MIT

Pharo Smalltalk implementation of Anthropic's Model Context Protocol (MCP) server specification. Enables LLMs like Claude to interact with Pharo applications.


Table of Contents

What is MCP?

The Model Context Protocol (MCP), developed by Anthropic, is a specification designed to standardize how Large Language Models (LLMs) interact with external tools and services. It defines mechanisms for:

  1. Discovery: How an LLM finds out if a service supports MCP and gets basic information.
  2. Service Description: How a service describes its available tools (functions), including their names, purposes, input parameters, and output formats.
  3. Invocation: How an LLM securely calls a specific tool with the required arguments and receives the result.

The goal is to make LLM tool usage more reliable, secure, and standardized.

For more details, see the official Model Context Protocol GitHub organization.

Goal of this Project

This project aims to provide a robust and easy-to-use server-side implementation of the MCP specification specifically for the Pharo Smalltalk environment.

It allows developers to expose functionalities within their Pharo applications (like querying data, creating objects, triggering actions) as "tools" that MCP-compliant LLMs (such as Claude 3) can discover and invoke through the standardized protocol.

This bridges the gap between the dynamic Pharo environment and the capabilities of modern LLMs.

Features

  • MCP Specification Compliance: Implements the core server-side endpoints:
    • Discovery (/.well-known/model-context)
    • Service Description (/mcp/description - or configurable path)
    • Invocation (/mcp/invoke - or configurable path)
  • Dynamic Tool Registration: Provides a simple API to register Pharo methods or blocks as MCP tools.
  • Automatic Service Description: Generates the MCP Service Description JSON based on the registered tools and their metadata (name, description, schemas).
  • Web Server Integration: Built upon the Teapot micro web framework.
  • JSON Handling: Uses NeoJSON for robust JSON parsing and generation.
  • Extensible: Designed to be integrated into larger Pharo applications.
  • (Planned): Input validation using JSON Schema definitions for tool parameters.
  • (Planned): Integration helpers for common Pharo object models (e.g., using Voyage).

Installation

This project is intended to be loaded using Metacello.

  1. Ensure Metacello is loaded in your Pharo image (it usually is).
  2. Execute the following code in a Pharo Workspace (adjust the repository URL and branch/tag if necessary):
Metacello new
    baseline: 'MCPFramework'; "<- Use the actual name of YOUR baseline class (without 'BaselineOf')"
    repository: 'github://YOUR_USERNAME/pharo-mcp-server:main/'; "<- CHANGE THIS to your repo URL and branch/tag"
    load.

相关推荐

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

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

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

  • 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.

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

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

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • 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

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

    Reviews

    5 (1)
    Avatar
    user_wRRH93Ss
    2025-04-16

    China Weather MCP Server by DLYZZT is a fantastic tool for anyone needing reliable and up-to-date weather data in China. The server is easy to integrate and provides accurate forecasts, making planning activities much easier. I highly recommend this server for its comprehensive coverage and consistent performance. Check it out at https://mcp.so/server/china-weather-mcp-server/DLYZZT.