JS

jodobear/sparcaroo

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

22 stars 3 forks 품질 47 트렌드 10

Roo-Code Agents & MCP Setup

개요

All thanks to Pablof7z who made this setup and gave the workshop at SEC. Roo Code is an autonomous open-source AI agent designed to code, debug, and evolve software systems with minimal human input. Its like cursor, but unleashed. It is extremely customizable and here we are going to get it OVER 9000!. The following setup is to have roocode, (github) better agentic capabilities even for complex projects and augment it with MCP to provide domain specific context. 1. Install roo-code if you don't have it yet, following official documentation or if you have VSCode, download from Extensions. 3. Clone the mcp-code repo anywhere you want and follow its instructions to build it. This is our MCP server built for Nostr. 4. Install cursor-tools from their github) (not strictly necessary). This is for the feedback loop using gemini for the code generated for evaluation. 4. Get an API key from any of your LLM providers, OpenRouter, PPQ.

README

원문 README의 일부입니다. 원문 보기.

Roo-Code Agents & MCP Setup

Credit

All thanks to Pablof7z who made this setup and gave the workshop at SEC.

Introduction

Roo Code is an autonomous open-source AI agent designed to code, debug, and evolve software systems with minimal human input. Its like cursor, but unleashed. It is extremely customizable and here we are going to get it OVER 9000!.

The following setup is to have roocode, (github) better agentic capabilities even for complex projects and augment it with MCP to provide domain specific context.

Prerequisites

  1. Install roo-code if you don’t have it yet, following official documentation or if you have VSCode, download from Extensions.

  2. Clone this repo.

  3. Clone the mcp-code repo anywhere you want and follow its instructions to build it. This is our MCP server built for Nostr.

  4. Install cursor-tools from their github (not strictly necessary). This is for the feedback loop using gemini for the code generated for evaluation.

  5. Get an API key from any of your LLM providers, OpenRouter, PPQ.ai(accepts lightning) are good ones that allow you to use many of the latest LLMs

Info on files

  • .roomodes: Has all the info on all the different modes(agents) we have configured in SPARC.
  • .cursorrules: Has the rules for cursor-tools

Steps

  1. Create a test project directory & copy all the files (incl dotfiles) from the settings directory in to your test project directory.

  2. Start VSCode with roocode installed.

  3. Go in to Settings & setup your API keys & endpoints.

  4. Once you get out of roocode settings and look under the chat section, you should see the SPARC Agents:

  5. Connect to your mcp-code MCP server by clicking the MCP server icon and Edit Project MCP and adding the following:

{
  "mcpServers": {
    "mcp-code": {
      "command": "",
      "args": [
        "mcp"
      ],
      "alwaysAllow": [
        "find_snippets",
        "find_user",
        "list_usernames",
        "fetch_snippet_by_id",
        "publish-new-code-snippet",
        "wallet_balance",
        "deposit",
        "zap",
        "create_pubkey"
      ],
      "disabled": false
    }
  }
}

Usage

We are fully setup to test our setup. We will do a comparative test.

Open another instance of VSCode with roocode in a vanilla-test-roo project directory that doesn’t have these config files and no MCP server setup.

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "mcp-code": { "command": "<FULL/PATH/TO/mcp-code>", "args": [ "mcp" ], "alwaysAllow": [ "find_snippets", "find_user", "list_usernames", "fetch_snippet_by_id", "publish-new-code-snippet", "wallet_balance", "deposit", "zap", "create_pubkey" ], "disabled": false } } }