Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM python:3.11-slim

WORKDIR /app

COPY . .

RUN pip install requests
RUN pip install python-dotenv
RUN pip install mcp

CMD ["python", "-u", "server.py"]
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ This is a simple read-only [Model Context Protocol](https://modelcontextprotocol
> What Cisco devices are in my network?
```

## Docker

You can use the container like this

("netbox-mcp", ["python3", "server.py", "--oneshot"], "tools/discover", "tools/call"),

And it will discover the tools and be able to use the tools automatically

## Development

Contributions are welcome! Please open an issue or submit a PR.
Expand Down
Loading