涛专用

songtao8/sog
Hosted
0 Stars 11 次浏览 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "fetch": {
      "args": [
        "-y",
        "@modelcontextprotocol/server-fetch"
      ],
      "command": "npx"
    },
    "github": {
      "args": [
        "-y",
        "@modelcontextprotocol/server-github"
      ],
      "command": "npx",
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "your_github_token_here"
      }
    },
    "memory": {
      "args": [
        "-y",
        "@modelcontextprotocol/server-memory"
      ],
      "command": "npx"
    },
    "postgres": {
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres"
      ],
      "command": "npx",
      "env": {
        "POSTGRES_CONNECTION_STRING": "postgresql://user:password@localhost:5432/dbname"
      }
    }
  }
}

可用工具 (26 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

create_or_update_file 7 个参数 需填 6 项

Create or update a single file in a GitHub repository

必填参数:owner、repo、path、content、message、branch

search_repositories 3 个参数 需填 1 项

Search for GitHub repositories

必填参数:query

create_repository 4 个参数 需填 1 项

Create a new GitHub repository in your account

必填参数:name

get_file_contents 4 个参数 需填 3 项

Get the contents of a file or directory from a GitHub repository

必填参数:owner、repo、path

push_files 5 个参数 需填 5 项

Push multiple files to a GitHub repository in a single commit

必填参数:owner、repo、branch、files、message

create_issue 7 个参数 需填 3 项

Create a new issue in a GitHub repository

必填参数:owner、repo、title

create_pull_request 8 个参数 需填 5 项

Create a new pull request in a GitHub repository

必填参数:owner、repo、title、head、base

fork_repository 3 个参数 需填 2 项

Fork a GitHub repository to your account or specified organization

必填参数:owner、repo

create_branch 4 个参数 需填 3 项

Create a new branch in a GitHub repository

必填参数:owner、repo、branch

list_commits 5 个参数 需填 2 项

Get list of commits of a branch in a GitHub repository

必填参数:owner、repo

list_issues 9 个参数 需填 2 项

List issues in a GitHub repository with filtering options

必填参数:owner、repo

update_issue 9 个参数 需填 3 项

Update an existing issue in a GitHub repository

必填参数:owner、repo、issue_number

add_issue_comment 4 个参数 需填 4 项

Add a comment to an existing issue

必填参数:owner、repo、issue_number、body

search_code 4 个参数 需填 1 项

Search for code across GitHub repositories

必填参数:q

search_issues 5 个参数 需填 1 项

Search for issues and pull requests across GitHub repositories

必填参数:q

search_users 5 个参数 需填 1 项

Search for users on GitHub

必填参数:q

get_issue 3 个参数 需填 3 项

Get details of a specific issue in a GitHub repository.

必填参数:owner、repo、issue_number

get_pull_request 3 个参数 需填 3 项

Get details of a specific pull request

必填参数:owner、repo、pull_number

list_pull_requests 9 个参数 需填 2 项

List and filter repository pull requests

必填参数:owner、repo

create_pull_request_review 7 个参数 需填 5 项

Create a review on a pull request

必填参数:owner、repo、pull_number、body、event

merge_pull_request 6 个参数 需填 3 项

Merge a pull request

必填参数:owner、repo、pull_number

get_pull_request_files 3 个参数 需填 3 项

Get the list of files changed in a pull request

必填参数:owner、repo、pull_number

get_pull_request_status 3 个参数 需填 3 项

Get the combined status of all status checks for a pull request

必填参数:owner、repo、pull_number

update_pull_request_branch 4 个参数 需填 3 项

Update a pull request branch with the latest changes from the base branch

必填参数:owner、repo、pull_number

get_pull_request_comments 3 个参数 需填 3 项

Get the review comments on a pull request

必填参数:owner、repo、pull_number

get_pull_request_reviews 3 个参数 需填 3 项

Get the reviews on a pull request

必填参数:owner、repo、pull_number

服务介绍

看起来您可能忘记附上需要翻译的英文技术文档内容了。请提供具体的文档文本,以便我能够帮助您进行翻译。

相关 MCP 服务