{
  "_id": "6a48d4eeb5e98c40829febfa",
  "Package": "mcpr",
  "Title": "Model Context Protocol for R",
  "Version": "0.0.2.9000",
  "Authors@R": "c(\nperson(given = \"John\",\nfamily = \"Coene\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jcoenep@gmail.com\"),\nperson(family = \"Opifex\",\nrole = c(\"cph\", \"fnd\"),\nemail = \"john@opifex.org\")\n)",
  "Description": "Create, run, and connect to Model Context Protocol (MCP)\nservers, and clients in R. The package provides a framework for\nimplementing MCP-compatible servers with tools, resources, and\nprompts capabilities, as well as client functionality to\ninteract with MCP servers. It includes a JSON-RPC 2.0\nimplementation for communication between clients and servers.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE, roclets = c(\"collate\", \"rd\",\n\"namespace\", \"mcpr::mcp_roclet\"))",
  "RoxygenNote": "7.3.2",
  "URL": "https://mcpr.opifex.org/, https://github.com/devOpifex/mcpr",
  "VignetteBuilder": "knitr",
  "Repository": "https://devopifex.r-universe.dev",
  "Date/Publication": "2025-11-02 14:50:44 UTC",
  "RemoteUrl": "https://github.com/devOpifex/mcpr",
  "RemoteRef": "HEAD",
  "RemoteSha": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 09:08:26 UTC",
    "User": "root"
  },
  "Author": "John Coene [aut, cre],\nOpifex [cph, fnd]",
  "Maintainer": "John Coene <jcoenep@gmail.com>",
  "_user": "devopifex",
  "_type": "src",
  "_file": "mcpr_0.0.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/9281db213dcbc4a99336e837270369cbf64cb56fea4db1a113e70a784fe9e897",
  "_filesize": 233367,
  "_sha256": "9281db213dcbc4a99336e837270369cbf64cb56fea4db1a113e70a784fe9e897",
  "_expires": "2026-10-12T09:39:56.000Z",
  "_created": "2026-07-04T09:08:26.000Z",
  "_published": "2026-07-04T09:39:58.239Z",
  "_jobs": [
    {
      "job": 85120155700,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8080335109"
    },
    {
      "job": 85120155713,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8080334801"
    },
    {
      "job": 85120155690,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8080532495"
    },
    {
      "job": 85120155706,
      "time": 69,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8080528504"
    },
    {
      "job": 85119937266,
      "time": 205,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8080319953"
    },
    {
      "job": 85120155689,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8080336561"
    },
    {
      "job": 85120155693,
      "time": 66,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8080328566"
    },
    {
      "job": 85120155707,
      "time": 54,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8080327195"
    },
    {
      "job": 85120155698,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8080329827"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022",
  "_status": "success",
  "_upstream": "https://github.com/devOpifex/mcpr",
  "_commit": {
    "id": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
    "author": "John Coene <jcoenep@gmail.com>",
    "committer": "John Coene <jcoenep@gmail.com>",
    "message": "fix: error codes as integers\n",
    "time": 1762095044
  },
  "_maintainer": {
    "name": "John Coene",
    "email": "jcoenep@gmail.com",
    "login": "johncoene",
    "bluesky": "@johncoene.bsky.social",
    "linkedin": "in/johncoene",
    "description": "R, Go, JavaScript, and other indoor stuff.",
    "uuid": 7833796
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "yyjsonr",
      "role": "Imports"
    },
    {
      "package": "ambiorix",
      "role": "Suggests"
    },
    {
      "package": "processx",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "ellmer",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    }
  ],
  "_owner": "devopifex",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 62,
  "_contributors": [
    {
      "user": "johncoene",
      "count": 101,
      "uuid": 7833796
    },
    {
      "user": "sounkou-bioinfo",
      "count": 1,
      "uuid": 56392505
    }
  ],
  "_userbio": {
    "uuid": 72293151,
    "type": "organization",
    "name": "Opifex",
    "followers": 72,
    "description": "R, Go, Javascript"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mcpr"
  },
  "_devurl": "https://github.com/devopifex/mcpr",
  "_pkgdown": "https://mcpr.opifex.org/",
  "_searchresults": 47,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mcpr.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_capability",
    "ellmer_to_mcpr_tool",
    "get_name",
    "initialize",
    "mcp_roclet",
    "new_client_io",
    "new_mcp",
    "new_prompt",
    "new_resource",
    "new_server",
    "new_tool",
    "prompts_get",
    "prompts_list",
    "properties",
    "property_array",
    "property_boolean",
    "property_enum",
    "property_number",
    "property_object",
    "property_string",
    "read",
    "register_mcpr_tools",
    "resources_list",
    "resources_read",
    "response",
    "response_audio",
    "response_error",
    "response_file",
    "response_image",
    "response_item",
    "response_resource",
    "response_text",
    "response_video",
    "schema",
    "serve_http",
    "serve_io",
    "tools_call",
    "tools_list",
    "write"
  ],
  "_help": [
    {
      "page": "add_capability",
      "title": "Add a capability to an MCP object",
      "topics": [
        "add_capability"
      ]
    },
    {
      "page": "client",
      "title": "Create a new mcp IO",
      "topics": [
        "client",
        "new_client_http",
        "new_client_io"
      ]
    },
    {
      "page": "ellmer_to_mcpr_tool",
      "title": "Convert ellmer tools to mcpr tools",
      "topics": [
        "ellmer_to_mcpr_tool"
      ]
    },
    {
      "page": "get_name",
      "title": "Get the name of a client",
      "topics": [
        "get_name"
      ]
    },
    {
      "page": "initialize",
      "title": "Initialize the server with protocol information",
      "topics": [
        "initialize"
      ]
    },
    {
      "page": "mcp_roclet",
      "title": "MCP Roclet for Generating MCP Servers",
      "topics": [
        "mcp_roclet"
      ]
    },
    {
      "page": "new_prompt",
      "title": "Create a new prompt",
      "topics": [
        "new_prompt"
      ]
    },
    {
      "page": "new_resource",
      "title": "Create a new resource",
      "topics": [
        "new_resource"
      ]
    },
    {
      "page": "new_server",
      "title": "Create a new MCP object",
      "topics": [
        "new_mcp",
        "new_server"
      ]
    },
    {
      "page": "new_tool",
      "title": "Create a new tool",
      "topics": [
        "new_tool"
      ]
    },
    {
      "page": "prompts_get",
      "title": "Get a prompt with the given parameters",
      "topics": [
        "prompts_get"
      ]
    },
    {
      "page": "prompts_list",
      "title": "List all available prompts",
      "topics": [
        "prompts_list"
      ]
    },
    {
      "page": "properties",
      "title": "Create a new properties list",
      "topics": [
        "properties"
      ]
    },
    {
      "page": "property_array",
      "title": "Create an array property definition",
      "topics": [
        "property_array"
      ]
    },
    {
      "page": "property_boolean",
      "title": "Create a boolean property definition",
      "topics": [
        "property_boolean"
      ]
    },
    {
      "page": "property_enum",
      "title": "Create an enum property with predefined values",
      "topics": [
        "property_enum"
      ]
    },
    {
      "page": "property_number",
      "title": "Create a number property definition",
      "topics": [
        "property_number"
      ]
    },
    {
      "page": "property_object",
      "title": "Create an object property definition",
      "topics": [
        "property_object"
      ]
    },
    {
      "page": "property_string",
      "title": "Create a string property definition",
      "topics": [
        "property_string"
      ]
    },
    {
      "page": "read",
      "title": "Read a JSON-RPC response from a client provider",
      "topics": [
        "read"
      ]
    },
    {
      "page": "register_mcpr_tools",
      "title": "Register MCPR tools with an ellmer chat",
      "topics": [
        "register_mcpr_tools"
      ]
    },
    {
      "page": "resources_list",
      "title": "List all available resources",
      "topics": [
        "resources_list"
      ]
    },
    {
      "page": "resources_read",
      "title": "Read a resource with the given parameters",
      "topics": [
        "resources_read"
      ]
    },
    {
      "page": "response",
      "title": "Create a response object",
      "topics": [
        "response",
        "response_audio",
        "response_error",
        "response_file",
        "response_image",
        "response_item",
        "response_resource",
        "response_text",
        "response_video"
      ]
    },
    {
      "page": "roclet_output.roclet_mcp",
      "title": "Generate MCP server output",
      "topics": [
        "roclet_output.roclet_mcp"
      ]
    },
    {
      "page": "roclet_process.roclet_mcp",
      "title": "Process blocks for MCP roclet",
      "topics": [
        "roclet_process.roclet_mcp"
      ]
    },
    {
      "page": "roxy_tag_parse.roxy_tag_mcp",
      "title": "Parse @mcp tag",
      "topics": [
        "roxy_tag_parse.roxy_tag_mcp"
      ]
    },
    {
      "page": "roxy_tag_parse.roxy_tag_type",
      "title": "Parse @type tag",
      "topics": [
        "roxy_tag_parse.roxy_tag_type"
      ]
    },
    {
      "page": "roxy_tag_rd.roxy_tag_mcp",
      "title": "Roxygen2 tag for @mcp This function is called by Roxygen2 to generate documentation for the @mcp tag",
      "topics": [
        "roxy_tag_rd.roxy_tag_mcp"
      ]
    },
    {
      "page": "roxy_tag_rd.roxy_tag_type",
      "title": "Roxygen2 tag handler for @type This function is called by Roxygen2 to generate documentation for the @type",
      "topics": [
        "roxy_tag_rd.roxy_tag_type"
      ]
    },
    {
      "page": "schema",
      "title": "Create a new input schema",
      "topics": [
        "schema"
      ]
    },
    {
      "page": "serve_http",
      "title": "Serve an MCP server over HTTP using ambiorix",
      "topics": [
        "serve_http"
      ]
    },
    {
      "page": "serve_io",
      "title": "Serve an MCP server using stdin/stdout",
      "topics": [
        "serve_io"
      ]
    },
    {
      "page": "tools_call",
      "title": "Call a tool with the given parameters",
      "topics": [
        "tools_call"
      ]
    },
    {
      "page": "tools_list",
      "title": "List all available tools",
      "topics": [
        "tools_list"
      ]
    },
    {
      "page": "write",
      "title": "Write a JSON-RPC request to a client provider",
      "topics": [
        "write"
      ]
    }
  ],
  "_pkglogo": "https://github.com/devOpifex/mcpr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/devOpifex/mcpr/raw/HEAD/README.md",
  "_rundeps": [
    "yyjsonr"
  ],
  "_vignettes": [
    {
      "source": "get-started.Rmd",
      "filename": "get-started.html",
      "title": "Getting Started with mcpr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a Simple MCP Server",
        "Using Standard Input/Output",
        "Testing the Server",
        "Next Steps"
      ],
      "created": "2025-06-09 10:37:59",
      "modified": "2025-06-10 01:27:49",
      "commits": 3
    },
    {
      "source": "client-integration.Rmd",
      "filename": "client-integration.html",
      "title": "Integrating mcpr with MCP Clients",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating a Simple Math Calculator Server",
        "Registering with MCP Clients",
        "Claude Code",
        "Cursor",
        "OpenAI GPT",
        "LangChain",
        "Conclusion"
      ],
      "created": "2025-06-09 10:37:59",
      "modified": "2025-06-10 01:27:49",
      "commits": 3
    },
    {
      "source": "practical-examples.Rmd",
      "filename": "practical-examples.html",
      "title": "Practical MCP Examples with R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Example 1: Statistical Analysis Tool",
        "Example 2: Data Visualization Resource",
        "Example 3: Natural Language Processing",
        "Example 4: Time Series Forecasting",
        "Example 5: Machine Learning Classification",
        "Running These Examples",
        "Conclusion"
      ],
      "created": "2025-06-09 11:15:02",
      "modified": "2025-06-10 01:27:49",
      "commits": 3
    },
    {
      "source": "client-usage.Rmd",
      "filename": "client-usage.html",
      "title": "Using the MCP Client",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Creating an MCP Client",
        "Connecting to a Local Server Process",
        "Connecting to an HTTP Server",
        "Basic Client Operations",
        "Initializing the Connection",
        "Listing Available Tools",
        "Calling a Tool",
        "Working with Prompts",
        "Working with Resources",
        "Complete Example",
        "Practical Use Cases",
        "Conclusion"
      ],
      "created": "2025-06-10 01:27:49",
      "modified": "2025-06-11 00:07:58",
      "commits": 3
    }
  ],
  "_score": 6.242640797817615,
  "_indexed": true,
  "_nocasepkg": "mcpr",
  "_universes": [
    "devopifex",
    "johncoene"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:10:42.000Z",
      "distro": "resolute",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/ea99be45d47cd94fd89dcb4a81f3413f91c5d6a002e8e19c4321933ba7422675",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:10:40.000Z",
      "distro": "resolute",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/1fabb62ef53bd26b12ad2028c7a1afcf3802b9e73b9863a42251ca43baf6695b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:39:35.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/d02abf577d297bb1d1b87535becc0e5b1e69cc45c012a9ec22f0a60218ef416d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:39:00.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/6137f88bb0d88b0993ab343cf8f98e2bd520ef66a3016e9c869491263373eb08",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:10:58.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/faa3a10969abbca90898bc8a0e97a504e959cc7a1f76d6955616ac401aa71784",
      "status": "success",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:09:48.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/fbe4c6fffa8c63a00712c70109c1a7f8151fbbd9236bf20941d84f58747e8980",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:09:36.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/297256d656e0f04fa8af6878ec68ac138cda7274c1f95bf3faadb02c51539eb4",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.2.9000",
      "date": "2026-07-04T09:09:57.000Z",
      "commit": "b734565e6df0a6fbdd588d5b8892d0779f9a28ca",
      "fileid": "https://r2.ropensci.org/21b81f0a8e36b48759f4eb0312c2ff7491054f948f15684d086a27f8a05d9fab",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/devopifex/actions/runs/28701394022"
    }
  ]
}