Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
add system message
Sushmithamallesh committed
Oct 12, 2025 at 21:38 UTC
934b182642019ac7553ce3f128d36fd9b7f24429
3 files changed
+3
fern/snippets/mcp/python/anthropic-client.py
+1
@@ -9,6 +9,7 @@ mcp_server_url = "https://backend.composio.dev/v3/mcp/YOUR_SERVER_ID?include_com
9
# Use MCP with Anthropic (beta feature)
10
response = client.beta.messages.create(
11
model="claude-sonnet-4-5",
12
+ 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.",
13
max_tokens=1000,
14
messages=[{
15
"role": "user",
fern/snippets/mcp/python/anthropic-provider.py
+1
@@ -21,6 +21,7 @@ instance = server.generate("user@example.com")
21
# Use MCP with Anthropic to manage development workflow
22
response = anthropic.beta.messages.create(
23
model="claude-sonnet-4-5",
24
+ 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.",
25
max_tokens=1000,
26
messages=[{
27
"role": "user",
fern/snippets/mcp/typescript/anthropic-provider.ts
+1
@@ -24,6 +24,7 @@ const instance = await server.generate("user@example.com");
24
// Use MCP with Anthropic for spreadsheet operations
25
const response = await anthropic.beta.messages.create({
26
model: "claude-sonnet-4-5",
27
+ 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.",
28
max_tokens: 1000,
29
messages: [{
30
role: "user",