Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
add system message
Sushmithamallesh934b18264201
diff --git a/fern/snippets/mcp/python/anthropic-client.py b/fern/snippets/mcp/python/anthropic-client.pyindex 235074be8..e273a513f 100644--- a/fern/snippets/mcp/python/anthropic-client.py+++ b/fern/snippets/mcp/python/anthropic-client.py@@ -9,6 +9,7 @@ mcp_server_url = "https://backend.composio.dev/v3/mcp/YOUR_SERVER_ID?include_com# Use MCP with Anthropic (beta feature)response = client.beta.messages.create(model="claude-sonnet-4-5",+ system="You are a helpful assistant with access to various tools through MCP. Use these tools to help the user. Do not ask for confirmation before using the tools.",max_tokens=1000,messages=[{"role": "user",diff --git a/fern/snippets/mcp/python/anthropic-provider.py b/fern/snippets/mcp/python/anthropic-provider.pyindex ce1c5511d..0b278e486 100644--- a/fern/snippets/mcp/python/anthropic-provider.py+++ b/fern/snippets/mcp/python/anthropic-provider.py@@ -21,6 +21,7 @@ instance = server.generate("[email protected]")# Use MCP with Anthropic to manage development workflowresponse = anthropic.beta.messages.create(model="claude-sonnet-4-5",+ system="You are a helpful assistant with access to GitHub and Linear tools. Use these tools to help manage development workflows. Do not ask for confirmation before using the tools.",max_tokens=1000,messages=[{"role": "user",diff --git a/fern/snippets/mcp/typescript/anthropic-provider.ts b/fern/snippets/mcp/typescript/anthropic-provider.tsindex 8d6afdf8b..36ea228d9 100644--- a/fern/snippets/mcp/typescript/anthropic-provider.ts+++ b/fern/snippets/mcp/typescript/anthropic-provider.ts@@ -24,6 +24,7 @@ const instance = await server.generate("[email protected]");// Use MCP with Anthropic for spreadsheet operationsconst response = await anthropic.beta.messages.create({model: "claude-sonnet-4-5",+ system: "You are a helpful assistant with access to Google Sheets tools. Use these tools to analyze and manage spreadsheet data. Do not ask for confirmation before using the tools.",max_tokens: 1000,messages: [{role: "user",