Skip to content

Commit b8254dd

Browse files
authored
Merge branch 'main' into patch-1
2 parents 369cd25 + ddffd23 commit b8254dd

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,23 @@ These servers aim to demonstrate MCP features and the TypeScript and Python SDKs
3838

3939
Official integrations are maintained by companies building production ready MCP servers for their platforms.
4040

41+
- <img height="12" width="12" src="https://www.21st.dev/favicon.ico" alt="21st.dev Logo" /> **[21st.dev Magic](https://github.com/21st-dev/magic-mcp)** - Create crafted UI components inspired by the best 21st.dev design engineers.
4142
- <img height="12" width="12" src="https://apify.com/favicon.ico" alt="Apify Logo" /> **[Apify](https://github.com/apify/actors-mcp-server)** - [Actors MCP Server](https://apify.com/apify/actors-mcp-server): Use 3,000+ pre-built cloud tools to extract data from websites, e-commerce, social media, search engines, maps, and more
4243
- <img height="12" width="12" src="https://axiom.co/favicon.ico" alt="Axiom Logo" /> **[Axiom](https://github.com/axiomhq/mcp-server-axiom)** - Query and analyze your Axiom logs, traces, and all other event data in natural language
4344
- <img height="12" width="12" src="https://browserbase.com/favicon.ico" alt="Browserbase Logo" /> **[Browserbase](https://github.com/browserbase/mcp-server-browserbase)** - Automate browser interactions in the cloud (e.g. web navigation, data extraction, form filling, and more)
4445
- <img height="12" width="12" src="https://cdn.simpleicons.org/cloudflare" /> **[Cloudflare](https://github.com/cloudflare/mcp-server-cloudflare)** - Deploy, configure & interrogate your resources on the Cloudflare developer platform (e.g. Workers/KV/R2/D1)
4546
- <img height="12" width="12" src="https://e2b.dev/favicon.ico" alt="E2B Logo" /> **[E2B](https://github.com/e2b-dev/mcp-server)** - Run code in secure sandboxes hosted by [E2B](https://e2b.dev)
4647
- <img height="12" width="12" src="https://esignatures.com/favicon.ico" alt="eSignatures Logo" /> **[eSignatures](https://github.com/esignaturescom/mcp-server-esignatures)** - Contract and template management for drafting, reviewing, and sending binding contracts.
4748
- <img height="12" width="12" src="https://exa.ai/images/favicon-32x32.png" alt="Exa Logo" /> **[Exa](https://github.com/exa-labs/exa-mcp-server)** - Search Engine made for AIs by [Exa](https://exa.ai)
49+
- <img height="12" width="12" src="https://firecrawl.dev/favicon.ico" alt="Firecrawl Logo" /> **[Firecrawl](https://github.com/mendableai/firecrawl-mcp-server)** - Extract web data with [Firecrawl](https://firecrawl.dev)
4850
- <img height="12" width="12" src="https://fireproof.storage/favicon.ico" alt="Fireproof Logo" /> **[Fireproof](https://github.com/fireproof-storage/mcp-database-server)** - Immutable ledger database with live synchronization
4951
- <img height="12" width="12" src="https://grafana.com/favicon.ico" alt="Grafana Logo" /> **[Grafana](https://github.com/grafana/mcp-grafana)** - Search dashboards, investigate incidents and query datasources in your Grafana instance
5052
- **[IBM wxflows](https://github.com/IBM/wxflows/tree/main/examples/mcp/javascript)** - Tool platform by IBM to build, test and deploy tools for any data source
5153
- <img height="12" width="12" src="https://integration.app/favicon.ico" alt="Integration App Icon" /> **[Integration App](https://github.com/integration-app/mcp-server)** - Interact with any other SaaS applications on behalf of your customers.
5254
- <img height="12" width="12" src="https://cdn.simpleicons.org/jetbrains" /> **[JetBrains](https://github.com/JetBrains/mcp-jetbrains)** – Work on your code with JetBrains IDEs
5355
- <img height="12" width="12" src="https://kagi.com/favicon.ico" alt="Kagi Logo" /> **[Kagi Search](https://github.com/kagisearch/kagimcp)** - Search the web using Kagi's search API
5456
- <img height="12" width="12" src="https://langfuse.com/favicon.ico" alt="Langfuse Logo" /> **[Langfuse Prompt Management](https://github.com/langfuse/mcp-server-langfuse)** - Open-source tool for collaborative editing, versioning, evaluating, and releasing prompts.
57+
- <img height="12" width="12" src="https://lingo.dev/favicon.ico" alt="Lingo.dev Logo" /> **[Lingo.dev](https://github.com/lingodotdev/lingo.dev/blob/main/mcp.md)** - Make your AI agent speak every language on the planet, using [Lingo.dev](https://lingo.dev) Localization Engine.
5558
- <img height="12" width="12" src="https://www.meilisearch.com/favicon.ico" alt="Meilisearch Logo" /> **[Meilisearch](https://github.com/meilisearch/meilisearch-mcp)** - Interact & query with Meilisearch (Full-text & semantic search API)
5659
- <img height="12" width="12" src="https://metoro.io/static/images/logos/Metoro.svg" /> **[Metoro](https://github.com/metoro-io/metoro-mcp-server)** - Query and interact with kubernetes environments monitored by Metoro
5760
- <img height="12" width="12" src="https://www.motherduck.com/favicon.ico" alt="MotherDuck Logo" /> **[MotherDuck](https://github.com/motherduckdb/mcp-server-motherduck)** - Query and analyze data with MotherDuck and local DuckDB
@@ -150,6 +153,7 @@ A growing set of community-developed and maintained servers demonstrates various
150153
- **[Markdownify](https://github.com/zcaceres/mcp-markdownify-server)** - MCP to convert almost anything to Markdown (PPTX, HTML, PDF, Youtube Transcripts and more)
151154
- **[Minima](https://github.com/dmayboroda/minima)** - MCP server for RAG on local files
152155
- **[MongoDB](https://github.com/kiliczsh/mcp-mongo-server)** - A Model Context Protocol Server for MongoDB.
156+
- **[Monday.com](https://github.com/sakce/mcp-server-monday)** - MCP Server to interact with Monday.com boards and items.
153157
- **[MySQL](https://github.com/benborla/mcp-server-mysql)** (by benborla) - MySQL database integration in NodeJS with configurable access controls and schema inspection
154158
- **[MySQL](https://github.com/designcomputer/mysql_mcp_server)** (by DesignComputer) - MySQL database integration in Python with configurable access controls and schema inspection
155159
- **[NS Travel Information](https://github.com/r-huijts/ns-mcp-server)** - Access Dutch Railways (NS) real-time train travel information and disruptions through the official NS API.

src/everything/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,24 @@ This MCP server attempts to exercise all the features of the MCP protocol. It is
4545
- No inputs required
4646
- Returns: JSON string of all environment variables
4747

48+
7. `annotatedMessage`
49+
- Demonstrates how annotations can be used to provide metadata about content
50+
- Inputs:
51+
- `messageType` (enum: "error" | "success" | "debug"): Type of message to demonstrate different annotation patterns
52+
- `includeImage` (boolean, default: false): Whether to include an example image
53+
- Returns: Content with varying annotations:
54+
- Error messages: High priority (1.0), visible to both user and assistant
55+
- Success messages: Medium priority (0.7), user-focused
56+
- Debug messages: Low priority (0.3), assistant-focused
57+
- Optional image: Medium priority (0.5), user-focused
58+
- Example annotations:
59+
```json
60+
{
61+
"priority": 1.0,
62+
"audience": ["user", "assistant"]
63+
}
64+
```
65+
4866
### Resources
4967

5068
The server provides 100 test resources in two formats:

src/everything/everything.ts

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,21 @@ const EXAMPLE_COMPLETIONS = {
6060

6161
const GetTinyImageSchema = z.object({});
6262

63+
const AnnotatedMessageSchema = z.object({
64+
messageType: z.enum(["error", "success", "debug"])
65+
.describe("Type of message to demonstrate different annotation patterns"),
66+
includeImage: z.boolean().default(false)
67+
.describe("Whether to include an example image")
68+
});
69+
6370
enum ToolName {
6471
ECHO = "echo",
6572
ADD = "add",
6673
LONG_RUNNING_OPERATION = "longRunningOperation",
6774
PRINT_ENV = "printEnv",
6875
SAMPLE_LLM = "sampleLLM",
6976
GET_TINY_IMAGE = "getTinyImage",
77+
ANNOTATED_MESSAGE = "annotatedMessage",
7078
}
7179

7280
enum PromptName {
@@ -329,6 +337,11 @@ export const createServer = () => {
329337
description: "Returns the MCP_TINY_IMAGE",
330338
inputSchema: zodToJsonSchema(GetTinyImageSchema) as ToolInput,
331339
},
340+
{
341+
name: ToolName.ANNOTATED_MESSAGE,
342+
description: "Demonstrates how annotations can be used to provide metadata about content",
343+
inputSchema: zodToJsonSchema(AnnotatedMessageSchema) as ToolInput,
344+
},
332345
];
333346

334347
return { tools };
@@ -436,6 +449,57 @@ export const createServer = () => {
436449
};
437450
}
438451

452+
if (name === ToolName.ANNOTATED_MESSAGE) {
453+
const { messageType, includeImage } = AnnotatedMessageSchema.parse(args);
454+
455+
const content = [];
456+
457+
// Main message with different priorities/audiences based on type
458+
if (messageType === "error") {
459+
content.push({
460+
type: "text",
461+
text: "Error: Operation failed",
462+
annotations: {
463+
priority: 1.0, // Errors are highest priority
464+
audience: ["user", "assistant"] // Both need to know about errors
465+
}
466+
});
467+
} else if (messageType === "success") {
468+
content.push({
469+
type: "text",
470+
text: "Operation completed successfully",
471+
annotations: {
472+
priority: 0.7, // Success messages are important but not critical
473+
audience: ["user"] // Success mainly for user consumption
474+
}
475+
});
476+
} else if (messageType === "debug") {
477+
content.push({
478+
type: "text",
479+
text: "Debug: Cache hit ratio 0.95, latency 150ms",
480+
annotations: {
481+
priority: 0.3, // Debug info is low priority
482+
audience: ["assistant"] // Technical details for assistant
483+
}
484+
});
485+
}
486+
487+
// Optional image with its own annotations
488+
if (includeImage) {
489+
content.push({
490+
type: "image",
491+
data: MCP_TINY_IMAGE,
492+
mimeType: "image/png",
493+
annotations: {
494+
priority: 0.5,
495+
audience: ["user"] // Images primarily for user visualization
496+
}
497+
});
498+
}
499+
500+
return { content };
501+
}
502+
439503
throw new Error(`Unknown tool: ${name}`);
440504
});
441505

0 commit comments

Comments
 (0)