Skip to content

Commit 06c8983

Browse files
Docs: mcp update, uv in dockerfile template (#1284)
* Add uv dockerfile template * Update MCP page
1 parent 5369da3 commit 06c8983

21 files changed

Lines changed: 59 additions & 64 deletions

File tree

docs/5.advanced/8.mcp.md

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ description: "MCP is an open protocol that standardizes how applications provide
1414
- Custom tools can be implemented for project-specific functionality
1515
::
1616

17-
::banner{type="warning"}
18-
**You are early!**
19-
20-
<br>
21-
22-
MCP is a relatively recent technology, so many tools might not work as expected. Consult the [Known issues](#known-issues) section for more information and open the ticket in [GitHub issues](https://github.com/dipdup-io/dipdup/issues) if you encounter any problems.
23-
::
24-
2517
## Introduction
2618

2719
The **Model Context Protocol** (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
@@ -67,8 +59,6 @@ The DipDup MCP server can be connected to various MCP-compatible clients. Here's
6759
6860
### VSCode (Copilot)
6961
70-
Support for MCP is available since [1.99 release](https://code.visualstudio.com/updates/v1_99) (March 2025) of VSCode.
71-
7262
See [Use agent mode in VS Code](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode) page.
7363
7464
Add the following definition to the `.vscode/mcp.json` file:
@@ -115,13 +105,7 @@ If your server is running, but Cursor doesn't connect, try "Reload Window" in th
115105

116106
### Claude Desktop
117107

118-
[Claude Desktop](https://claude.ai/download) currently only supports stdio-based MCP servers. You can use [supercorp-ai/supergateway](https://github.com/supercorp-ai/supergateway) tool to connect DipDup MCP server to Claude Desktop:
119-
120-
```shell [Terminal]
121-
pnpx supergateway --sse http://127.0.0.1:9999
122-
```
123-
124-
There is also [lightconetech/mcp-gateway](https://github.com/lightconetech/mcp-gateway) tool available for the same purpose.
108+
See the page in official [Claude Desktop documentation](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp) to configure MCP.
125109

126110
## Implementing MCP primitives
127111

@@ -233,14 +217,6 @@ logging:
233217
'': DEBUG
234218
```
235219

236-
## Known issues
237-
238-
- **Claude Desktop** doesn't support SSE-based MCP servers; gateway tools are required.
239-
- **Cursor** fails to discover resources exposed by DipDup server. Tools work fine. (0.47.8 tested)
240-
- **DipDup** doesn't support custom prompts at the moment.
241-
- **DipDup** `mcp run` command doesn't exit gracefully on SIGINT.
242-
- **VSCode** doesn't support MCP resources and prompts yet.
243-
244220
## Further reading
245221

246222
- [For Server Developers - Model Context Protocol](https://modelcontextprotocol.io/quickstart/server) - Official guide for implementing MCP servers.

src/demo_blank/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_blank"]

src/demo_evm_events/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_evm_events"]

src/demo_evm_transactions/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_evm_transactions"]

src/demo_evm_uniswap/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_evm_uniswap"]

src/demo_starknet_events/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_starknet_events"]

src/demo_substrate_events/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_substrate_events"]

src/demo_tezos_auction/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_tezos_auction"]

src/demo_tezos_dao/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_tezos_dao"]

src/demo_tezos_dex/deploy/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ FROM dipdup/dipdup:8
55
# FROM ghcr.io/dipdup-io/dipdup:8
66
# FROM ghcr.io/dipdup-io/dipdup:next
77

8-
#### Uncomment lines below if your project requires additional dependencies
8+
#### Uncomment lines below if your project requires additional dependencies
9+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
910
# COPY --chown=dipdup pyproject.toml README.md .
10-
# RUN pip install .
11+
# RUN uv pip install .
1112

1213
#### Uncomment if you have implemented a custom CLI command (see Services in docs)
1314
# ENTRYPOINT ["python", "-m", "demo_tezos_dex"]

0 commit comments

Comments
 (0)