Skip to content

Commit 055e11a

Browse files
committed
Set up Github Pages
1 parent 30e7fd6 commit 055e11a

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff 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

5359
Set 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

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
theme: minima
33
title: Code MCP
44
description: MCP server for code interpretation via Google Cloud Functions
5-
show_downloads: true
5+
show_downloads: true

0 commit comments

Comments
 (0)