Skip to content

Latest commit

 

History

History

mcp_agent_server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

MCP Server example

To use in claude desktop, insert the following in claude_desktop_config.json and restart the Claude Desktop client.

{
    "mcpServers": {
        "mcp-agent": {
            "command": "uv",
            "args": [
                "--directory",
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER",
                "run",
                "server.py"
            ]
        }
    }
}

Warning

You may need to put the full path to the uv executable in the command field. You can get this by running which uv on MacOS/Linux or where uv on Windows.

Image

To use the MCP server with a client:

uv run client.py server.py