Skip to main content
Connect a client, verify the workspace, and make your first read request.

Before you begin

You need access to a 1eye workspace, an active API key for that workspace, and a client that supports Streamable HTTP MCP servers with custom authentication headers. To create a key, open Developers → API Keys in 1eye. Copy the full value when it is created and store it securely. See API Keys for key management.

Connect your client

Use https://mcp.1eye.ai/mcp as the server URL. Replace YOUR_1EYE_API_KEY with your key when using a literal-value example.
Run:
--scope user makes the connection available across your projects. The command saves the configured header in Claude Code’s configuration, so protect that configuration and your shell history.Verify the entry:
In Claude Code, open /mcp to inspect the live connection. For environment variable references and other setup options, see the Claude Code MCP guide.
Environment variables: A variable set in a terminal is available to processes launched from that terminal. A desktop app that is already running may not inherit it. Configure the variable for the actual client process, or use that client’s supported secret or header helper mechanism.

Connect a custom agent

Use a maintained MCP client SDK with a Streamable HTTP transport. Configure the server URL and Bearer header, and let the SDK handle protocol compatibility and transport details. Discover the live catalog with tools/list, then invoke a tool with tools/call, supplying its name and arguments according to the returned inputSchema. The JSON examples in this documentation show tool arguments, not complete protocol messages or standalone HTTP request bodies. Use the live catalog as the source of truth when tools change. See the MCP tool specification for protocol details.

Verify the connection

Ask your assistant:
The assistant should call get_workspace with {} and return the expected workspace. This verifies authentication, workspace selection, and an actual tool call. If the workspace is unexpected, check which workspace owns the key. A workspace ID is not a tool argument.
To ask about activity instead:
See workflows for the difference between these searches. If tools do not appear or authentication fails, use troubleshooting.