+
Skip to content

jordyv/configurable-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configurable MCP

Installation

go install github.com/jordyv/configurable-mcp/cmd/configurable-mcp@latest

Configuration

Tools

You can define tools for the MCP dynamically in the config.yaml file. For example:

tools:
  - name: get_my_username
    description: Get the username of the current logged in user
    command: whoami

  - name: read_file
    description: Read the content of a file in a folder
    command: cat
    arguments: [ "{{.file}}" ]
    properties:
      folder:
        type: string
      file:
        type: string
    required_properties: [ folder, file ]

Arguments support Golang's template syntax and template variables are replaced with the value of properties. So {{.file}} in the example above will be replaced by the file parameter passed to the tool by the model.

About

Model Context Provider with YAML configuration for tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载