Skip to content

Commit 9ef8ce7

Browse files
committed
Sync open source content 🐝 (from 46a4bb2eb4171914034cf6d0d3e225280706ecb1)
1 parent cbd4613 commit 9ef8ce7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mcp/building-servers/building-fastapi-server.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ This guide will compare two approaches to building an MCP server for a [FastAPI]
2828

2929
## Requirements
3030

31-
Let's build an MCP server using the [APItizing Burgers example app](https://github.com/speakeasy-api/examples/tree/main/fastmcp-speakeasy-project/base).
31+
Let's build an MCP server using the [APItizing Burgers example app](https://github.com/speakeasy-api/examples/tree/main/framework-fastapi).
3232

3333
Clone the project with the following command:
3434

3535
```bash
3636
git clone https://github.com/speakeasy-api/examples
37-
cd examples/fastmcp-speakeasy-project/base
37+
cd examples/framework-fastapi
3838
```
3939

4040
To make the setup easier, use the `uv` environment manager. You can use any Python environment creation tool.
@@ -133,7 +133,7 @@ The configuration won't work just yet. Let's have a look at the `claude-desktop-
133133
"fastmcp",
134134
"fastmcp",
135135
"run",
136-
"path/to/project/fastmcp-speakeasy-project/base/app/mcp_server.py"
136+
"path/to/project/framework-fastapi/app/mcp_server.py"
137137
]
138138
}
139139
}
@@ -155,10 +155,10 @@ The `--with` option lets you specify the dependencies to use when running the fi
155155
"fastapi[all]",
156156
"fastmcp",
157157
"run",
158-
"path/to/project/fastmcp-speakeasy-project/base/app/mcp_server.py"
158+
"path/to/project/framework-fastapi/app/mcp_server.py"
159159
],
160160
"env": {
161-
"PYTHONPATH": "path/to/project/fastmcp-speakeasy-project/base/"
161+
"PYTHONPATH": "path/to/project/framework-fastapi/"
162162
}
163163
}
164164
}

0 commit comments

Comments
 (0)