Skip to content

Latest commit

 

History

History

server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

MCP-Server

Let LLM-functions tools/agents be used through the Model Context Protocol.

Serve tools

{
  "mcpServers": {
    "tools": {
      "command": "npx",
      "args": [
        "mcp-llm-functions",
        "<llm-functions-dir>"
      ]
    }
  }
}

Serve the agent

{
  "mcpServers": {
    "<agent-name>": {
      "command": "node",
      "args": [
        "mcp-llm-functions",
        "<llm-functions-dir>"
        "<agent-name>",
      ]
    }
  }
}

Environment Variables

  • AGENT_TOOLS_ONLY: Set to true or 1 to ignore shared tools and display only agent tools.