File tree Expand file tree Collapse file tree 2 files changed +15
-9
lines changed
Expand file tree Collapse file tree 2 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -16,22 +16,28 @@ An MCP (Model Context Protocol) server that provides code interpretation capabil
1616
1717## Installation
1818
19- ``` bash
20- pip install -e " .[dev]"
19+ ``` console
20+ $ pip install -e " .[dev]"
2121```
2222
2323## Usage
24+ You'll first need to set up a Google Cloud Function that can execute code. The server will handle requests to this function. In this repo, run it with
25+
26+ ``` console
27+ $ uv run python deploy_gcf.py
28+ ```
29+
2430
2531### As an MCP Server
2632
27- ``` bash
28- python main.py
33+ ``` console
34+ $ python main.py
2935```
3036
3137### Running Tests
3238
33- ``` bash
34- pytest
39+ ``` console
40+ $ pytest
3541```
3642
3743### Testing with the MCP Inspector
@@ -52,8 +58,8 @@ npx @modelcontextprotocol/inspector@0.11.0 \
5258
5359Set the ` GCF_URL ` environment variable to use an existing Cloud Function, otherwise the server will attempt to deploy one automatically.
5460
55- ``` bash
56- export GCF_URL=" https://region-project.cloudfunctions.net/code-interpreter"
61+ ``` console
62+ $ export GCF_URL=" https://region-project.cloudfunctions.net/code-interpreter"
5763```
5864
5965## Architecture
Original file line number Diff line number Diff line change 22theme : minima
33title : Code MCP
44description : MCP server for code interpretation via Google Cloud Functions
5- show_downloads : true
5+ show_downloads : true
You can’t perform that action at this time.
0 commit comments