create_challenge

Challenge another player

Server Lichess Integration karayaman/lichess-mcp
Category Write
Risk class Medium
Parameters 70 required

What create_challenge does on Lichess Integration

AI agents use create_challenge to create or update resources in Lichess Integration — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Lichess Integration environment.

ParameterTypeRequiredDescription
fen string Custom initial position in FEN format
days number Days per turn for correspondence games
clock object Clock settings
color string Color to play
rated boolean Whether the game is rated
variant string Game variant
username string Username of the player to challenge

Parameters from the server's own tool schema.

Why create_challenge needs a policy

This tool creates a new chess challenge, which is a reversible write operation. It generates a new game invitation/state in the Lichess platform without permanently destroying data or executing arbitrary code. The impact is limited to the game context and can be undone by canceling the challenge. No financial transactions or destructive operations are involved.

From the tool's definition Tool creates a new challenge (creates data), described as 'Challenge another player'. The sibling tools like 'accept_challenge', 'cancel_challenge', and 'claim_victory' confirm this server manages game state changes.

Questions about create_challenge

What does the create_challenge tool do? +

Challenge another player. It is categorised as a Write tool in the Lichess Integration MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does create_challenge accept? +

create_challenge accepts 7 parameters: fen, days, clock, color, rated, variant, username. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on create_challenge? +

Register the Lichess Integration MCP server in PolicyLayer and add a rule for create_challenge: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Lichess Integration. Nothing to install.

What risk level is create_challenge? +

create_challenge is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit create_challenge? +

Yes. Add a rate_limit block to the create_challenge rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block create_challenge completely? +

Set action: deny in the PolicyLayer policy for create_challenge. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides create_challenge? +

create_challenge is provided by the Lichess Integration MCP server (karayaman/lichess-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.