https://www.gravatar.com/avatar/979efca361291427edcb2f49c1f5e68d?s=240&d=mp

StarGazer

如何从零开始构建简单的MCP

link_to_page 简介 这是一篇介绍如何从零开始构建 MCP server 的简单说明。本说明由三部分组成:UV 介绍、代码开发和部署。 UV 简介 UV是一个基于 rust 的 Python 软件包和项目管理器

how to build a simple mcp tool server from scratch

link_to_page Pre-assumption This guide assumes that readers are familiar with Linux or MacOS command line interface (CLI) and what is a MCP server. Brief introduction This guide shows how to build a MCP server from scratch. This note is composed by three parts: UV introduction, Code development, and deployment. UV introduction UV is a rust based Python package and project manager. There are no differences between UV and other managers except UV is very fast.

黑客与画家

hacking is a kind of art 也许是读了上一本《禅与摩托车维修艺术》之后对这些书产生了 PTSD,起初并没有对这本书有多上心。但是在读完了之后,我发现我的 PTSD 被治

禅与摩托车维修艺术

这是一场亲子之间的公路旅行,也是一个对自己的探索。更是一个如何“维修摩托车”的手册吗? 这是一本双线发展的书。在公路旅行的过程中,作者不断与儿

A story of debugging

Introduction We’ve been experiencing an application crash on the QNX platform, which initially seemed like a common occurrence since core dumps happens. However, this issue is different. After the crash, we’re unable to enter engineering mode, making it impossible to use SSH to retrieve the core file. Furthermore, the crash occurs near the application start, leaving no time to enter engineering mode when the system boots up. This page serves to document how I’ve dealt with this issue, which is perhaps my proudest achievement so far at the new company.

Bazel Learning notes

For installation and code sample, plz refer to official documents。 Project Structure Typically, a simple bazel-based project looks like the following file structure. 1 2 3 4 5 6 my_cpp_project/ ├── WORKSPACE ├── BUILD └── src ├── main.cc └── BUILD In this project, there are files we need to know: a WORKSPACE file: In this project, if self-contained, we can leave it as blank. We could discuss it in the later future.