Updated package.json and ran prettier
This commit is contained in:
parent
919b2e0138
commit
a235ed8016
9 changed files with 24 additions and 14 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server – Architecture
|
# Everything Server – Architecture
|
||||||
|
|
||||||
**Architecture
|
**Architecture
|
||||||
| [Project Structure](structure.md)
|
| [Project Structure](structure.md)
|
||||||
| [Startup Process](startup.md)
|
| [Startup Process](startup.md)
|
||||||
|
|
@ -12,14 +13,17 @@ It explains how the server starts, how transports are wired, where tools, prompt
|
||||||
## High‑level Overview
|
## High‑level Overview
|
||||||
|
|
||||||
### Purpose
|
### Purpose
|
||||||
|
|
||||||
A minimal, modular MCP server showcasing core Model Context Protocol features. It exposes simple tools, prompts, and resources, and can be run over multiple transports (STDIO, SSE, and Streamable HTTP).
|
A minimal, modular MCP server showcasing core Model Context Protocol features. It exposes simple tools, prompts, and resources, and can be run over multiple transports (STDIO, SSE, and Streamable HTTP).
|
||||||
|
|
||||||
### Design
|
### Design
|
||||||
|
|
||||||
A small “server factory” constructs the MCP server and registers features.
|
A small “server factory” constructs the MCP server and registers features.
|
||||||
Transports are separate entry points that create/connect the server and handle network concerns.
|
Transports are separate entry points that create/connect the server and handle network concerns.
|
||||||
Tools, prompts, and resources are organized in their own submodules.
|
Tools, prompts, and resources are organized in their own submodules.
|
||||||
|
|
||||||
### Multi‑client
|
### Multi‑client
|
||||||
|
|
||||||
The server supports multiple concurrent clients. Tracking per session data is demonstrated with
|
The server supports multiple concurrent clients. Tracking per session data is demonstrated with
|
||||||
resource subscriptions and simulated logging.
|
resource subscriptions and simulated logging.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server - Extension Points
|
# Everything Server - Extension Points
|
||||||
|
|
||||||
**[Architecture](architecture.md)
|
**[Architecture](architecture.md)
|
||||||
| [Project Structure](structure.md)
|
| [Project Structure](structure.md)
|
||||||
| [Startup Process](startup.md)
|
| [Startup Process](startup.md)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server - Features
|
# Everything Server - Features
|
||||||
|
|
||||||
**[Architecture](architecture.md)
|
**[Architecture](architecture.md)
|
||||||
| [Project Structure](structure.md)
|
| [Project Structure](structure.md)
|
||||||
| [Startup Process](startup.md)
|
| [Startup Process](startup.md)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server - How It Works
|
# Everything Server - How It Works
|
||||||
|
|
||||||
**[Architecture](architecture.md)
|
**[Architecture](architecture.md)
|
||||||
| [Project Structure](structure.md)
|
| [Project Structure](structure.md)
|
||||||
| [Startup Process](startup.md)
|
| [Startup Process](startup.md)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server – LLM Instructions
|
# Everything Server – LLM Instructions
|
||||||
|
|
||||||
**[Architecture](architecture.md) | [Project Structure](structure.md) | [Startup Process](startup.md) | [Server Features](features.md) | [Extension Points](extension.md) | [How It Works](how-it-works.md)**
|
**[Architecture](architecture.md) | [Project Structure](structure.md) | [Startup Process](startup.md) | [Server Features](features.md) | [Extension Points](extension.md) | [How It Works](how-it-works.md)**
|
||||||
|
|
||||||
Audience: These instructions are written for an LLM or autonomous agent integrating with the Everything MCP Server. Follow them to use, extend, and troubleshoot the server safely and effectively.
|
Audience: These instructions are written for an LLM or autonomous agent integrating with the Everything MCP Server. Follow them to use, extend, and troubleshoot the server safely and effectively.
|
||||||
|
|
@ -10,10 +11,11 @@ Date: 2025-12-13
|
||||||
You are speaking MCP. Always prefer discovering server capabilities dynamically and follow the MCP spec. The Everything server exposes prompts, tools, resources, logging, and subscriptions. It may run over `stdio`, SSE (deprecated), or Streamable HTTP.
|
You are speaking MCP. Always prefer discovering server capabilities dynamically and follow the MCP spec. The Everything server exposes prompts, tools, resources, logging, and subscriptions. It may run over `stdio`, SSE (deprecated), or Streamable HTTP.
|
||||||
|
|
||||||
Discover features:
|
Discover features:
|
||||||
- Prompts: `prompts/list` → then `prompts/get` with `name` and `arguments`.
|
|
||||||
- Tools: `tools/list` → then call tools via `tools/call` with validated params.
|
- Prompts: `prompts/list` → then `prompts/get` with `name` and `arguments`.
|
||||||
- Resources: `resources/list` → then `resources/read { uri }`.
|
- Tools: `tools/list` → then call tools via `tools/call` with validated params.
|
||||||
- Logging: `logging/setLevel`set desired log level if supported by your client SDK; otherwise just read logs returned by tool/prompts as content parts.
|
- Resources: `resources/list` → then `resources/read { uri }`.
|
||||||
|
- Logging: `logging/setLevel`set desired log level if supported by your client SDK; otherwise just read logs returned by tool/prompts as content parts.
|
||||||
|
|
||||||
Behavioral guidelines:
|
Behavioral guidelines:
|
||||||
|
|
||||||
|
|
@ -21,7 +23,6 @@ Behavioral guidelines:
|
||||||
- Prefer idempotent reads first (resources, prompts) before mutating via tools.
|
- Prefer idempotent reads first (resources, prompts) before mutating via tools.
|
||||||
- If the server provides instructions in the initialize result (this document), follow them over any prior assumptions.
|
- If the server provides instructions in the initialize result (this document), follow them over any prior assumptions.
|
||||||
|
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
When things don’t work, follow this checklist before making code changes.
|
When things don’t work, follow this checklist before making code changes.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server - Startup Process
|
# Everything Server - Startup Process
|
||||||
|
|
||||||
**[Architecture](architecture.md)
|
**[Architecture](architecture.md)
|
||||||
| [Project Structure](structure.md)
|
| [Project Structure](structure.md)
|
||||||
| Startup Process
|
| Startup Process
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
# Everything Server - Project Structure
|
# Everything Server - Project Structure
|
||||||
|
|
||||||
**[Architecture](architecture.md)
|
**[Architecture](architecture.md)
|
||||||
| Project Structure
|
| Project Structure
|
||||||
| [Startup Process](startup.md)
|
| [Startup Process](startup.md)
|
||||||
|
|
|
||||||
|
|
@ -25,8 +25,8 @@
|
||||||
"start:stdio": "node dist/index.js stdio",
|
"start:stdio": "node dist/index.js stdio",
|
||||||
"start:sse": "node dist/index.js sse",
|
"start:sse": "node dist/index.js sse",
|
||||||
"start:streamableHttp": "node dist/index.js streamableHttp",
|
"start:streamableHttp": "node dist/index.js streamableHttp",
|
||||||
"prettier-fix": "prettier --write .",
|
"prettier:fix": "prettier --write .",
|
||||||
"prettier-check": "prettier --check ."
|
"prettier:check": "prettier --check ."
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@modelcontextprotocol/sdk": "^1.24.3",
|
"@modelcontextprotocol/sdk": "^1.24.3",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue