Commit Graph

12 Commits

Author SHA1 Message Date
cliffhall
b8ecbe79de Adjust intervals for outgoing demo messages
- subscription updates: 10 seconds
- logging messages: 20 seconds
- stderr messages: 30 seconds
2025-04-15 10:52:34 -04:00
cliffhall
41fa29e21b Fix formatting 2025-04-14 17:32:33 -04:00
cliffhall
9655d471f7 Add periodic stderr messages.
In everything.ts
- add a 10 second interval for sending 'notifications/stderr' messages to the client

This was created in order to test the display and clearing of stderr messages in the client.
- see https://github.com/modelcontextprotocol/inspector/pull/286
2025-04-14 17:13:11 -04:00
Ashwin Bhat
26ae300622 Add resource reference support to MCP server
- Add new tool 'getResourceReference' that returns embedded resources
- Add new prompt 'resource_prompt' demonstrating embedded resources in prompts
- Update documentation with new tool and prompt details
- Create CLAUDE.md with development guidelines

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-01 17:47:07 -07:00
cliffhall
0f0ed351cb Respect log level setting by client
* This fixes #868
* In everything.ts
  - import LoggingLevel from sdk
  - add log messages for all levels
  - add isMessageIgnored function that checks the incoming level against the logLevel and returns false if it is a lower index than the logLevel
  - in the setInterval for sending dummy logs, only send the message if it is not ignored by the logLevel.
2025-03-15 16:45:03 -04:00
cliffhall
2ba960ca13 In the Inspector, log messages from the server were not being displayed.
https://github.com/modelcontextprotocol/inspector/issues/184

The user who created the issue provided a python test server to send dummy messages, but I expected that the 'everything server' would be exercising this capability, but it wasn't. So I decided to add that functionality at the same time as fixing the inspector.

In src/everything/everything.ts
 - add logsUpdateInterval
 - use setInterval to send a random-leveled log message every 15 seconds
2025-03-13 15:23:52 -04:00
Ola Hungerford
19b701baa3 Add annotated message example 2025-02-14 20:39:55 -07:00
TerminalMan
ae0197e374 fix sampling 2025-01-08 20:16:10 +00:00
David Soria Parra
ea35591902 Merge pull request #370 from modelcontextprotocol/ashwin/everythingcompletions
add completion examples to everything server
2024-12-19 19:38:39 +00:00
Jerome
e198e36788 Added printenv to the everything server to help debug environment variable configuration 2024-12-18 15:14:45 +00:00
Ashwin Bhat
1eca8f8626 add completion examples to everything server 2024-12-17 14:43:55 -08:00
Justin Spahr-Summers
37415258b9 Initial commit 2024-11-19 13:29:12 +00:00