From 6a50ecadc264a12611ed30998059883f3c0f6021 Mon Sep 17 00:00:00 2001 From: Al Joslin Date: Sat, 5 Apr 2025 19:34:29 -0400 Subject: [PATCH 1/4] read_graph takes no args --- src/memory/index.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/memory/index.ts b/src/memory/index.ts index 62f7aeb66e..1f078c5420 100644 --- a/src/memory/index.ts +++ b/src/memory/index.ts @@ -376,6 +376,10 @@ server.setRequestHandler(ListToolsRequestSchema, async () => { server.setRequestHandler(CallToolRequestSchema, async (request) => { const { name, arguments: args } = request.params; + if (name === "read_graph") { + return { content: [{ type: "text", text: JSON.stringify(await knowledgeGraphManager.readGraph(), null, 2) }] }; + } + if (!args) { throw new Error(`No arguments provided for tool: ${name}`); } @@ -396,8 +400,6 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => { case "delete_relations": await knowledgeGraphManager.deleteRelations(args.relations as Relation[]); return { content: [{ type: "text", text: "Relations deleted successfully" }] }; - case "read_graph": - return { content: [{ type: "text", text: JSON.stringify(await knowledgeGraphManager.readGraph(), null, 2) }] }; case "search_nodes": return { content: [{ type: "text", text: JSON.stringify(await knowledgeGraphManager.searchNodes(args.query as string), null, 2) }] }; case "open_nodes": From 4b9e32d179647c22caba9f1551a69fbe7ac17bda Mon Sep 17 00:00:00 2001 From: Al Joslin Date: Sat, 5 Apr 2025 19:52:28 -0400 Subject: [PATCH 2/4] explains how not to get confused --- src/memory/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/memory/README.md b/src/memory/README.md index e5795cb54e..1d496a2aac 100644 --- a/src/memory/README.md +++ b/src/memory/README.md @@ -221,6 +221,8 @@ Docker: docker build -t mcp/memory -f src/memory/Dockerfile . ``` +Note: when upgrading a combination of docker usage and a docker volume for storage, delete the previous index.js file from the old docker volume before starting the new container so this new index.js is not overwritten. + ## License This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository. From 045b15a6149d01e3370409da580be9b206384a20 Mon Sep 17 00:00:00 2001 From: Al Joslin Date: Sat, 5 Apr 2025 19:55:36 -0400 Subject: [PATCH 3/4] maybe AI makes more sense --- src/memory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/memory/README.md b/src/memory/README.md index 1d496a2aac..928680c9cf 100644 --- a/src/memory/README.md +++ b/src/memory/README.md @@ -221,7 +221,7 @@ Docker: docker build -t mcp/memory -f src/memory/Dockerfile . ``` -Note: when upgrading a combination of docker usage and a docker volume for storage, delete the previous index.js file from the old docker volume before starting the new container so this new index.js is not overwritten. +For Awareness: a prior mcp/memory volume contains an index.js file that could be overwritten by the new container. If you are using a docker volume for storage, delete the old docker volume's `index.js` file before starting the new container. ## License From dcd814fd2aa23335b0a36bffae776304502170c0 Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sat, 12 Apr 2025 16:39:38 +0900 Subject: [PATCH 4/4] [Doc] Use the official spelling of "TypeScript" in README This PR replaces all instances of "Typescript" with the official capitalization "TypeScript". The term is spelled "TypeScript" in the linked document. Revert "[Doc] Use the official spelling of "TypeScript" in README" This reverts commit 97db4264802aab50ecb456e1b289f93e439af485. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 57ac8cc7ee..4b01ad9627 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ Official integrations are maintained by companies building production ready MCP - BrowserStack Logo **[BrowserStack](https://github.com/browserstack/mcp-server)** - Access BrowserStack's [Test Platform](https://www.browserstack.com/test-platform) to debug, write and fix tests, do accessibility testing and more. - Bucket **[Bucket](https://github.com/bucketco/bucket-javascript-sdk/tree/main/packages/cli#model-context-protocol)** - Flag features, manage company data, and control feature access using [Bucket](https://bucket.co) - Buildkite Logo **[Buildkite](https://github.com/buildkite/buildkite-mcp-server)** - Exposing Buildkite data (pipelines, builds, jobs, tests) to AI tooling and editors. -- Buildable Logo**[Buildable](https://github.com/chunkydotdev/bldbl-mcp)** (Typescript) - Official MCP server for Buildable AI-powered development platform. Enables AI assistants to manage tasks, track progress, get project context, and collaborate with humans on software projects. +- Buildable Logo**[Buildable](https://github.com/chunkydotdev/bldbl-mcp)** (TypeScript) - Official MCP server for Buildable AI-powered development platform. Enables AI assistants to manage tasks, track progress, get project context, and collaborate with humans on software projects. - BuiltWith Logo **[BuiltWith](https://github.com/builtwith/mcp)** - Identify the technology stack behind any website. - PortSwigger Logo **[Burp Suite](https://github.com/PortSwigger/mcp-server)** - MCP Server extension allowing AI clients to connect to [Burp Suite](https://portswigger.net) - Campertunity Logo **[Campertunity](https://github.com/campertunity/mcp-server)** - Search campgrounds around the world on campertunity, check availability, and provide booking links. @@ -1067,17 +1067,17 @@ These are high-level frameworks that make it easier to build MCP servers or clie * **[Foxy Contexts](https://github.com/strowk/foxy-contexts)** – A library to build MCP servers in Golang by **[strowk](https://github.com/strowk)** * **[Higress MCP Server Hosting](https://github.com/alibaba/higress/tree/main/plugins/wasm-go/mcp-servers)** - A solution for hosting MCP Servers by extending the API Gateway (based on Envoy) with wasm plugins. * **[MCP Declarative Java SDK](https://github.com/codeboyzhou/mcp-declarative-java-sdk)** Annotation-driven MCP servers development with Java, no Spring Framework Required, minimize dependencies as much as possible. -* **[MCP-Framework](https://mcp-framework.com)** Build MCP servers with elegance and speed in Typescript. Comes with a CLI to create your project with `mcp create app`. Get started with your first server in under 5 minutes by **[Alex Andru](https://github.com/QuantGeekDev)** +* **[MCP-Framework](https://mcp-framework.com)** Build MCP servers with elegance and speed in TypeScript. Comes with a CLI to create your project with `mcp create app`. Get started with your first server in under 5 minutes by **[Alex Andru](https://github.com/QuantGeekDev)** * **[MCP Plexus](https://github.com/Super-I-Tech/mcp_plexus)**: A secure, **multi-tenant** and Multi-user MCP python server framework built to integrate easily with external services via OAuth 2.1, offering scalable and robust solutions for managing complex AI applications. * **[mcp_sse (Elixir)](https://github.com/kEND/mcp_sse)** An SSE implementation in Elixir for rapidly creating MCP servers. -* **[Next.js MCP Server Template](https://github.com/vercel-labs/mcp-for-next.js)** (Typescript) - A starter Next.js project that uses the MCP Adapter to allow MCP clients to connect and access resources. +* **[Next.js MCP Server Template](https://github.com/vercel-labs/mcp-for-next.js)** (TypeScript) - A starter Next.js project that uses the MCP Adapter to allow MCP clients to connect and access resources. * **[Quarkus MCP Server SDK](https://github.com/quarkiverse/quarkus-mcp-server)** (Java) - **[R mcptools](https://github.com/posit-dev/mcptools)** - An R SDK for creating R-based MCP servers and retrieving functionality from third-party MCP servers as R functions. * **[SAP ABAP MCP Server SDK](https://github.com/abap-ai/mcp)** - Build SAP ABAP based MCP servers. ABAP 7.52 based with 7.02 downport; runs on R/3 & S/4HANA on-premises, currently not cloud-ready. * **[Spring AI MCP Server](https://docs.spring.io/spring-ai/reference/api/mcp/mcp-server-boot-starter-docs.html)** - Provides auto-configuration for setting up an MCP server in Spring Boot applications. * **[Template MCP Server](https://github.com/mcpdotdirect/template-mcp-server)** - A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure * **[AgentR Universal MCP SDK](https://github.com/universal-mcp/universal-mcp)** - A python SDK to build MCP Servers with inbuilt credential management by **[Agentr](https://agentr.dev/home)** -* **[Vercel MCP Adapter](https://github.com/vercel/mcp-adapter)** (Typescript) - A simple package to start serving an MCP server on most major JS meta-frameworks including Next, Nuxt, Svelte, and more. +* **[Vercel MCP Adapter](https://github.com/vercel/mcp-adapter)** (TypeScript) - A simple package to start serving an MCP server on most major JS meta-frameworks including Next, Nuxt, Svelte, and more. * **[Hermes MCP](https://github.com/cloudwalk/hermes-mcp)** (Elixir) - A high-performance and high-level Model Context Protocol (MCP) implementation in Elixir. Think like "Live View" for MCP. @@ -1143,7 +1143,7 @@ Additional resources on MCP. ## 🚀 Getting Started ### Using MCP Servers in this Repository -Typescript-based servers in this repository can be used directly with `npx`. +TypeScript-based servers in this repository can be used directly with `npx`. For example, this will start the [Memory](src/memory) server: ```sh