Skip to content

Comments

Add MCP URL to system prompt for server introspection#12

Merged
evantahler merged 1 commit intomainfrom
evantahler/mcp-url-in-prompt
Feb 18, 2026
Merged

Add MCP URL to system prompt for server introspection#12
evantahler merged 1 commit intomainfrom
evantahler/mcp-url-in-prompt

Conversation

@evantahler
Copy link
Contributor

The agent now knows what MCP server it's connected to by including the Arcade gateway URL in its system prompt. This enables introspection capabilities and better context awareness of available tools.

When an MCP server URL is configured, a "## MCP Server" section is added to the agent's instructions with the gateway URL. This allows the agent to understand its connection context without relying on external knowledge.

The agent now knows what MCP server it's connected to by including the Arcade gateway URL in its system prompt. This enables introspection capabilities and better context awareness of available tools.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@evantahler evantahler merged commit 1d90c85 into main Feb 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant